PDA

View Full Version : $album->disc()



Fred
2005-05-31, 16:22
Hello,

I guess it is a feature that when "grouping" multi-disc albums, the
album->disc() call returns undef and the album->disccount() call returns
the number of albums?

The web interface (if configured properly), manages to print 1-1.Title1,
.... 2-1.Title2 even when grouping. I could not figure out how as it
seems to me it ends up calling album->disc(), but I probably took a
wrong turn within Music::Info::infoFormat()...

The CLI songinfo call intends to inform about the disc the SONG is on.
Right now it calls album->disc and that does not work as discussed
above. How do I know which disc a track is on when grouping in on?

Thanks for any pointers.

Fred

Fred
2005-06-02, 12:17
Anybody have an idea?

Right now no matter how I set the pref, it seems I have nothing in disc
or disccont anylonger.

Thanks



Fred wrote:
> Hello,
>
> I guess it is a feature that when "grouping" multi-disc albums, the
> album->disc() call returns undef and the album->disccount() call returns
> the number of albums?
>
> The web interface (if configured properly), manages to print 1-1.Title1,
> ... 2-1.Title2 even when grouping. I could not figure out how as it
> seems to me it ends up calling album->disc(), but I probably took a
> wrong turn within Music::Info::infoFormat()...
>
> The CLI songinfo call intends to inform about the disc the SONG is on.
> Right now it calls album->disc and that does not work as discussed
> above. How do I know which disc a track is on when grouping in on?
>
> Thanks for any pointers.
>
> Fred

Dan Sully
2005-06-08, 08:08
* Fred shaped the electrons to say...

>I guess it is a feature that when "grouping" multi-disc albums, the
>album->disc() call returns undef and the album->disccount() call returns
>the number of albums?

Fred - it completely depends on what's in the tags. $album->discc is the correct call.

-D
--
<Nigel> Please refrain from fearing the reaper.