urls in playlist change and wont work anymore

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
pew pew
New Cone
New Cone
Posts: 1
Joined: 26 Dec 2017 14:52

urls in playlist change and wont work anymore

Postby pew pew » 26 Dec 2017 15:07

Hi there,

I recently created a playlist which contained youtube urls. Everything seemed to work well, since all the videos played as I clicked on them etc.. I saved the playlist as .m3u. However the next day I wanted to listen to this playlist non of the tracks worked. As I looked into the .m3u file there were no longer the //youtube urls, but //googlevideo urls, which I couldn't even open in my browser. In the browser it says that I don't have the rigthts to access this page.

Also, every song/video I didn't open prior saving the playlist still has the correct youtube url.

Is there a way to prevent the url change??

Rémi Denis-Courmont
Developer
Developer
Posts: 15317
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: urls in playlist change and wont work anymore

Postby Rémi Denis-Courmont » 27 Dec 2017 10:01

Write the YouTube URL manually in the playlist file, reopen the playing every day :(
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

hipster42
New Cone
New Cone
Posts: 1
Joined: 29 Dec 2017 12:41

Re: urls in playlist change and wont work anymore

Postby hipster42 » 29 Dec 2017 12:53

Write the YouTube URL manually in the playlist file, reopen the playing every day :(
Might you be able to sketch what a fix would look like so that someone reading this might contribute a patch?

Is this something that can be fixed in `youtube.lua`?

To recap:

# Steps
- Add a youtube page url of the form `https://www.youtube.com/watch?v=TCUBSbJENO4` to a playlist.
- Play the file
- Save the playlist.

# Observed
- The youtube page url is resolved into an MRL which is what VLC saves in the playlist.
- However, youtube MRLs point to the google CDN and as such are transient and expire after some time. The canonical locator for a youtube video seems to be the page URL, which is what should be saved in a playlist.
- Because youtube urls aren't saved in the playlist, creating youtube playlists in vlc is not possible as such playlists quickly become unusable.

Rémi Denis-Courmont
Developer
Developer
Posts: 15317
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: urls in playlist change and wont work anymore

Postby Rémi Denis-Courmont » 29 Dec 2017 14:00

I suspect that this cannot be fixed in Lua.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 126 guests