enen92 / service.pvrtools

A simple addon to extend kodi iptv simple pvr addon
GNU General Public License v2.0
11 stars 6 forks source link

Output file not being produced (Android) #1

Open Mabs- opened 9 years ago

Mabs- commented 9 years ago

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 commented 9 years ago

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 commented 9 years ago

Provide a debug log

Octopussy76 commented 9 years ago

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