Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 3 of 3

Thread: $album->disc()

  1. #1
    Fred
    Guest

    $album->disc()

    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


  2. #2
    Fred
    Guest

    $album->disc()

    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



  3. #3
    Perl Commando Dan Sully's Avatar
    Join Date
    Apr 2005
    Location
    Daly City, CA
    Posts
    2,864

    $album->disc()

    * 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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •