Bug 1184732 - Could not parse ivysilani site
Summary: Could not parse ivysilani site
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: ctstream
Version: 22
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL: http://www.ceskatelevize.cz/ivysilani...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-22 07:04 UTC by Martin Swiech
Modified: 2016-04-18 05:53 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
64bit fedora 21
Last Closed: 2015-03-31 14:10:18 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Martin Swiech 2015-01-22 07:04:33 UTC
$ ctstream -v http://www.ceskatelevize.cz/ivysilani/10000000034-divadlo-kampa/
Getting <http://www.ceskatelevize.cz/ivysilani/10000000034-divadlo-kampa/>
XML-RPC header found: <x-addr>
XML-RPC value found: <127.0.0.1>
Getting AJAX script source
<http://imgct.ceskatelevize.cz/global/js/player/ajax-playlist-o2.js?_ts=1421072608>
Posting to SMIL URL generator
<http://www.ceskatelevize.cz/ivysilani/ajax/get-client-playlist>
Posting data to SMIL URL generator:
type,flash,requestSource,iVysilani,requestUrl,/ivysilani/10000000034-divadlo-kampa/,playlist[0][id],215251000300078,playlist[0][type],episode
SMIL URL generator returned:
<{"url":"http:\/\/www.ceskatelevize.cz\/ivysilani\/client-playlist\/?key=4fe04076b67106efae823c86af7fd243"}>
Another layer before M3U URL returned:
===BEGIN OUTPUT===
{"setup":{"title":"\u010cesk\u00e1
televize","description":"","previewImageUrl":"http:\/\/imgct.ceskatelevize.cz\/cache\/w800\/upload\/program\/porady\/10000000034\/foto\/uni_215251000300078.jpg?_ts=1421738776","gemius":{"IDENTIFIER":".RblRK9yUaSfpdgRNj4PSKcVjzMUGk8hdyABykduxPH..7","PREFIX":"scz","HITCOLLECTOR":"http:\/\/scz.hit.gemius.pl"},"vast":{"preRoll":["http:\/\/go.cz.bbelements.com\/please\/showit\/20141\/1\/1\/1\/?typkodu=js&keywords=SIDP%2310000000034;IDEC%23215
251 00030\/0078;IVYSILANI;;VOD;flash;divadlo-kampa -
mala-vizita&bust=2073482647","http:\/\/go.cz.bbelements.com\/please\/showit\/20141\/1\/1\/2\/?typkodu=js&keywords=SIDP%2310000000034;IDEC%23215
251 00030\/0078;IVYSILANI;;VOD;flash;divadlo-kampa -
mala-vizita&bust=2073482647"],"postRoll":["http:\/\/go.cz.bbelements.com\/please\/showit\/20141\/2\/1\/4\/?typkodu=js&keywords=SIDP%2310000000034;IDEC%23215
251 00030\/0078;IVYSILANI;;VOD;flash;divadlo-kampa -
mala-vizita&bust=2073482647"]}},"playlist":[{"type":"VOD","id":"61924494876995830","assetId":"215
251 00030\/0078","title":"Divadlo
Kampa","aspect":"16:9","gemius":{"ID":"215 251
00030\/0078","NAZEV":"divadlo-kampa -
mala-vizita","TYP":"VOD","ZDROJ":"","CIL":"IVYSILANI","KATEGORIE":"042","GA":""},"duration":"5409.0","previewTrackBaseUrl":"http:\/\/80.188.65.19:80\/contentserver\/contents\/61924494876995830\/categories\/preview_track\/","previewImageUrl":"http:\/\/imgct.ceskatelevize.cz\/cache\/w800\/upload\/program\/porady\/10000000034\/foto\/uni_215251000300078.jpg?_ts=1421738776","streamUrls":{"main":"http:\/\/80.188.65.18:80\/cdn\/uri\/get\/?token=654cde1d0b15cac967ff5d564dc42693b3906b4e&contentType=vod&expiry=1421868663&id=61924494876995830&playerType=flash&quality=web&region=1&skipIpAddressCheck=false&userId=c85dce23-c100-4447-b1b0-c18e174c24a9"}}]}
===END OUTPUT===
Getting SMIL playlist
<http://www.ceskatelevize.cz/ivysilani/client-playlist/?key=4fe04076b67106efae823c86af7fd243>
SMIL playlist content:
===BEGIN OUTPUT===
{"setup":{"title":"\u010cesk\u00e1
televize","description":"","previewImageUrl":"http:\/\/imgct.ceskatelevize.cz\/cache\/w800\/upload\/program\/porady\/10000000034\/foto\/uni_215251000300078.jpg?_ts=1421738776","gemius":{"IDENTIFIER":".RblRK9yUaSfpdgRNj4PSKcVjzMUGk8hdyABykduxPH..7","PREFIX":"scz","HITCOLLECTOR":"http:\/\/scz.hit.gemius.pl"},"vast":{"preRoll":["http:\/\/go.cz.bbelements.com\/please\/showit\/20141\/1\/1\/1\/?typkodu=js&keywords=SIDP%2310000000034;IDEC%23215
251 00030\/0078;IVYSILANI;;VOD;flash;divadlo-kampa -
mala-vizita&bust=2073482647","http:\/\/go.cz.bbelements.com\/please\/showit\/20141\/1\/1\/2\/?typkodu=js&keywords=SIDP%2310000000034;IDEC%23215
251 00030\/0078;IVYSILANI;;VOD;flash;divadlo-kampa -
mala-vizita&bust=2073482647"],"postRoll":["http:\/\/go.cz.bbelements.com\/please\/showit\/20141\/2\/1\/4\/?typkodu=js&keywords=SIDP%2310000000034;IDEC%23215
251 00030\/0078;IVYSILANI;;VOD;flash;divadlo-kampa -
mala-vizita&bust=2073482647"]}},"playlist":[{"type":"VOD","id":"61924494876995830","assetId":"215
251 00030\/0078","title":"Divadlo
Kampa","aspect":"16:9","gemius":{"ID":"215 251
00030\/0078","NAZEV":"divadlo-kampa -
mala-vizita","TYP":"VOD","ZDROJ":"","CIL":"IVYSILANI","KATEGORIE":"042","GA":""},"duration":"5409.0","previewTrackBaseUrl":"http:\/\/80.188.65.19:80\/contentserver\/contents\/61924494876995830\/categories\/preview_track\/","previewImageUrl":"http:\/\/imgct.ceskatelevize.cz\/cache\/w800\/upload\/program\/porady\/10000000034\/foto\/uni_215251000300078.jpg?_ts=1421738776","streamUrls":{"main":"http:\/\/80.188.65.18:80\/cdn\/uri\/get\/?token=654cde1d0b15cac967ff5d564dc42693b3906b4e&contentType=vod&expiry=1421868663&id=61924494876995830&playerType=flash&quality=web&region=1&skipIpAddressCheck=false&userId=c85dce23-c100-4447-b1b0-c18e174c24a9"}}]}
===END OUTPUT===
Error while finding stream URLs in SMIL playlist from
<http://www.ceskatelevize.cz/ivysilani/client-playlist/?key=4fe04076b67106efae823c86af7fd243>.
===BEGIN INPUT===
{"setup":{"title":"\u010cesk\u00e1
televize","description":"","previewImageUrl":"http:\/\/imgct.ceskatelevize.cz\/cache\/w800\/upload\/program\/porady\/10000000034\/foto\/uni_215251000300078.jpg?_ts=1421738776","gemius":{"IDENTIFIER":".RblRK9yUaSfpdgRNj4PSKcVjzMUGk8hdyABykduxPH..7","PREFIX":"scz","HITCOLLECTOR":"http:\/\/scz.hit.gemius.pl"},"vast":{"preRoll":["http:\/\/go.cz.bbelements.com\/please\/showit\/20141\/1\/1\/1\/?typkodu=js&keywords=SIDP%2310000000034;IDEC%23215
251 00030\/0078;IVYSILANI;;VOD;flash;divadlo-kampa -
mala-vizita&bust=2073482647","http:\/\/go.cz.bbelements.com\/please\/showit\/20141\/1\/1\/2\/?typkodu=js&keywords=SIDP%2310000000034;IDEC%23215
251 00030\/0078;IVYSILANI;;VOD;flash;divadlo-kampa -
mala-vizita&bust=2073482647"],"postRoll":["http:\/\/go.cz.bbelements.com\/please\/showit\/20141\/2\/1\/4\/?typkodu=js&keywords=SIDP%2310000000034;IDEC%23215
251 00030\/0078;IVYSILANI;;VOD;flash;divadlo-kampa -
mala-vizita&bust=2073482647"]}},"playlist":[{"type":"VOD","id":"61924494876995830","assetId":"215
251 00030\/0078","title":"Divadlo
Kampa","aspect":"16:9","gemius":{"ID":"215 251
00030\/0078","NAZEV":"divadlo-kampa -
mala-vizita","TYP":"VOD","ZDROJ":"","CIL":"IVYSILANI","KATEGORIE":"042","GA":""},"duration":"5409.0","previewTrackBaseUrl":"http:\/\/80.188.65.19:80\/contentserver\/contents\/61924494876995830\/categories\/preview_track\/","previewImageUrl":"http:\/\/imgct.ceskatelevize.cz\/cache\/w800\/upload\/program\/porady\/10000000034\/foto\/uni_215251000300078.jpg?_ts=1421738776","streamUrls":{"main":"http:\/\/80.188.65.18:80\/cdn\/uri\/get\/?token=654cde1d0b15cac967ff5d564dc42693b3906b4e&contentType=vod&expiry=1421868663&id=61924494876995830&playerType=flash&quality=web&region=1&skipIpAddressCheck=false&userId=c85dce23-c100-4447-b1b0-c18e174c24a9"}}]}
===END INPUT===
Reason:
not well-formed (invalid token) at line 1, column 0, byte 0:
{"setup":{"title":"\u010cesk\u00e1
televize","description":"","previewImageUrl":"http:\/\/imgct.ceskatelevize.cz\/cache\/w800\/upload\/program\/porady\/10000000034\/foto\/uni_215251000300078.jpg?_ts=1421738776","gemius":{"IDENTIFIER":".RblRK9yUaSfpdgRNj4PSKcVjzMUGk8hdyABykduxPH..7","PREFIX":"scz","HITCOLLECTOR":"http:\/\/scz.hit.gemius.pl"},"vast":{"preRoll":["http:\/\/go.cz.bbelements.com\/please\/showit\/20141\/1\/1\/1\/?typkodu=js&keywords=SIDP%2310000000034;IDEC%23215
251 00030\/0078;IVYSILANI;;VOD;flash;divadlo-kampa -
mala-vizita&bust=2073482647","http:\/\/go.cz.bbelements.com\/please\/showit\/20141\/1\/1\/2\/?typkodu=js&keywords=SIDP%2310000000034;IDEC%23215
251 00030\/0078;IVYSILANI;;VOD;flash;divadlo-kampa -
mala-vizita&bust=2073482647"],"postRoll":["http:\/\/go.cz.bbelements.com\/please\/showit\/20141\/2\/1\/4\/?typkodu=js&keywords=SIDP%2310000000034;IDEC%23215
251 00030\/0078;IVYSILANI;;VOD;flash;divadlo-kampa -
mala-vizita&bust=2073482647"]}},"playlist":[{"type":"VOD","id":"61924494876995830","assetId":"215
251 00030\/0078","title":"Divadlo
Kampa","aspect":"16:9","gemius":{"ID":"215 251
00030\/0078","NAZEV":"divadlo-kampa -
mala-vizita","TYP":"VOD","ZDROJ":"","CIL":"IVYSILANI","KATEGORIE":"042","GA":""},"duration":"5409.0","previewTrackBaseUrl":"http:\/\/80.188.65.19:80\/contentserver\/contents\/61924494876995830\/categories\/preview_track\/","previewImageUrl":"http:\/\/imgct.ceskatelevize.cz\/cache\/w800\/upload\/program\/porady\/10000000034\/foto\/uni_215251000300078.jpg?_ts=1421738776","streamUrls":{"main":"http:\/\/80.188.65.18:80\/cdn\/uri\/get\/?token=654cde1d0b15cac967ff5d564dc42693b3906b4e&contentType=vod&expiry=1421868663&id=61924494876995830&playerType=flash&quality=web&region=1&skipIpAddressCheck=false&userId=c85dce23-c100-4447-b1b0-c18e174c24a9"}}]}
^
 at /usr/lib64/perl5/vendor_perl/XML/Parser.pm line 187.

Comment 1 Petr Pisar 2015-01-22 08:57:07 UTC
Czech TV (very probably) stopped providing RTMP streams. Please read the changelog in the script. Therefore you have to provide the `-A' option (and other ones, see usage help). Support for the broken RTMP streams will be (very probably) removed from future ctstream versions.

Comment 2 Jaroslav Reznik 2015-03-03 17:07:18 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle.
Changing version to '22'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22


Note You need to log in before you can comment on or make changes to this bug.