Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 3 of 3
  1. #1
    Senior Member flipflip's Avatar
    Join Date
    Apr 2006
    Location
    Swissaland
    Posts
    1,421

    Can my plugin add custom song info into the playlist entries (default skin)?

    Hi

    I would like to add custom song info (ratings, file format, bitrate, last listened, number of times listened, ...) into the playlist song info (in the list, not on the details page) in the default skin web interface.

    From what I understand this HTML is composed in the HTML/Default/status_list.html template. And it doesn't look like there is a hook to add another <div class="playlistSongDetail">.
    Also, adding additional buttons (<div class="playlistControls">) might be of interest.

    I would be happy to try adding this functionality to the default skin and work an a pull request.

    But I think I need some hints. What approach could I take? Is there any similar functionality in another template perhaps?
    Something like [% PROCESS $listOfRegisteredSongDetailProviders %]?

    Cheers,
    flipflip
    Last edited by flipflip; 2021-04-17 at 15:38.

  2. #2
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    20,622

    Can my plugin add custom song info into theplaylist entries (default skin)

    Hi Flipflip

    good to see you back :-). For the default web UI you should be able to
    define formats in Settings/UI (Benutzeroberfl├Ąche).

  3. #3
    Senior Member flipflip's Avatar
    Join Date
    Apr 2006
    Location
    Swissaland
    Posts
    1,421
    Hoi Micheal

    Ouch. That was too easy. Many thanks!

    flipflip

    (This is for https://github.com/phkehl/lms-plugins. I'll post somewhere here once I'm happy enough with it.)

Posting Permissions

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