Issue #742 closed
Dima Oliynyk
created an issue

It looks like they changed their site once again and the parser doesn't recognize the streams anymore.

Comments (12)

  1. Dima Oliynyk reporter

    Log:

    20160626 13:45:58 - [DEBUG   ] - jsonhelper.py        - 66   - Parsing JSON using: json-2.0.9
    20160626 13:45:58 - [DEBUG   ] - channelinfo.py       - 222  - Found 1 channels and 0 settings
    20160626 13:45:58 - [DEBUG   ] - channelimporter.py   - 762  - Loading: RTBF [be, National, 79569D55-6298-402A-8AF0-A16955EA052F] (Order: #be.0014)
    20160626 13:45:58 - [INFO    ] - chn_class.py         - 52   - Initializing channel (__init__): RTBF [be, National, 79569D55-6298-402A-8AF0-A16955EA052F] (Order: #be.0014)
    20160626 13:45:58 - [DEBUG   ] - addonsettings.py     - 514  - No proxy configured for RTBF [be, National, 79569D55-6298-402A-8AF0-A16955EA052F] (Order: #be.0014)
    20160626 13:45:58 - [DEBUG   ] - cached.py            - 78   - Resolved cached texture for 'rtbficon.png' to '/storage/.kodi/userdata/addon_data/net.rieter.xot/textures/net.rieter.xot.channel.be.rtbf/rtbficon.png'
    20160626 13:45:58 - [DEBUG   ] - cached.py            - 78   - Resolved cached texture for 'rtbffanart.png' to '/storage/.kodi/userdata/addon_data/net.rieter.xot/textures/net.rieter.xot.channel.be.rtbf/rtbffanart.png'
    20160626 13:45:58 - [DEBUG   ] - chn_class.py         - 144  - Initializing channel (InitChannel): RTBF [be, National, 79569D55-6298-402A-8AF0-A16955EA052F] (Order: 14)
    20160626 13:45:58 - [DEBUG   ] - cached.py            - 78   - Resolved cached texture for 'rtbfimage.png' to '/storage/.kodi/userdata/addon_data/net.rieter.xot/textures/net.rieter.xot.channel.be.rtbf/rtbfimage.png'
    20160626 13:45:58 - [DEBUG   ] - chn_class.py         - 884  - No login required of RTBF
    20160626 13:45:58 - [INFO    ] - plugin.py            - 177  - Loaded: RTBF
    20160626 13:45:58 - [INFO    ] - plugin.py            - 382  - Plugin::ProcessFolderList Doing ProcessFolderList
    20160626 13:45:58 - [DEBUG   ] - plugin.py            - 390  - Stopwatch :: Set (Plugin ProcessFolderList): 1466941558.39
    20160626 13:45:58 - [INFO    ] - urihandler.py        - 453  - Opening requested uri: https://www.rtbf.be/auvio/direct/ (callback=False, timeout=30)
    20160626 13:45:58 - [DEBUG   ] - urihandler.py        - 763  - Adding header 'Accept-Encoding: gzip, deflate'
    20160626 13:45:58 - [DEBUG   ] - cachehttphandler.py  - 61   - CacheHttpHandler :: HTTP request for url: 'https://www.rtbf.be/auvio/direct/'
    20160626 13:45:58 - [DEBUG   ] - cachehttphandler.py  - 80   - CacheHttpHandler :: Found a CachedHttpResponse with status 200 (OK) for https://www.rtbf.be/auvio/direct/
    20160626 13:45:58 - [DEBUG   ] - cachehttphandler.py  - 80   - + Cache-Parameters: {}
    20160626 13:45:58 - [DEBUG   ] - cachebase.py         - 209  - CacheBase :: Verifying that the cache is not expired.
    20160626 13:45:58 - [DEBUG   ] - filecache.py         - 140  - FileCache :: 2016-06-26 12:54:41 (2016-06-26 13:54:41) vs 2016-06-26 13:45:58.406047
    20160626 13:45:58 - [DEBUG   ] - cachehttphandler.py  - 84   - CacheHttpHandler :: Cache-Hit
    20160626 13:45:58 - [DEBUG   ] - urihandler.py        - 794  - Nothing to decompress. Content-encoding: 'none'
    20160626 13:45:58 - [DEBUG   ] - cachehttphandler.py  - 117  - CacheHttpHandler :: Processing HTTP response
    20160626 13:45:58 - [DEBUG   ] - cachehttphandler.py  - 127  - CacheHttpHandler :: This response came from the cache! No further processing needed.
    20160626 13:45:58 - [DEBUG   ] - urihandler.py        - 470  - Determining number of bytes to fetch
    20160626 13:45:58 - [DEBUG   ] - urihandler.py        - 474  - ByteSize is known (fileSize=9442)
    20160626 13:45:58 - [INFO    ] - urihandler.py        - 543  - Url https://www.rtbf.be/auvio/direct/ was opened successfully
    20160626 13:45:58 - [DEBUG   ] - urihandler.py        - 286  - Decoding data using charset HTML Header: utf-8
    20160626 13:45:58 - [DEBUG   ] - chn_class.py         - 1180 - Found 1 DataParsers for 'https://www.rtbf.be/auvio/direct/'
    20160626 13:45:58 - [DEBUG   ] - chn_class.py         - 262  - Processing DataParser (Json=False, Generic=False, MatchType=MatchStart):
    20160626 13:45:58 - [DEBUG   ] - chn_class.py         - 262  - | Match:   https://www.rtbf.be/auvio/direct/
    20160626 13:45:58 - [DEBUG   ] - chn_class.py         - 262  - | Pre:     None
    20160626 13:45:58 - [DEBUG   ] - chn_class.py         - 262  - | Parser:  <img[^>]*(?P<thumburl>http[^"]+) \d+w"[^>]*>[\w\W]{0,1000}Maintenant</span> sur (?P<channel>[^>]+)</div>\W*<h3[^>]*>\W*<a[^>]+href="(?P<url>[^"]+=(?P<liveId>\d+))"[^>]+title="(?P<title>[^"]+)
    20160626 13:45:58 - [DEBUG   ] - chn_class.py         - 262  - | Creator: <bound method Channel.CreateVideoItem of <chn_rtbf.Channel instance at 0xaa506030>>
    20160626 13:45:58 - [DEBUG   ] - chn_class.py         - 262  - + Updater: None
    20160626 13:45:58 - [DEBUG   ] - chn_class.py         - 272  - Processing DataParser.Parser
    20160626 13:45:58 - [DEBUG   ] - chn_class.py         - 293  - Processing DataParser.Creator for 0 items
    20160626 13:45:58 - [DEBUG   ] - plugin.py            - 392  - Stopwatch :: Lap (Plugin ProcessFolderList) Class ProcessFolderList finished: elapsed since start: 46.5400218964 ms (delta +46.5400218964 ms)
    20160626 13:45:58 - [WARNING ] - plugin.py            - 395  - ProcessFolderList returned 0 items
    

    Example of a new "item":

    <article class="col-xs-12  rtbf-media-item rtbf-media-item--live js-livecenter-live" data-id="61534" data-category="9" data-begin="2016-06-26T13:43:00+02:00" data-end="2016-06-26T14:56:00+02:00">
        <figure class="www-media www-media--left">
            <figcaption class="sr-only">Moto GP</figcaption>
            <div class="www-img-16by9">
                <img srcset="https://ssl-ds.static.rtbf.be/media/program/image/ng_89ea00472f4cab4233cf-324x183.jpg 168w,https://ssl-ds.static.rtbf.be/media/program/image/ng_89ea00472f4cab4233cf-324x183@2x.jpg 324w,https://ssl-ds.static.rtbf.be/media/program/image/ng_89ea00472f4cab4233cf-original.jpg 648w" sizes="(min-width: 1200px) calc(1200px/4), (min-width: 768px) 25vw, 50vw" src="https://ssl-www.static.rtbf.be/news/common/images/16x9.gif" alt="Moto GP" title="Moto GP" class="img-responsive www-img-full   lazyloaded" data-sizes="(min-width: 1200px) calc(1200px/4), (min-width: 768px) 25vw, 50vw" data-srcset="https://ssl-ds.static.rtbf.be/media/program/image/ng_89ea00472f4cab4233cf-324x183.jpg 168w,https://ssl-ds.static.rtbf.be/media/program/image/ng_89ea00472f4cab4233cf-324x183@2x.jpg 324w,https://ssl-ds.static.rtbf.be/media/program/image/ng_89ea00472f4cab4233cf-original.jpg 648w">
            </div>
            <span class="www-media-type www-media-type--xs">
    
                 <i class="ico ico-play"></i>
    
    
            </span>
        </figure>
        <header class="rtbf-media-item__header">
            <div class="rtbf-media-item__channel">
                 <i class="www-flag www-flag--be"></i>
                 <span data-date-w3c="2016-06-26T13:43:00+02:00" class="www-live--label js-time">Maintenant</span> La Deux
            </div>
    
            <h3 class="rtbf-media-item__title">
                <a href="https://www.rtbf.be/auvio/direct_moto-gp?lid=61534" title="Moto GP">Moto GP</a>
            </h3>
             <h4 class="rtbf-media-item__subtitle">Assen</h4>
    
             <div class="www-live-bar www-live-bar--bottom">
                <span class="www-live-bar__empty">
                    <span class="www-live-bar__hour www-live-bar__hour-begin">
                        13h43
                    </span>
                    <span class="www-live-bar__current js-livecenter-live-progress" style="width: 57%;"></span>
                    <span class="www-live-bar__hour www-live-bar__hour-end">
                        14h56
                    </span>
                </span>
            </div>
    
        </header>
        <a href="https://www.rtbf.be/auvio/direct_moto-gp?lid=61534" title="Moto GP" class="www-faux-link"></a>
    </article>
    
  2. Dima Oliynyk reporter

    Update 2: maybe it wouldn't work at all. I assume that for some streams they use some kind of security: When I try to play rtsp://rtmp.rtbf.be/livecast/stream7 in VLC, it works (URL of Purevision), however when I try to play rtsp://rtmp.rtbf.be/livecast/fcladeuxl3, it just says "VLC is unable to open the MRL".

    In browser it works though. So no actual clue what's wrong, but it might need deeper debugging. Nonetheless, the regex should be changed for a future update so at least it shows the streams.

  3. Dima Oliynyk reporter

    It works, currently all live streams are working perfectly. Thanks.

    PS: I noticed a few "wrong" entries in the list, but after disabling HTTP caching it was gone.

  4. Bas Rieter repo owner

    Added: SVT Play live indicator to videos that are live at the moment (Fixes #741) Added: SVT Play now shows sXXeXX if Season and Episode data is present Fixed: RTBF live streams broke due to HLS switch (Fixes #742)

    → <<cset 5e292707fd0c>>

  5. Log in to comment