Bug 3139 - Genre Object does not seem to populate name
: Genre Object does not seem to populate name
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Database
: 6.5b1
: PC Windows XP
: P2 normal (vote)
: ---
Assigned To: Dan Sully
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-03-10 19:13 UTC by malcolmwotton
Modified: 2006-03-11 07:25 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description malcolmwotton 2006-03-10 19:13:42 UTC
When I instantiate a track object and access the genres method I get a sequence of genre objects that have correctly populated ids but the name function returns undef. The name method should presumably return the name of the genre of the given id.

Example genre object:

bless( {
'musicmagic_mixable' => undef,
'namesort' => undef,
'name' => undef,
'moodlogic_id' => undef,
'id' => '25',
'moodlogic_mixable' => undef
}, 'Slim::DataStores::DBI::Genre' )

Malcolm
Comment 1 malcolmwotton 2006-03-11 07:25:48 UTC
Managed to fix my issue (I had some faulty perl syntax that failed silently rather than with an error). Took me a good 4-5 hours though!

Malcolm