setting playlist metadata (such as title) through libmpv #15194
Replies: 3 comments
-
loadfile lets you pass per-file options and you can pass |
Beta Was this translation helpful? Give feedback.
-
Just pasting a video playlist from yt it'll populate the playlist with titles...but if one saves it it'll just save the URLs I save the playlist then add media-title and reverse if necessary #Playlist d-k run /bin/bash -c 'cd ~/datampv/playlists; [ ! -d titles ] && mkdir titles ; for f in *.m3u ; do yt-dlp --skip-download --flat-playlist --no-warnings -O "#EXTINF:,%(upload_date>%Y%m%d)s %(title)s %(duration>[%H:%M])s" -O webpage_url -a "$f" > titles/"$f" ; done; dt=$( date +%Y_%m_%d_%H_%M_%S); mkdir "$dt" && mv *.m3u "$dt"' ; show-text "Titles are being added to all yt .m3u playlists"#! [Playlist] > [m3u] > Add titles to all yt .m3u playlists d-i run "/bin/bash" "-c" 'cd ~/.config/mpv/extrastuff; ./m3u_yt_titlesreverse.sh' ; show-text "Titles in reverse are being added to all yt .m3u playlists" #! [Playlist] > [m3u] > Add titles in reverse to all yt .m3u playlists and m3u_yt_titlesreverse.sh since can't get it to be in a run ..probably cuz of reversing it..so have to use it as a script cd ~/datampv/playlists |
Beta Was this translation helpful? Give feedback.
-
hello again, |
Beta Was this translation helpful? Give feedback.
-
hello,
suppose I have lets say n items from which I add them with loadfile command with append argument, and those items do not have titles. how would I set title for them? (lets say from a customized string).
you know, playlist/N/title is not writable. (it should be a way possible to change the metadata).
thanks a lot
Beta Was this translation helpful? Give feedback.
All reactions