• 1
  • 173
  • 174
  • 175(current)
  • 176
  • 177
  • 203
Release YouTube
(2024-11-21, 20:34)Alyyy Wrote: "This video contains content from WMG, who has blocked it in your country on copyright grounds"

https://www.techwalla.com/articles/how-t...on-youtube
Reply
(2024-11-21, 20:41)izprtxqkft Wrote:
(2024-11-21, 20:34)Alyyy Wrote: "This video contains content from WMG, who has blocked it in your country on copyright grounds"

https://www.techwalla.com/articles/how-t...on-youtube
It seems complicated to me, I don't have an account and I'm on rpi. Isn't there a simpler way to bypass this limitation ?
Reply
(2024-11-21, 21:34)Alyyy Wrote: It seems complicated to me, I don't have an account and I'm on rpi. Isn't there a simpler way to bypass this limitation ?

it's a copyright blocking you, breaking copyrights to gain access to content is piracy, piracy is not allowed on this forum
get it now?

that's why i gave you a link to instructions to have the content unlocked legally by the copyright holder
Reply
(2024-11-21, 21:36)izprtxqkft Wrote:
(2024-11-21, 21:34)Alyyy Wrote: It seems complicated to me, I don't have an account and I'm on rpi. Isn't there a simpler way to bypass this limitation ?

it's a copyright blocking you, breaking copyrights to gain access to content is piracy, piracy is not allowed on this forum
get it now?

that's why i gave you a link to instructions to have the content unlocked legally by the copyright holder
I'm not trying to break any copyright. I can watch the videos on my PC though. I'm just trying to be able to watch them on my rpi/tv.
Reply
Hello,
I have an error message "this video is not available" on some video wich worked a few days ago.
I found this closed bug report : https://github.com/anxdpanic/plugin.vide...issues/845
I have version 7.0.9, is the fix supposed to be included in my version, or do I have to wait for the next update ?
Thanks
Reply
(2024-11-21, 23:30)contremaitre Wrote: I have version 7.0.9

7.0.9 is reportedly broken, update to 7.1.1

as of the post yesterday https://forum.kodi.tv/showthread.php?tid...pid3216283
Reply
(2024-11-22, 00:04)izprtxqkft Wrote: 7.0.9 is reportedly broken

@MoojMidge
if you see fit i think this version should be marked broken in the repo given all the recent reports
if not, would it be possible to simply push a tiny update, say 7.1.0, that shows a message to users that they need to update manually

it's going to be day after day post after post that users ask the same question
Reply
I was having some trouble getting streams to load, kept getting a "Video not found" and seemed easier to do a clean install of the addon. Got to Git and downloaded 7.1.1.1 official and worked.

Now, there is one annoyance: I can't use the "play from here">"reverse". I used this features a lot to play through my "watch later" play list. I can always sort the playlist in reverse order and just "play from here" but it used to work so I guess it should still work.

Usually when pressing "Play from here" a new windows would popup where I could choose the playing order. How do I get it back?

Is it a bug or a feature I am failing to configure properly?

Thank you.
Reply
I am currently using version 7.0.9.2 on 3 computers and the YouTube addon is still functioning perfectly.
Reply
(2024-11-21, 15:30)jim_p Wrote: Can you please pm me the name of the other plugin then? There is no way i'll go through all that procedure every single time.
The other plugin needs you to manually edit some texts to add your API credentials etc, and I don't know how tech-inclined you are. It's probably less traumatic to modify the sorting function in plugin.video.youtube instead so you can keep using it. 

(You will still need to go that streams list like I described before at least once to make sure that the code change is working properly. But once you see that it is working properly then you won't have to do it anymore.)

To modify the source code of an add-on you do this:
  1. Download the latest ZIP release of plugin.video.youtube, as if you would install it in Kodi.
  2. Using a PC, unpack that ZIP somewhere and a new folder will appear: /plugin.video.youtube/.
  3. Go to the relevant script file and do the changes as described below.
  4. Pack that /plugin.video.youtube/ folder back into a ZIP file. The name of the ZIP file doesn't matter, use some name that makes it clear it's your modified copy and not the original copy.
  5. Send that ZIP file to your Kodi device, then install it in Kodi through the "Install from zip..." menu.
You'll have to do this every time you install a new update to the plugin, as your modifications will be overwritten.

The actual modifications to be made (for step 3 above):
  1. In the unpacked add-on files, go to /plugin.video.youtube/resources/lib/youtube_plugin/youtube/helper/stream_info.py on line 2029 (online reference). It's the _stream_sort function, used to sort the audio and video streams for the MPEG-DASH manifest file.
  2. That original function looks like this:
    python:
            def _stream_sort(stream):
                if not stream:
                    return (1,)

                return (
                    - stream['preferred_codec'],
                    - stream['height'],
                    - stream['fps'],
                    - stream['hdr'],
                    - stream['biasedBitrate'],
                ) if stream['mediaType'] == 'video' else (
                    - stream['preferred_codec'],
                    - stream['channels'],
                    - stream['biasedBitrate'],
                )
  3. Using any code editor program, even online ones, instead of just Notepad (as code editors help preserve indentation, which is extremely important with Python), change it to this:
    python:
           def _stream_sort(stream):
               if not stream:
                   return (1,)
               isMP4 = ('mp4' in stream['mimeType'])
               return (
                   - isMP4,
                   - stream['preferred_codec'],
                   - stream['height'] if isMP4 else stream['height'],
                   - stream['fps'],
                   - stream['hdr'],
                   - stream['biasedBitrate'],
               ) if stream['mediaType'] == 'video' else (
                   - isMP4,
                   - stream['preferred_codec'],
                   - stream['channels'],
                   - stream['biasedBitrate'],
               )
  4. Proceed with packing the add-on back into a ZIP file as described above.
These changes mean: "If the video stream has an mp4 container then sort it from biggest to smallest and list it first among video streams, otherwise sort it smallest to biggest and list it at the end of the video streams. If the audio stream has an mp4 container then list it first among audio streams".

The result is something like this:
h264, 1080
h264, 720
h264, 360
vp9, 360
vp9, 720
vp9, 1080
Reply
*deleted* User Error
Reply
Hi,

I did the last update 7.1.1.1 and this appears in my channel list, what wasn't there before

Image

and I can't seem to hide them
Reply
How to update from 7.0.9.2 to 7.1.1 ?
I have kodi installed with flatpack, and latest version of youtube plugin available is 7.0.9.2 ?
Reply
(2024-11-22, 17:53)contremaitre Wrote: How to update from 7.0.9.2 to 7.1.1 ?
I have kodi installed with flatpack, and latest version of youtube plugin available is 7.0.9.2 ?

https://github.com/anxdpanic/plugin.vide...stallation
Reply
(2024-11-22, 00:04)izprtxqkft Wrote:
(2024-11-21, 23:30)contremaitre Wrote: I have version 7.0.9

7.0.9 is reportedly broken, update to 7.1.1

as of the post yesterday https://forum.kodi.tv/showthread.php?tid...pid3216283

This is worse with version 7.1.1, I have "this video is not available" on more videos. Here is a log for one of them :
https://paste.kodi.tv/ifedatiquk.kodi
Reply
  • 1
  • 173
  • 174
  • 175(current)
  • 176
  • 177
  • 203

Logout Mark Read Team Forum Stats Members Help
YouTube0