I’m not sure what Firefly would do upon finding a bunch of supported files called “track-xx.wav” – possibly just add the songs as “Track-xx”.
What about this procedure?
When the CD is inserted, mount with CDFS at /media/cdrom
Then execute a shell script that generates a m3u file at /media/mock_cd which contains the cddb information and paths to the tracks in /media/cdrom
Tell Firefly to rescan /media/mock_cd and the new playlist should be available.
If I delete the m3u file from /media/mock_cd and rescan that dir, will Firefly realise the playlist is gone, and delete the row from the playlist table?
That is correct.
On another thread, someone asked for more fine grained abilities to scan paths and whatnot, even down to a “scan this playlist” ability.
It will be after I get the db backend redone, but that ability will be there soonish, I hope. That will make the whole process easier.