Support and General Use > Audio Playback, Database and Playlists
Directories in M3U files?
brianary:
--- Quote from: Llorean on January 28, 2008, 07:27:17 PM ---I'm not sure, but I think you could just do that with a custom Tagnavi entry?
--- End quote ---
Well, I can't figure out how to make this work through tagnavi, since there doesn't seem to be an 'or' operator provided by the filter menu syntax.
This doesn't work:
--- Code: ---"Music" -> title = "fmt_title" ? filename ~ "/castA/" | filename ~ "/castN/" | filename ~ "/castQ/"
--- End code ---
And, really, a playlist file is a much cleaner format to maintain.
Any other possibilities?
cpchan:
--- Quote from: brianary on January 29, 2008, 01:07:13 AM ---That's funny, that's the article that gave me the idea! Check out the second example.
M3U doesn't seem to be a specification in the formal sense, anyway, and its behavior for directory entries is not prohibited (at least, not that I've seen), so it seems quite reasonable behavior.
--- End quote ---
Interesting. I have never seen that or know of a program that supports that (not that I don't think it is a good idea). It must be a new winamp thing. Even in their official documentation:
http://forums.winamp.com/showthread.php?threadid=65772
it is not mentioned.
Charles
cpchan:
--- Quote from: brianary on January 29, 2008, 01:07:41 AM ---Well, I can't figure out how to make this work through tagnavi, since there doesn't seem to be an 'or' operator provided by the filter menu syntax.
--- End quote ---
I can't seem to find one either. I haven't really worked with tagnavi, since I very seldom use the database.
--- Quote ---And, really, a playlist file is a much cleaner format to maintain.
Any other possibilities?
--- End quote ---
Depending on your scripting ability, this can be easily done. I would do it as part of a sync script (I use Linux) which does the following:
1. Mount the device (if you system does not auto-mount).
2. Sync the device with a set of directories on the computer with something like rsync.
3. Optionally submit the scrobbler log to last.fm and delete the log file.
4. Generate the playlist.
5. Unmount the device.
Charles
bascule:
--- Quote from: brianary on January 29, 2008, 01:07:41 AM ---...since there doesn't seem to be an 'or' operator provided by the filter menu syntax.
--- End quote ---
No, there isn't. But this will work if you have no other directories beginning with 'cast':
--- Code: ---"Music" -> title = "fmt_title" ? filename ~ "/cast"
--- End code ---
--- Quote from: brianary on January 29, 2008, 01:07:41 AM ---And, really, a playlist file is a much cleaner format to maintain.
--- End quote ---
How's that? A database entry does not need any maintenance, because, provided 'Auto Update' is on, it always displays all the podcasts on your player without having to do anything.
brianary:
--- Quote from: cpchan on January 29, 2008, 02:18:19 AM ---Depending on your scripting ability, this can be easily done. I would do it as part of a sync script (I use Linux) which does the following:
1. Mount the device (if you system does not auto-mount).
2. Sync the device with a set of directories on the computer with something like rsync.
3. Optionally submit the scrobbler log to last.fm and delete the log file.
4. Generate the playlist.
5. Unmount the device.
Charles
--- End quote ---
Yeah, I've thought of that. I was just hoping I wouldn't have to write a script. I'm using a program that actually resides on the DAP, with Linux/Win/Mac support, so that I can download my podcasts from an arbitrary machine. I'm pretty proficient with bash and cmd.exe, but I'm not sure if the bash script would work on the Mac side. Plus, there's the whole problem of testing and maintaining a script on three platforms. I'll probably just go without rather than script a solution. :(
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version