-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday, 2019-08-08 at 09:27 +0200, gumb wrote:
On 07/08/2019 22:32, Carlos E. R. wrote:
Hi,
The last time I needed to generate a play list for an USB stick of mp3 files I used eyeD3. That package is now missing.
<https://eyed3.readthedocs.io/en/latest/>
What else can I use?
Maybe try Kid3?
Ah. Maybe. Installing. (A search for "playlist" in YaST found a bunch of libraries and plugins, but I could not see a program to generate them) Mmm, at starts, kid3 reports a bug: there are two actions (Replace, Reload) that want to use the same shortcut (Ctrl+R). It does so many things that it is complex to use. I then try the cli version, but it is not a command line, but instead enters a "session" in text mode. I have this structure in the usb stick: 2015-11 Jazz Classic Piano ... If I start kid3-cli in the root of the stick, I can not get it to list the directory structure: cer@Telcontar:/media/EMTEC C410> kid3-cli kid3-cli> ls 2015-11 kid3-cli> ls 2015-11 2015-11 kid3-cli> ls 2015-11/ 2015-11 kid3-cli> pwd /media/EMTEC C410 kid3-cli> It does not see the contents of the directory. The KDE GUI version fails to load the help file, says it does not exist, but this happens to all KDE programs, no surprise. Had this problem for decades :-/ Trying, from an example in man page: cer@Telcontar:/media/EMTEC C410> time kid3-cli -c "timeout off" -c autoimport -c playlist 2015-11/Café\ de\ Paris/*aac Problem: it writes the file to the last directory, the directory where the aac files are. Of course, I want them at the root of the USB stick, where my car audio system looks for it. Googling for "kid3-cli examples" finds me <https://kid3.sourceforge.io/kid3_en.html#kid3-cli-examples>, which are the same as in the manual, and thus far from sufficient. Some discouraging info: <https://kid3.sourceforge.io/kid3_en.html#create-playlist> +++....................... The location of the generated playlist is determined by the selection of the Create in combo box. Current directory The playlist is created in the current directory and contains only files of the current directory. The current directory is the directory where the current file is located. If multiple files are selected, the current file is probably the last selected file. Every directory A playlist is created in every directory which contains listed files, and each playlist contains the files of that directory. Top-level directory Only one playlist is created in the top-level directory (i.e. the directory of the file list) and it contains the listed files of the top-level directory and all of its sub-directories. .......................++- Clear as mud. It appears I can not tell it the specific directory to create the list in, with filenames relative to it :-/ Googling again. "how to create playlists in linux" Finds this at <https://itsfoss.com/create-m3u-playlist-linux/>: ls -1v |grep .mkv > /tmp/1.m3u && mv /tmp/1.m3u . Just that? This is wonderful. Of course, tag info is missing, I thought that was mandatory in the list format. I only have to script a bit to produce a combined list. Just wonderful! - -- Cheers, Carlos E. R. (from openSUSE 15.0 x86_64 at Telcontar) -----BEGIN PGP SIGNATURE----- iHoEARECADoWIQQZEb51mJKK1KpcU/W1MxgcbY1H1QUCXUwS5hwccm9iaW4ubGlz dGFzQHRlbGVmb25pY2EubmV0AAoJELUzGBxtjUfVJvwAnihtSgrEYtJSlRtU+fNL nl6uRJ55AJ47tArgI7Y+74ZE5e/7PhSD1om4cA== =EaP6 -----END PGP SIGNATURE-----