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

Hybrid View

  1. #1
    Senior Member pippin's Avatar
    Join Date
    Oct 2007
    Location
    Berlin
    Posts
    10,387

    songinfo redirection in 7.1ff?

    I feel that my own songinfo.html (iPeng skin) does not get called anymore in 7.1 and 7.2 but some other page.
    Is there a change in these versions?
    ---
    learn more about iPeng, the iPhone and iPad remote for the Squeezebox and
    New: Logitech UE Smart Radio as well as iPeng Party, the free Party-App,
    at penguinlovesmusic.com

  2. #2
    Senior Member erland's Avatar
    Join Date
    Dec 2005
    Location
    Sweden
    Posts
    10,315
    I'm not sure which page you are supposed to override in 7.1, hopefully someone that actually knows can give you more information.

    However I had a quick look in the code and the "Song Info" page seems to be handled by xmlbrowser.html where the upper part seems to be delegated to songinfo_header.html.
    Erland Isaksson (My homepage)
    (Developer of many plugins/applets (both free and commercial).
    If you like to encourage future presence on this forum and/or third party plugin/applet development, consider purchasing some plugins)
    You may also want to try my Android apps Squeeze Display and RSS Photo Show
    Interested in the future of music streaming ? ickStream - A world of music at your fingertips.

  3. #3
    Senior Member pippin's Avatar
    Join Date
    Oct 2007
    Location
    Berlin
    Posts
    10,387
    Quote Originally Posted by erland View Post
    I'm not sure which page you are supposed to override in 7.1, hopefully someone that actually knows can give you more information.

    However I had a quick look in the code and the "Song Info" page seems to be handled by xmlbrowser.html where the upper part seems to be delegated to songinfo_header.html.
    that fits what I see. The output looks like output from xmlbrowser.
    Until 7.0.1 it was loading a file called songinfo.html.
    Actually I have no idea what this damn redirection is all about. It's now the second time it breaks my skin (the first one being playlist management, which I'm not going to fix) and I can see about zero useful reasons to do this since all you would have to do this to switch to another page in other skins is to change a single link in hreftemplates.
    ---
    learn more about iPeng, the iPhone and iPad remote for the Squeezebox and
    New: Logitech UE Smart Radio as well as iPeng Party, the free Party-App,
    at penguinlovesmusic.com

  4. #4
    Administrator andyg's Avatar
    Join Date
    Jan 2006
    Location
    Pittsburgh, PA
    Posts
    7,396

    songinfo redirection in 7.1ff?

    On Jul 20, 2008, at 6:35 AM, pippin wrote:

    >
    > erland;321427 Wrote:
    >> I'm not sure which page you are supposed to override in 7.1,
    >> hopefully
    >> someone that actually knows can give you more information.
    >>
    >> However I had a quick look in the code and the "Song Info" page seems
    >> to be handled by xmlbrowser.html where the upper part seems to be
    >> delegated to songinfo_header.html.

    >
    > that fits what I see. The output looks like output from xmlbrowser.
    > Until 7.0.1 it was loading a file called songinfo.html.
    > Actually I have no idea what this damn redirection is all about. It's
    > now the second time it breaks my skin (the first one being playlist
    > management, which I'm not going to fix) and I can see about zero
    > useful
    > reasons to do this since all you would have to do this to switch to
    > another page in other skins is to change a single link in
    > hreftemplates.


    songinfo has been replaced by trackinfo. You should still be able to
    use songinfo.html though, it's an alias for the same page. But yes
    under the hood that page is now running based on XMLBrowser.

    This came about as a result of http://bugs.slimdevices.com/show_bug.cgi?id=6930
    and a need to get rid of the 3 separate implementations of songinfo.

  5. #5
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    18,932

    songinfo redirection in 7.1ff?

    > songinfo has been replaced by trackinfo. You should still be able to
    > use songinfo.html though, it's an alias for the same page.


    Which means: you can still open songinfo.html, but your template isn't
    used any more. You'll have to modify xmlbrowser.html

    Michael

  6. #6
    Senior Member pippin's Avatar
    Join Date
    Oct 2007
    Location
    Berlin
    Posts
    10,387
    That's all fine but I still don't get why you need the redirections for this.
    What is the problem in just calling trackinfo.html instead of songinfo.html and let skins which have own code just use that.
    The fundamental issue in all this stems from the fact that you are not free to load any *.html page through the server but are bound to the pages that are being processed by the server.
    A good alternative - in my view - would be to be able to load any page and then get the parameters like - say - status.html.
    Currently I branch out status.html through parameters but this has the big drawback to break caching.
    ---
    learn more about iPeng, the iPhone and iPad remote for the Squeezebox and
    New: Logitech UE Smart Radio as well as iPeng Party, the free Party-App,
    at penguinlovesmusic.com

Posting Permissions

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