Add-on:XSqueezeDisplay: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 26: Line 26:


Here you can see it in action showing the time remaining on a video file, displayed on a Squeezebox 3:
Here you can see it in action showing the time remaining on a video file, displayed on a Squeezebox 3:
<img src="https://github.com/bossanova808/repository.squeeze.bossanova808/raw/master/downloads/Other%20Downloads/Images/XSD-800x592.jpg">
<img src="https://github.com/bossanova808/repository.squeeze.bossanova808/raw/master/downloads/Other%20Downloads/Images/XSD-800x592.jpg">


Line 40: Line 41:


You must have the perl module IO::Socket::SSL installed to download the addon from the repo (as github redirects everything to SSL). Seems to be present by default usually anyway on most common LMS systems (tested on Win7 and Linux Mint 17 with LMS 7.7+). If you need to install it, there is a guide to installing modules [http://www.cpan.org/modules/INSTALL.html here].
You must have the perl module IO::Socket::SSL installed to download the addon from the repo (as github redirects everything to SSL). Seems to be present by default usually anyway on most common LMS systems (tested on Win7 and Linux Mint 17 with LMS 7.7+). If you need to install it, there is a guide to installing modules [http://www.cpan.org/modules/INSTALL.html here].
'''Configuration'''
The data available is described here:
# Data is retrieved largely as is from kodi and with matching names.
# All tokens used above must be surrounded by square brackets.
# but you can do, e.g. '[-[time_remaining]]' to get '[-06:23]' for a time remaining counter
<code>
my %tokens  =  (  "[current_date]", "",                          #the date now (Uses your LMS format)
                    "[current_time]", "",                          #the time now (Uses your LMS format)
                    "[duration]", "",                              #presented in [HH:]MM:SS (hours not shown unless > 0)
                    "[totaltime]", "",                              #same as duration
                    "[time]", "",                                  #playback time presented in [HH:]MM:SS
                    "[time_remaining]", "",                        #playback time remaining presented in [HH:]MM:SS
                    "[percentage]", "",                            #playback percentage
                    "[title]", "",                                  #title of currently playing item, episode/album title e.g. "It is what it is"
                    "[season]", "",                                #Season number e.g. 3
                    "[episode]", "",                                #epsiode number e.g. 12
                    "[showtitle]", "",                              #Show title e.g. 'The Lost Room'
                    "[tvshowid]", "",                              #Probably not useful!
                    "[thumbnail]", "",                              #URL for the thumbnail image
                    "[file]", "",                                  #Path to the file (might change later to basename)
                    "[fanart]", "",                                #URL to fanart
                    "[album]", "",                                  #If audio playing, the album name
                    "[artist]", "",                                #Comma separated lists of artists for album
                    "[streamdetails_audio_channels]", "",          #Current selected audio, #of channels e.g. 2 for stereo
                    "[streamdetails_audio_codec]", "",              #Audio codec e.g. mp3
                    "[streamdetails_audio_language]", "",          #Language of selected audio, if available
                    "[streamdetails_subtile]", "",                  #Subtitle details
                    "[streamdetails_video_aspect]", "",            #Aspect ratio of the currently playing video, to two decimals, e..g 1.78
                    "[streamdetails_video_codec]", "",              #Codec of the video, e.g. h264
                    "[streamdetails_video_height]", "",            #height in pixels of currently playing video
                    "[streamdetails_video_width]", "",              #width in pixels of currently playing video
                    "[streamdetails_video_stereomode]", "",        #Not sure?
                    "[type]", ""                                    #E.g. 'episode'
                );
</code>


[[Category:Add-ons not in the XBMC.org repo]]
[[Category:Add-ons not in the XBMC.org repo]]

Revision as of 00:18, 16 April 2015

XSqueezeDisplay

Author: bossanova808

Type:
Repo:

License: GPL
Source: Source code
Summary: Display Kodi Now Playing information on Squeezebox hardware
Home icon grey.png   ▶ Add-ons ▶ XSqueezeDisplay
Attention talk.png Need help with this add-on? See here.

Display Kodi Now Playing information on Squeezebox hardware - supports SB2, Sb3, SB Classic and probably even SliMP3 - the line based players.

(This is not an addon for Kodi itself, rather it is an addon for Logitech Media Server). It allows you to display Kodi Now Playing information on Squeezebox hardware - supports SB2, Sb3, SB Classic and probably even SliMP3 - the line based players.

Here you can see it in action showing the time remaining on a video file, displayed on a Squeezebox 3:

<img src="https://github.com/bossanova808/repository.squeeze.bossanova808/raw/master/downloads/Other%20Downloads/Images/XSD-800x592.jpg">


To install this repo on your Logitech Media Server, go to LMS->Settings->Plugins and add this repo at the end:

http://github.com/bossanova808/repository.squeeze.bossanova808/raw/master/staging/repo.xml

Restart your LMS. You should then be able to install the addon from the repo and will receive updates automatically etc.

To configure the addon and see instructions, go to LMS->Settings->Plugins->XSqueezeDisplay->Settings.

N.B

You must have the perl module IO::Socket::SSL installed to download the addon from the repo (as github redirects everything to SSL). Seems to be present by default usually anyway on most common LMS systems (tested on Win7 and Linux Mint 17 with LMS 7.7+). If you need to install it, there is a guide to installing modules here.

Configuration

The data available is described here:

  1. Data is retrieved largely as is from kodi and with matching names.
  2. All tokens used above must be surrounded by square brackets.
  3. but you can do, e.g. '[-[time_remaining]]' to get '[-06:23]' for a time remaining counter

my %tokens = ( "[current_date]", "", #the date now (Uses your LMS format)

                   "[current_time]", "",                           #the time now (Uses your LMS format)
                   "[duration]", "",                               #presented in [HH:]MM:SS (hours not shown unless > 0)
                   "[totaltime]", "",                              #same as duration
                   "[time]", "",                                   #playback time presented in [HH:]MM:SS
                   "[time_remaining]", "",                         #playback time remaining presented in [HH:]MM:SS
                   "[percentage]", "",                             #playback percentage
                   "[title]", "",                                  #title of currently playing item, episode/album title e.g. "It is what it is"
                   "[season]", "",                                 #Season number e.g. 3
                   "[episode]", "",                                #epsiode number e.g. 12
                   "[showtitle]", "",                              #Show title e.g. 'The Lost Room'
                   "[tvshowid]", "",                               #Probably not useful!
                   "[thumbnail]", "",                              #URL for the thumbnail image
                   "[file]", "",                                   #Path to the file (might change later to basename)
                   "[fanart]", "",                                 #URL to fanart
                   "[album]", "",                                  #If audio playing, the album name
                   "[artist]", "",                                 #Comma separated lists of artists for album
                   "[streamdetails_audio_channels]", "",           #Current selected audio, #of channels e.g. 2 for stereo
                   "[streamdetails_audio_codec]", "",              #Audio codec e.g. mp3
                   "[streamdetails_audio_language]", "",           #Language of selected audio, if available
                   "[streamdetails_subtile]", "",                  #Subtitle details
                   "[streamdetails_video_aspect]", "",             #Aspect ratio of the currently playing video, to two decimals, e..g 1.78
                   "[streamdetails_video_codec]", "",              #Codec of the video, e.g. h264
                   "[streamdetails_video_height]", "",             #height in pixels of currently playing video
                   "[streamdetails_video_width]", "",              #width in pixels of currently playing video
                   "[streamdetails_video_stereomode]", "",         #Not sure?
                   "[type]", ""                                    #E.g. 'episode'
               );