Bug XBMC.Extract
#13
(2017-12-21, 23:14)spiff Wrote:
Code:
import xbmcvfs
import urllib

path = urllib.quote_plus('/home/akva/sample.rar')

(dirs, files) = xbmcvfs.listdir('archive://%s' % (path))
src = 'archive://' + path + '/' + files[0]
dest = '/tmp/' + files[0]
print('copy %s to %s' %(src, dest))
xbmcvfs.copy(src, dest)

works just fine for me. 

Thanks!
I see now that I was missing the RAR filename in the src parameter

But it didn't worked with the 'archive' protocol.
Had to change to rar or zip based on the file extension

But this is not a problem for my scenario

Thanks again!
Reply


Messages In This Thread
XBMC.Extract - by L0RE - 2017-10-30, 23:28
RE: XBMC.Extract - by spiff - 2017-10-31, 08:26
XBMC.Extract - by Martijn - 2017-10-31, 08:36
RE: XBMC.Extract - by L0RE - 2017-11-01, 22:52
RE: XBMC.Extract - by spiff - 2017-11-02, 00:42
RE: XBMC.Extract - by zachmorris - 2017-11-02, 03:16
RE: XBMC.Extract - by spiff - 2017-11-02, 14:19
RE: XBMC.Extract - by spiff - 2017-11-02, 19:20
RE: XBMC.Extract - by L0RE - 2017-11-02, 22:50
RE: XBMC.Extract - by henricos - 2017-12-21, 22:30
RE: XBMC.Extract - by spiff - 2017-11-23, 17:58
RE: XBMC.Extract - by spiff - 2017-12-21, 23:14
RE: XBMC.Extract - by henricos - 2017-12-22, 00:23
RE: XBMC.Extract - by spiff - 2017-12-22, 01:51
RE: XBMC.Extract - by henricos - 2017-12-22, 11:45
RE: XBMC.Extract - by fape88 - 2019-08-16, 08:50
RE: XBMC.Extract - by spiff - 2017-12-22, 23:02
RE: XBMC.Extract - by cramm - 2018-03-06, 04:19
RE: XBMC.Extract - by spiff - 2018-03-06, 09:43
RE: XBMC.Extract - by cramm - 2018-03-11, 15:41
RE: XBMC.Extract - by zachmorris - 2018-07-27, 01:22
RE: XBMC.Extract - by garbear - 2018-07-29, 22:12
RE: XBMC.Extract - by spiff - 2018-09-06, 10:56
RE: XBMC.Extract - by garbear - 2018-09-06, 22:40
RE: XBMC.Extract - by zachmorris - 2019-01-03, 23:57
RE: XBMC.Extract - by spiff - 2019-01-06, 08:16
RE: XBMC.Extract - by zachmorris - 2019-01-06, 08:27
RE: XBMC.Extract - by spiff - 2019-01-22, 16:08
RE: XBMC.Extract - by cyriltra - 2019-02-12, 15:59
RE: XBMC.Extract - by helviojr - 2019-02-16, 18:26
RE: XBMC.Extract - by cyriltra - 2019-02-17, 16:00
RE: XBMC.Extract - by zachmorris - 2019-02-21, 01:17
RE: XBMC.Extract - by henricos - 2019-05-12, 15:02
RE: XBMC.Extract - by henricos - 2019-05-15, 03:04
RE: XBMC.Extract - by zachmorris - 2019-05-15, 07:29
RE: XBMC.Extract - by HiGhLaNdeR - 2019-11-07, 03:07
RE: XBMC.Extract - by zachmorris - 2019-11-07, 03:13
RE: XBMC.Extract - by HiGhLaNdeR - 2019-11-07, 12:20
RE: XBMC.Extract - by zachmorris - 2019-11-10, 18:56
RE: XBMC.Extract - by HiGhLaNdeR - 2020-04-10, 11:17
RE: XBMC.Extract - by zachmorris - 2020-04-12, 20:41
RE: XBMC.Extract - by HiGhLaNdeR - 2020-04-13, 10:38
RE: XBMC.Extract - by matthuisman - 2019-07-10, 03:38
RE: XBMC.Extract - by zachmorris - 2019-07-10, 04:44
RE: XBMC.Extract - by malte - 2020-04-13, 13:06
RE: XBMC.Extract - by zachmorris - 2020-04-13, 23:43
RE: XBMC.Extract - by malte - 2020-04-14, 06:28
RE: XBMC.Extract - by bugatsinho - 2020-12-23, 16:09
Logout Mark Read Team Forum Stats Members Help
XBMC.Extract0