Bugzilla – Bug 6719
don't localize whatever is in the 'TYPE' tag on songinfo queries
Last modified: 2009-09-08 09:32:10 UTC
'TYPE' tag (populated from database, track.content_type) returns a lot of different things: MP3 MP3 (Live 365) FLAC INTERNET RADIO this should be sent to Jive without localization. Right now it's throwing errors on the SC console whenever there's no localization available. Dean, I have a fix for this, already tested. Just need your approval to checkin for 7.0.
Where are all those weird strings coming from? Cleaning up the console is good, but should the data be fixed?
Figured that was coming :) I'm only concerned about Jive and what gets displayed on the songinfo window here. I'm not about to touch something that isn't right in the database. The TYPE tag in the query results is populated from what looks to be tracks.content_type. I've checked in the fix as change 16606 on 7.0. If there's a SC bug to fix on that database field, it should be opened as a different bug.
content type has previously been used as a token so that pages like the file types settings can be localised, as well as the song info/track info views in player and web ui. It seems that recently some content types have taken on variants that are expecting to be treated as raw strings, instead of tokens (content_type = MP3 (Live 365) for example). So, in legacy terms, the type was intended to be localised. This is how MOV becomes "Apple AAC for Movie File"
This bug has recently been fixed in the latest release of SqueezeCenter 7.0.1 Please try that version, if you still see the error, then reopen this bug. To download this version, please navigate to: http://www.slimdevices.com/su_downloads.html