OnlineVideos 2.8.0.1 [2025/02/16] (27 Viewers)

Kelby

Member
October 23, 2025
12
18
Home Country
Antarctica Antarctica
@doskabouter
I tried with MPUrlSourceSplitter turned off and on and it plays (sometimes in wrong language) but won't play new videos.

I guess that was my problem, I was trying to watch the latest of my subscriptions.
On the language thing, for a brief time last week I got some to play with MPUrlSourceSplitter on and it was happening in that configuration too. I assume it's a yt-dlp issue. At a guess I'd say getting the wrong language with MPUrlSourceSplitter on or off was about one in ten.
 
Last edited:

doskabouter

Development Group
  • Team MediaPortal
  • September 27, 2009
    4,990
    3,711
    Nuenen
    Home Country
    Netherlands Netherlands
    1. That whole language thing is probably a wrong selection of audiochannel by onlinevideos.
      Any reliable example you've got?
    2. Still working on that leftover processes/timeout issues. It indeed seems to happen more often with recent videos
      Have a couple of ideas but still have to work them out and test properly
    3. MpUrlSourceSplitter sometimes has difficulties with hls streams, so if you're having issues: disable it so it uses LAV
      This is also on my todo list.
    So apart from number 1 I have enough info to start working on things
     

    doskabouter

    Development Group
  • Team MediaPortal
  • September 27, 2009
    4,990
    3,711
    Nuenen
    Home Country
    Netherlands Netherlands
    channels I don't know by heart but from a user you can add something like:

    XML:
        <Site name="LON on YouTube" util="YouTubeV3" agecheck="false" enabled="true" lang="en">
          <Description>Videos van de lokale omroep nuenen</Description>
          <Configuration>
            <item key="useDynamicCategories"><![CDATA[False]]></item>
          </Configuration>
          <Categories>
            <Category xsi:type="RssLink" thumb="http://i1.ytimg.com/i/lfZ1Hpp5euSK6HiT2ENn_g/1.jpg?v=b7cb57" name="LON">https://gdata.youtube.com/feeds/api/users/LokaleOmroepNuenen/uploads</Category>
          </Categories>
        </Site>
    to your onlinevideosites.xml
     

    Kelby

    Member
    October 23, 2025
    12
    18
    Home Country
    Antarctica Antarctica
    channels I don't know by heart but from a user you can add something like:

    XML:
        <Site name="LON on YouTube" util="YouTubeV3" agecheck="false" enabled="true" lang="en">
          <Description>Videos van de lokale omroep nuenen</Description>
          <Configuration>
            <item key="useDynamicCategories"><![CDATA[False]]></item>
          </Configuration>
          <Categories>
            <Category xsi:type="RssLink" thumb="http://i1.ytimg.com/i/lfZ1Hpp5euSK6HiT2ENn_g/1.jpg?v=b7cb57" name="LON">https://gdata.youtube.com/feeds/api/users/LokaleOmroepNuenen/uploads</Category>
          </Categories>
        </Site>
    to your onlinevideosites.xml
    That example works but when I change it to another user I get a category or no video error. For example I changed LokaleOmroepNuenen to worldsnookertour and it broke, any idea where I am going wrong?
     

    doskabouter

    Development Group
  • Team MediaPortal
  • September 27, 2009
    4,990
    3,711
    Nuenen
    Home Country
    Netherlands Netherlands
    Youtube updated again.
    I only add hls streams if no other ones can be found. (HLS streams sometimes had a lot of variants in it in non-original languages and its hard to filter those out)
    This (hopefully) fixes:
    • wrong audio selection
    • MpUrlSourceSplitter
    I also updated the google api-code to a more recent version to accomodate the worldsnookertour. Just make it like https://gdata.youtube.com/feeds/api/users/@worldsnookertour/uploads (add the "@" before the channelname) and it will work.
    Did some testing myself and everything seems to be working again, but not 100% sure logged in scenarios still work...
     

    Kelby

    Member
    October 23, 2025
    12
    18
    Home Country
    Antarctica Antarctica
    Youtube updated again.
    I only add hls streams if no other ones can be found. (HLS streams sometimes had a lot of variants in it in non-original languages and its hard to filter those out)
    This (hopefully) fixes:
    • wrong audio selection
    • MpUrlSourceSplitter
    I also updated the google api-code to a more recent version to accomodate the worldsnookertour. Just make it like https://gdata.youtube.com/feeds/api/users/@worldsnookertour/uploads (add the "@" before the channelname) and it will work.
    Did some testing myself and everything seems to be working again, but not 100% sure logged in scenarios still work...
    I restarted Media Portal to get the update and now YouTube has vanished from the menu. I tried to remove it and add it again but it won't show up. Favourites for YouTube have also vanished. I might have broken something when I was playing around last night but it was working until I restarted for the update.
     

    doskabouter

    Development Group
  • Team MediaPortal
  • September 27, 2009
    4,990
    3,711
    Nuenen
    Home Country
    Netherlands Netherlands
    probably a corrupt xml? try to open onlinevideosites.xml in your browser, that gives you an error if there's anything wrong
    And if that xml is correct then the onlinevideos.log might show what is wrong otherwise
     

    Users who are viewing this thread

    Top Bottom