Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output file not being produced (Android) #1

Open
Mabs- opened this issue Dec 9, 2014 · 3 comments
Open

Output file not being produced (Android) #1

Mabs- opened this issue Dec 9, 2014 · 3 comments

Comments

@Mabs-
Copy link

Mabs- commented Dec 9, 2014

Using the service.pvrtools on an Android BOX.
When trying to merge two simple .m3u lists and with all settings correctly introduced. NOT using EPG to merge but ONLY local .m3u lists. The ouput list never is created.

The given solution (thx) was to manually verify and create this folder "download_folder" inside this path:
"/files/.xbmc/userdata/addon_data/service.pvrtools/"
In my box there were a file with that exact name and no folder.
After file deletion and manually creating that folder. The problem was gone and the output file perfectly created.

@Kuki77
Copy link

Kuki77 commented Jan 20, 2015

I have the same problem here on the Amazon Fire TV. No merged output file is created.
I'll give it a try, like described in your workaround.

EDIT:
No, the folder exists here. So there is another reason for that problem.

But what's the reason? :(

@enen92
Copy link
Owner

enen92 commented Jan 20, 2015

Provide a debug log

@Octopussy76
Copy link

I have exactly the same issue.
This is the debug log with the error on my iPad.
Probably the with statement is the problem. My best bet is the multiple "with" is not supported on Python 2.6.
Hope you fix it because this service is really usefull.
Thanks.

DEBUG_LOG:
20:10:40 T:150265856 NOTICE: Starting m3u8 list processing...
20:10:40 T:150798336 NOTICE: starting download... http://wownet.ro/iptv/
20:10:40 T:151330816 NOTICE: starting download... http://192.168.1.101:8000/torrenttv/playlist.m3u
20:10:40 T:150798336 ERROR: Exception in thread list1:
Traceback (most recent call last):
File "/Users/Shared/jenkins/workspace/IOS-ATV2/tools/depends/xbmc-depends/iphoneos8.1_armv7-target/lib/python2.6/threading.py", line 532, in __bootstrap_inner
File "/Users/Shared/jenkins/workspace/IOS-ATV2/tools/depends/xbmc-depends/iphoneos8.1_armv7-target/lib/python2.6/threading.py", line 484, in run
File "/var/mobile/Library/Preferences/Kodi/addons/service.pvrtools-master/lib/common_variables.py", line 24, in download_and_extract
with open(os.path.join(datapath,'download_folder',name.split('/')[-1]), 'wb') as f:
IOError: [Errno 21] Is a directory: u'/var/mobile/Library/Preferences/Kodi/userdata/addon_data/service.pvrtools/download_folder/'
20:10:40 T:151330816 NOTICE: download finished...http://192.168.1.101:8000/torrenttv/playlist.m3u
20:10:40 T:151330816 NOTICE: elapsed time:0.335144042969
20:10:41 T:150265856 NOTICE: Starting m3u8 list merging...
20:10:41 T:150265856 NOTICE: M3u8 lists have been merged...
20:10:49 T:142512128 NOTICE: PVRManager - stopping
20:10:49 T:142512128 NOTICE: PVRManager - starting up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants