Home of the Squeezebox™ & Transporter® network music players.
Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20
  1. #11
    Quote Originally Posted by mherger View Post
    > I can render each variable to a table but I want to concatenate crudely
    > as follows:
    >
    > Squeezejs.ui.Tracknumber & "." & squeezejs.ui.Trackname <br>
    > Squeezejs.ui.Album <br>
    > Squeezejs.ui.Albumartist


    You wouldn't concatenate those items in code, but define different
    elements in your HTML to represent the items. Eg. every item expects an
    element ID where to render the data. Just put three <span> elements with
    the correct IDs in a row where you want to place them.

    --

    Michael
    Thanks

    Does Squeezejs.ui.Albumartist or Squeezejs.ui.Artist exist? They are not on the wiki.

  2. #12
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    19,805

    Album art full screen

    > Does Squeezejs.ui.Albumartist or Squeezejs.ui.Artist exist? They are not
    > on the wiki.


    There'se .Contributors. Not exactly the same, but comes closest.

    --

    Michael

  3. #13
    Thanks getting there.

    Any idea why my <br> tags don't work in my <td> ?

    https://pastebin.com/eGZSb1Vm

    End result should be:

    LHS - cover art
    RHS -

    Track no. & Title
    Album
    Artist

    This is to display on a large TV.

  4. #14
    Babelfish's Best Boy mherger's Avatar
    Join Date
    Apr 2005
    Location
    Switzerland
    Posts
    19,805

    Album art full screen

    > Any idea why my <br> tags don't work in my <td> ?

    Check its style definition using your browser's dev tools.

    --

    Michael

  5. #15
    Senior Member
    Join Date
    Feb 2011
    Location
    Cheshire, UK
    Posts
    2,898
    These days it should be <br /> - but that won't be the reason it doesn't work
    Pi3 pCp/LMS storage QNAP TS419p (NFS)
    Living Room - Joggler & SB3 -> Onkyo TS606 -> Celestion F20s
    Office - Pi3+Sreen -> Sony TAFE320 -> Celestion F10s / Pi2+DAC & SB3 -> Onkyo CRN755 -> Wharfedale Modus Cubes
    Dining Room -> SB Boom
    Kitchen -> UE Radio (upgraded to SB Radio)
    Bedroom (Bedside) - Pi2+DAC ->ToppingTP21 ->AKG Headphones
    Bedroom (TV) - SB Touch ->Sherwood AVR ->Mordaunt Short M10s
    Everything controlled by iPeng

  6. #16
    Finally solved and working, in browser it looks like below when set to full screen. Looks great on a large TV and auto updates when the track changes.

    Accessed by:
    http://URL_TO_SERVER:9000/html/SqueezeJS/now.html

    Stored on linux server at:
    /usr/share/squeezeboxserver/HTML/EN/html/SqueezeJS/now.html

    Screenshot
    Name:  now.png
Views: 103
Size:  182.8 KB

    File
    now.html.zip

    Thanks all for your help.
    Last edited by atca; 2017-10-06 at 12:10.

  7. #17
    Senior Member DJanGo's Avatar
    Join Date
    Sep 2005
    Location
    Germany
    Posts
    2,413
    Quote Originally Posted by atca View Post
    Screenshot
    Name:  now.png
Views: 103
Size:  182.8 KB
    funny ...
    These are some lines out of your now.html

    edit
    <!-- saved from url=(0074)http://192.168.1.100:9000/html/Squee...04:20:23:8d:5a -->
    thats the reason why ... you need to zip the file/folder direct from your server not download them via browser...
    /edit


    Code:
     <script type="text/javascript" src="./now_files/UI.js.download"></script>
    
     background: url("https://sxt.cdn.skype.com/assets/dropzone/saved.png") 
    
    
    <td>
    <span id="title">1. Hello</span><br>
    <span id="album">Hello</span><br>
    <span id="artist">Adele</span>
    </td>
    Last edited by DJanGo; 2017-10-05 at 23:02.

  8. #18
    Quote Originally Posted by DJanGo View Post
    funny ...
    These are some lines out of your now.html
    Good spot zip revised.

  9. #19
    Senior Member DJanGo's Avatar
    Join Date
    Sep 2005
    Location
    Germany
    Posts
    2,413
    Quote Originally Posted by atca View Post
    Finally solved and working, in browser it looks like below when set to full screen. Looks great on a large TV and auto updates when the track changes.

    Accessed by:
    http://URL_TO_SERVER:9000/html/SqueezeJS/now.html
    Hi.

    if you are using more than one player - the url shows always the last used player...

    Saver way is to add ?player=yo:url:ay:er:id to the link.
    eg http://URL_TO_SERVER:9000/html/Squee...fe:04:dj:an:g0

  10. #20
    Quote Originally Posted by DJanGo View Post
    Hi.

    if you are using more than one player - the url shows always the last used player...

    Saver way is to add ?player=yo:url:ay:er:id to the link.
    eg http://URL_TO_SERVER:9000/html/Squee...fe:04:dj:an:g0
    Yes aware of that but it doesn't seem to work for me.

    Sent from my Nexus 5 using Tapatalk

Posting Permissions

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