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

Empty lines in playlist #22

Closed
random-robbie opened this issue Nov 25, 2015 · 1 comment
Closed

Empty lines in playlist #22

random-robbie opened this issue Nov 25, 2015 · 1 comment
Labels

Comments

@random-robbie
Copy link

i have a m3u file that has a few points where it is just

#EXTINF:0,[COLOR white]                                                 VOD : PPV REPLAYS                   [/COLOR]
#EXTINF:0,

this causes the addon not to show anything is there any way to get it to ignore the badly formatted sections?

error log shows

2015-11-25 12:54:12,819 (a708) :  DEBUG (runtime:814) - Found route matching /video/IPTV3/listitems
2015-11-25 12:54:12,867 (a708) :  CRITICAL (core:572) - Exception when constructing response (most recent call last):
  File "bundles-release/Framework.bundle-dist/Contents/Resources/Versions/2/Python/Framework/components/runtime.py", line 951, in construct_response
  File "bundles-release/Framework.bundle-dist/Contents/Resources/Versions/2/Python/Framework/api/objectkit.py", line 667, in _to_xml
  File "bundles-release/Framework.bundle-dist/Contents/Resources/Versions/2/Python/Framework/modelling/objects.py", line 382, in _to_xml
  File "bundles-release/Framework.bundle-dist/Contents/Resources/Versions/2/Python/Framework/modelling/objects.py", line 139, in _to_xml
  File "bundles-release/Framework.bundle-dist/Contents/Resources/Versions/2/Python/Framework/modelling/objects.py", line 145, in _append_children
  File "bundles-release/Framework.bundle-dist/Contents/Resources/Versions/2/Python/Framework/api/objectkit.py", line 545, in _to_xml
AttributeException: If no URL is provided, the key and rating_key attributes must be set.

2015-11-25 12:54:12,867 (a708) :  DEBUG (runtime:1027) - Unable to handle response type: <class 'Framework.modelling.objects.MediaContainer'>
2015-11-25 12:54:12,867 (a708) :  DEBUG (runtime:106) - Sending packed state data (106 bytes)
2015-11-25 12:54:12,867 (a708) :  DEBUG (runtime:924) - Response: [500] MediaContainer, 0 bytes
@Cigaras
Copy link
Owner

Cigaras commented Mar 24, 2016

Fixed in version 1.1.2

@Cigaras Cigaras closed this as completed Mar 24, 2016
Cigaras added a commit that referenced this issue Mar 24, 2016
Fixed issue #22
Cigaras added a commit that referenced this issue Mar 24, 2016
Fixed issue [#22](#22)
@Cigaras Cigaras added the Fixed label Mar 7, 2017
@Cigaras Cigaras changed the title handling empty lines that are empty Empty lines in playlist Mar 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants