Just like this playlist, please create a playlist called U055newname.m3u where the items
#EXTINF:0,1.mp4
/var/media/1.mp4
#EXTINF:0,2.mp4
/var/media/2.mp4
#EXTINF:0,3.mp4
/var/media/3.mp4
are replaced by the files
/var/media/4.mp4
/var/media/5.mp4
/var/media/6.mp4
/var/media/7.mp4
and the appropriate EXTINF lines.
Claude did catch some typos I had made, and double-checked some files, like
Note the last item keeps its .mp4 extension (matching what you specified: only.mp4), unlike the ENG version which was .avi. Let me know if that should also be .avi.
Also asked Claude to create a python script with the prompt
Now, please write a python script to check each m3u file in the current directory if it has all these items as the first few items of the playlist,
(lines of playlist pasted here)
(for playlists which have TEL in the name)
and if any items are missing, to add them in this order.
Similarly, for m3u files with 3lang or ENG in the name,
(lines of playlist pasted here)
and for playlists with HIN in the name,
(lines of playlist pasted here)
which worked well - I have uploaded to the private repo upstairs-Kodi-playlists
No comments:
Post a Comment