
Youtube playlist
Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net
Import a youtube video / playlist into VLC.
INSTALLATION:
- click on the download button below
- when the file appears click on the menu file > save as... of your browser
- put the file in the vlc /lua/playlist folder, by default:
* Windows (all users): %ProgramFiles%VideoLANVLCluaplaylist
* Windows (current user): %APPDATA%vlcluaplaylist
* Linux (all users): /usr/lib/vlc/lua/playlist/
* Linux (current user): ~/.local/share/vlc/lua/playlist/
* Mac OS X (all users): /Applications/VLC.app/Contents/MacOS/share/lua/playlist/
(create directories if they don't exist)
/! Some browser (Chrome...) may change the file extension for ".txt" instead of ".lua", so make sure you choose "All extensions" in the dialog box when you save the file on your computer.
USAGE:
- Copy the URL of the youtube video or playlist (must contain "list=PL...")
- Start VLC, press Ctrl+N, paste the url then click on "Play" (or Alt+P then Enter), the video /playlist should start
Troubleshooting:
/! Follow this steps if and only if you have already install the script and it doesn't work..
/! for the actual script see the "download" button (playlist_youtube.lua) below.
If the videos list appears in the Vlc "playlist" view but the videos won't start, follow this steps:
1) delete the file "youtube.luac" in [Vlc directory]/lua/playlist directory (ex: c:Program FilesVideoLANVLCluaplaylistyoutube.luac)
2) get the latest version of thr "youtube" script from here:
https://raw.githubusercontent.com/videolan/vlc/master/share/lua/playlist/youtube.lua
3) place the file in the directory [Vlc directory]/lua/playlist (where "youtube.luac" was)
/!/!/! Please do not paste your raw error log here, use a pastebin service like pastebin.com.
5 years ago
- display clean video title and thumbnail
- Add support for playlist with 100+ videos
- fix change in youtube playslists
5 years ago
- display clean video title and thumbnail
- Add support for playlist with 100+ videos
- fix change in youtube playslists
mehdih
5 years ago
Here is the link:
http://git.videolan.org/?p=vlc.git;a=blob;f=share/lua/playlist/youtube.lua;h=7089960b48f81351adb6f336b5a3524ee8ec97ba;hb=71b243f49fa89807adb30e84d026a0318200ccdc
Report
iamjonny
5 years ago
I tried, got errors on all videos, tried deleting / replacing the lua thing, tried x86, all unsuccessful
Report
s1ckb0y
5 years ago
Report
mehdih
5 years ago
It worked.
Cheers
Report
ikuria
5 years ago
how to get rid of this? thx
Report
exebetche
5 years ago
Report
ikuria
5 years ago
Report
dottelevision1
5 years ago
Thanks!
Report
IdolwSzutrab7
5 years ago
Report
IdolwSzutrab7
5 years ago
Report
nestea1212
5 years ago
"VLC is unable to open the MRL" errors while it cycles through all my songs and fails to play the videos.
Report
exebetche
5 years ago
Report
nestea1212
5 years ago
One way I have been able to replicate the MRL errors is to put the newly entered playlist on random. Once it's on random and a song ends, it just starts cycling through and spitting out those errors again.
Regardless, thanks for your work. I guess I'll just manually put in my youtube playlists whenever I launch VLC for the time being. :)
Report
nestea1212
5 years ago
http error: error: HTTP/1.1 403 Forbidden
Constantly showing up in my error logs.
Report
mcq333
5 years ago
Report
exebetche
5 years ago
You just start Vlc with the option, like that:
vlc.exe --preferred-resolution=360
Report
mcq333
5 years ago
Also on Youtube-dl configuration(https://github.com/rg3/youtube-dl/blob/master/README.md#configuration) they say:
For example, with the following configration file youtube-dl will always extract the audio, not copy the mtime and use proxy:
--extract-audio
--no-mtime
--proxy 127.0.0.1:3128
But again, I don't have any ideo of how made it works.
Report
exebetche
5 years ago
Report
mcq333
5 years ago
Report
exebetche
5 years ago
Report
mcq333
5 years ago
If someone read this and is not sure of how to made the Direct Acces Method:
1.Create another direct acces to VLC and change the name to "VLC YT" or something.
2. Right click on your new direct acces and click on preperties.
3. Go to the direct acces section, and find de Destiny text box.
4. The destiny should be these: "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe"
You habe to add: --preferred-resolution=240
And now it should look like these: "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" --preferred-resolution=240
Report
mcq333
5 years ago
If someone read this and is not sure of how to made the Direct Acces Method:
1.Create another direct acces to VLC and change the name to "VLC YT" or something.
2. Right click on your new direct acces and click on preperties.
3. Go to the direct acces section, and find de Destiny text box.
4. The destiny should be these: "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe"
You habe to add: --preferred-resolution=240
And now it should look like these: "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" --preferred-resolution=240
Report
mcq333
5 years ago
If someone read this and is not sure of how to made the Direct Acces Method:
1.Create another direct acces to VLC and change the name to "VLC YT" or something.
2. Right click on your new direct acces and click on preperties.
3. Go to the direct acces section, and find de Destiny text box.
4. The destiny should be these: "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe"
You habe to add: --preferred-resolution=240
And now it should look like these: "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" --preferred-resolution=240
Report
mcq333
5 years ago
If someone read this and is not sure of how to made the Direct Acces Method:
1.Create another direct acces to VLC and change the name to "VLC YT" or something.
2. Right click on your new direct acces and click on preperties.
3. Go to the direct acces section, and find de Destiny text box.
4. The destiny should be these: "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe"
You habe to add: --preferred-resolution=240
And now it should look like these: "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" --preferred-resolution=240
Report
exebetche
5 years ago
You need to change something in the script named "youtube.lua" which is included in Vlc, but I'm not sure what.
Report