PhatHack
Phatbox / Keg software and support => Phatnoise Media Manager => Topic started by: crunch13 on August 29, 2005, 01:44:04 pm
-
OK, this is not so much a hack as a procedural workaround in the PMM that results in a particular arrangement of data on the DMS, which in turn drives the behavior of the SSA.
The background is that the PMM/Phatbox handling of compilation ("Various Artists") CDs blows. If you rip with PMM, you lose all the artist metadata (PMM substitutes "Varous Artists", without any warning). If you drag in a CD that was ripped by iTunes - which keeps accurate artitst tags - into PMM the album gets broken up all over the place (by Artitst) by the PhatBox SSA.
I am looking for a solution. Here are some nutty ideas I am thinking about. I would like to reuse my iTunes-ripped songs and i generally like correct tags, so the idea is to make the PB well behaved with REAL artist tags in CD compilations.
1a. Create a "Playlist" for each compilation album. This would keep the songs together and easy to find. It sort of breaks the playlist model/semantics a bit.
1b. Create a playlist for all compliations to live in. A little neater in terms of "playlist proliferation" Not sure how easy it would be to find an individal CD in the playlist, if there are many.
2. Create a "dummy" mp3 file with the VA & album tags, track 00 (or make it track 1 and increment all the other tracks). Then the SSA can at least find a "starting point" for the CD.
Ideas?
TIA!
-
Hi, i just found bad_album_db and album_seek in the wiki under the INI stuff.... anyone have opinions on these as an alternative to having compilation albums busted up by track artist?
-
Well some programs use ID3 tags properly.. theres a compilation setting in ID3v2 that allows you to have Various Artists in the Artist feild and the track artist name in another feild that says who wrote or sang the song.. however PMM doesnt look in those feilds because, well they didn't think about it or didn't want to code it.
Thats my understanding. Tag and Rename supports the compilation feilds and seems to work properly with winamp and some other programs.. perhaps we can work in compilation artist support into the new Phat4X software and figure out how to make the database work on the phatbox with it.
-
For now, I just want a (sneaky?) "workaround" using the PMM and existing firmware, if one can be devised. I'm also not crazy about losing the correct artist metadata. My wife's iPod had a TON of compilation albums and she hates the SSA sorting & seeking (vs her iPod), You can see what I'm up against here.... she thinks I'm nuts because I love the PB like it's the greatest thing since sliced bread, meanwhile she can't play one bloody VA CD from beginning to end!
PS what is Phat4x? (functional specs, etc)
PPS using more (custom) tag fields would rule. imagine fixing pronouciation there..... custom title display on capable HU's, etc....
-
phat4x is a project in development by Para, from these forums, its a cross platform replacement for PMM.. check the phat4x forum further down the main forum list.
-
meanwhile she can't play one bloody VA CD from beginning to end!
Why not just make a playlist for each Various Artist CD and when you want to listen to one of those, switch to playlist mode? That's what I have for all my movie sound tracks and it works fine.
-
If you read my initial post, that was solution #1a.
So, that's one vote for this approach!
It's still not as slick at iTunes/iPod which handles VA discs "correctly." The one thing I can say about #1a is that it is low effort (relatively, depending on how many compilation albums you have to make playlists for) and nondestructive to the file tag metadata. :)
-
Sorry! I had read 1a when you first posted it, and then forgotten about it.
I think, for now - that's the best way to go. Especially because you can store the information in a tag category that you don't use, and choose the display pattern on the headunit for that particular playist.
ie: I have "I heart huckabees" as the playlist name, and display that on the top line. Then I have "Jon Brion" (artist - but written in the comments field) and "over our heads" (song title) displayed on the bottom line. (I'm brainstorming here - I don't actually have that setup, but I think it will work...)
-
Also my issues and potential solutions would be specificly for SSA, since I have the Audi PB + factory head (basically NO display capability :( )
-
Ahhh. This is why forum admins shouldn't offer suggestions. ;)
-
No prob, it helps just to ping pong the ideas and test my assumptions, ive only had the box for 2 weeks....
Thanks!
-
I encountered this same problem while working on PhatMac. The solution I came up with was to use the "Composer" or "Group" field as the artist name when the track is written to the DMS.
This way the ID3 tags are all correct in my music library, yet my various artist albums all appear 'normal' on the DMS.
For example, I have a CD of classical music from several artists. Each MP3 has the real artist, album and track name (which is how iTunes ripped the CD). I then manually added "Classical Mix 1" to the "Group" field of each track, and made sure the 'compilation' bit was checked. When PhatMac saves these tracks, it writes "Classical Mix 1" as the artist in the DMS database.
When listening, I can navigate to album or artist "Classical Mix 1", and hear the complete album. Only downside is that the DMS won't announce the real artist .. but I can live with that.
Cameron.
-
Thanks Cameron, that was exactly what I was suggesting to add to phat4x.. sweet!
-
Ive used Windows media player to rip the music, and then re-edited the song titles and the artists using PMM, its a bit slow but does work, Windows media player will show the artist and the title in one, but not seperately...
takes ages to sort out all the music already on the computer, but once its done its all good...
-
I find Tag & Rename a decent piece of software for this purpose. It has IMDB and Amazon lookup to generate the ID3 information. It's a little dodgy as far as stability of the application, but the tag handling capability is something I've yet seen duplicated.
-
So far, I've prety much ripped everything using winamp pro with these naming conventions:
For "regular albums"
artist - album name / track# - song title
For "compilations, movies, shows"
"album name / track# - song title - artist"
This puts each album in it's own subdirectory and now that I have the keg, all I had to do was grab al the album directories I wanted and select "make playlists from directorys".
It took FAR longer to eject the disk when I was done than it did to create all the playlists (600+ so far)
By the way, the "voice" feature completely mangles the album name "INXS - X". It's hilarius to listen to it make the attempt though...
dc4bs
-
I am a bit baffled by the "various artists" problem. So help me understand the issue better...
I ripped all my music using another app than PMM (in ogg format), and it tags each song with the ARTIST field in the vorbis comment with the artist of the track, not that of the album (i.e., the actual artist, not "Various Artists"). The ALBUM name field is populated with the name of the album. Each album has its own folder, named by the album artist and the album title (i.e., "Various Artists - Gatecrasher National Anthems Disc 1"), and each track is named with the track number and track title (i.e., "22 - Iguana (Mas Mix).ogg"). I use PMM to update the database and sync/save to the DMS. When viewed under PMM, everything appears to be sorted correctly. So, it would appear that PMM does the "right thing" in that songs in the same album are sorted together even for the various artists albums.
As reported here, when browsing in "Albums" mode in the car, the songs get scattered all over the place. I know about the bad_album_db variable in phatbox.ini and had tried setting it to "off" or removing it but it didn't fix the problem.
So the question is, does the phatbox actually use each album's folder name to sort (which contains the string "Various Artists"), or does it use the ALBUM field in the tag info? If its the former, then it would explain the problem. I searched for a definitive answer (both here and google in general) but came up empty.
I guess I should also ask the question more generally: is it PMM or is it the phatbox that screws up the album sorting? If it's PMM, then it's being inconsistent, because it actually sorts it correctly on screen and plays everything in the proper order on the PC.
Thanks in advance for any info that would help me really understand the nature of the problem.
Also, can someone explain what the phatbox.ini variable "ssa_use_disc_up_down" do? I searched for this and also couldn't find an answer.
P.S. I am running the Phatnoise Media Manager 3.75, the phatbox is an Audi unit, updated to the latest firmware, the car is an 2001 Audi S4, but I doubt this matters.
-
I thought that if you were to browse by "album mode" on the DMS, then once you found that album then it would play the entire album? That would mean that you album ID tags were correct.
-
Album mode is a misnomer. In actuality, it is "Artist/Album" mode. When in Album mode, the collection is always sorted by Artist first, then grouped by album.
The Phatbox does not use the folder information at all. It just uses the song's tags. You could organize your collection so that every single song is in it's own directory, and the Phatbox wouldn't care.
-
I thought that if you were to browse by "album mode" on the DMS, then once you found that album then it would play the entire album? That would mean that you album ID tags were correct.
That is true only for non-"Various Artists" CDs. If I browse in Album mode in the car, my "Various Artists" CD tracks become interspersed all over the place, and would only play one track at a time and then move on to the next album.
-
Album mode is a misnomer. In actuality, it is "Artist/Album" mode. When in Album mode, the collection is always sorted by Artist first, then grouped by album.
The Phatbox does not use the folder information at all. It just uses the song's tags. You could organize your collection so that every single song is in it's own directory, and the Phatbox wouldn't care.
OK, if this was the case, and if removing "bad_album_db=on" from phatbox.ini does what it's supposed to do, then that should take care of this problem. But it doesn't... :'( ???
"Removing or commenting out bad_album_db=on will cause the album list to be sorted by album title first intead of artist then album title."
-
So even though one of my albums name is called, "Tribute to The Clash." And since there is various artists on that album, when in the car in album mode it won't play that entire album once I find it?
-
So even though one of my albums name is called, "Tribute to The Clash." And since there is various artists on that album, when in the car in album mode it won't play that entire album once I find it?
That's right... try it and see.
-
Hum, well I've never really actually browse by the album mode anyway. Well maybe Phat4X will fix all that up? I normally just make a bunch of "playlist" with stuff that I listen to a lot and then all the other music that's on the DMS, will be there just in case I get the need for something out of the ordinary.
-
Well maybe Phat4X will fix all that up?
This is the reason why I ask whether this problem is due to PMM or phatbox. If the files are tagged correctly (and I believe mine are), then the problem would be in the phatbox. In such a case using Phat4x instead of PMM wouldn't make a difference, would it?
I normally just make a bunch of "playlist" with stuff that I listen to a lot and then all the other music that's on the DMS, will be there just in case I get the need for something out of the ordinary.
I already have too many playlists, to the point that it becomes a chore to navigate. ::)
-
I still don't see a solution to the "Various Artists" Albums here.
the bad_album_db flag doesn't change anything, If I have a SoundTrack album that I want to listen to all at once, I can't!!
So one simple question:
Why can't the PhatBox sort by albums ? It can't be too hard. It's capable of doing it by Artist!
HEEELPPP !
-
I might be missing something here, but can't you just make a playlist?
-
I might be missing something here, but can't you just make a playlist?
Yes I could, but I have a large number of various artists albums. To make a separate playlist for each one of them would make my number of playlists unmanageably large as well, not to mention a lot of work to do so.
-
a lot of work to do so
I think there's a way in PMM to select multiple folders and have it make a playlist from each folder in one action.
-
Would not put the name of the Album in the Album. Use "Various Artists" in the Artist tage, and then for the title of the song put the "Artist & track title"
That way when you use SSA, you would still hear the artists name and the title of the songs.
-
After doing some more searches and experimentation I now understand how things work, and have a solution too!
The sort order of tracks on the phatbox is based on the .idx files on the DMS, which are in turn generated from the .db files, and these are all done by PMM. So, the solution is to fix the .db files and to regenerate the .idx files from them.
I found a Linux shell script called phatSort (http://rj3.net/cowboy/phatbox/phatSort) (written by "Cowboy" Ben Alman) that did this, but I massaged it further to make it work the way I like it. Now I have completely solved the "various artists" sort problem. When browsing by album, all albums are sorted in alphabetical order (and using the alpha seek, a cinch to find), and all tracks are played in the proper order. Yay! :)
My own version of the phatsort script (http://www.ibiblio.org/tkan/download/phatsort/1.0/src/phatsort.sh-1.0.tar.gz) adds more error checking, backs up the original .db and .idx files before proceeding, does some cleanup, and has minor tweaks to the sorting. Of course, if you want to use it you will need to connect the cradle to a Linux box, and you will need to re-run the script after each PMM sync/save/eject operation by PMM because the .db and .idx files will get mangled again. One other thing, don't forget to add "album_seek=alpha" in your Profile.ini to enable alpha seeking in album mode.
-
Good work! Please create a new thread for this with a catchy title - this will help folks when they search for this type of thing.
-
Also, please put up a wiki page on it too if you would! Good work!
-
OK, I'll work on a wiki entry when I get some time. Meanwhile I fixed a couple of last minute typos in my script and the new version is -> here (http://www.ibiblio.org/tkan/download/phatsort/1.0.1/src/phatsort.sh-1.0.1.tar.gz) <-.
-
Hi all, I've put up yet another new version of my script for download.
It is now at v1.0.2 and is available -> here (http://www.ibiblio.org/tkan/download/phatsort/1.0.2/src/phatsort.sh-1.0.2.tar.gz) <-.
There are a couple of minor enhancements. See the README file for details.
-
Hi all, with thanks to sbinger, this script is now up and available for download here:
http://downloads.phathack.com/amb/
The file name is phatsort.sh-1.0.2.tar.gz which is a tarball format bundle of the script, support files and a README file on how to use it.
I also added "myphat" (myphat-1.0.tar.gz or myphat-1.0.zip) to the same location for downloads. This is a CGI script providing a web interface to browse your DMS music collection based on its database files.
Fron now on this will be the location for future updates of these scripts, and any other phatnoise-related software that I might whip-up.
Have fun.