Re: [SlimDevices: Plugins] TitleSwitcher and MusicInfoScreen on squeezeboxserver 7.4

2010-01-26 Thread chris . mason

erland;510303 Wrote: 
 You need to define them in SBS Settings/Interface/Title formats. The
 Title Switcher plugin only allows formats defined there to be used.


Ah right, got it!  Thanks again.

Chris.


-- 
chris.mason

chris.mason's Profile: http://forums.slimdevices.com/member.php?userid=3323
View this thread: http://forums.slimdevices.com/showthread.php?t=70061

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] TitleSwitcher and MusicInfoScreen on squeezeboxserver 7.4

2010-01-26 Thread dip

Isn't that great for classical music?!
I love it :)


-- 
dip

dip's Profile: http://forums.slimdevices.com/member.php?userid=902
View this thread: http://forums.slimdevices.com/showthread.php?t=70061

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] TitleSwitcher and MusicInfoScreen on squeezeboxserver 7.4

2010-01-26 Thread chris . mason

dip;510601 Wrote: 
 Isn't that great for classical music?!
 I love it :)

Absolutely!  I spotted this thread whilst installing the new server and
looking for interesting plugins.  Thanks to Erland's help, I've got it
working now.


-- 
chris.mason

chris.mason's Profile: http://forums.slimdevices.com/member.php?userid=3323
View this thread: http://forums.slimdevices.com/showthread.php?t=70061

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] TitleSwitcher and MusicInfoScreen on squeezeboxserver 7.4

2010-01-25 Thread chris . mason

Forgive me for hijacking this thread, but I'm trying to do exactly what
the OP (dip) has done, but I can't understand how to set this up.

What I would like to do is display TITLE (ARTIST) then switch to
CONDUCTOR (COMPOSER) or something like that.

I can't get my head around what I'm supposed to set up where to get
this to work.  Could someone (Erland perhaps) give me some pointers on
how to do this?

From what I can see, in Titleswitcher setup you can switch between
single formats, such as ARTIST or TITLE, rather than groups of them.


TIA!
Chris.


-- 
chris.mason

chris.mason's Profile: http://forums.slimdevices.com/member.php?userid=3323
View this thread: http://forums.slimdevices.com/showthread.php?t=70061

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] TitleSwitcher and MusicInfoScreen on squeezeboxserver 7.4

2010-01-25 Thread erland

chris.mason;510273 Wrote: 
 
 What I would like to do is display TITLE (ARTIST) then switch to
 CONDUCTOR (COMPOSER) or something like that.
 
 I can't get my head around what I'm supposed to set up where to get
 this to work.  Could someone (Erland perhaps) give me some pointers on
 how to do this?
 
 From what I can see, in Titleswitcher setup you can switch between
 single formats, such as ARTIST or TITLE, rather than groups of them.
 
I'm not sure if I remember this correctly, so let me know if it doesn't
work.

I think you should setup in Title Switcher settings something like:
TITLECONDUCTOR=TITLE:5,CONDUCTOR:5
ARTISTCOMPOSER=ARTIST:5,COMPOSER:5

In SBS settings, you setup a title format:
TITLESWITCHERTITLECONDUCTOR (TITLESWITCHERARTISTCOMPOSER)

And then in Music Information Screen, you also select to display:
TITLESWITCHERTITLECONDUCTOR (TITLESWITCHERARTISTCOMPOSER)


-- 
erland

Erland Isaksson
'My homepage' (http://erland.isaksson.info) (Install my plugins through
Extension Downloader)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan,  Custom Skip, Multi Library, Title Switcher and Database
Query plugins'
(http://wiki.erland.isaksson.info/index.php/Category:SlimServer))

erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=70061

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] TitleSwitcher and MusicInfoScreen on squeezeboxserver 7.4

2010-01-25 Thread chris . mason

Thanks for such a prompt reply Erland.

I've just tried giving this a go, and the problem I'm having is that if
I put in a title format such as CONDUCTOR or COMPOSER in TitleSwitcher,
they get rejected with the error Invalid format.

I've tested that CONDUCTOR and COMPOSER can be used by SBS by
specifying them as usable formats for the UI.  Is there anything I
should be doing to enable Titleswitcher to recognise them?

As a side note, if I put in TITLE, ARTIST, ALBUM, they all work fine.


-- 
chris.mason

chris.mason's Profile: http://forums.slimdevices.com/member.php?userid=3323
View this thread: http://forums.slimdevices.com/showthread.php?t=70061

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] TitleSwitcher and MusicInfoScreen on squeezeboxserver 7.4

2010-01-19 Thread dip

Erland,
just to let you know, Michael has changed some code in SBS and his MIS
plugin and now everything works fine. So there is no need for a
workaround in the TitleSwitcher plugin. Great!!


-- 
dip

dip's Profile: http://forums.slimdevices.com/member.php?userid=902
View this thread: http://forums.slimdevices.com/showthread.php?t=70061

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] TitleSwitcher and MusicInfoScreen on squeezeboxserver 7.4

2010-01-19 Thread erland

dip;507986 Wrote: 
 Erland,
 just to let you know, Michael has changed some code in SBS and his MIS
 plugin and now everything works fine. So there is no need for a
 workaround in the TitleSwitcher plugin. Great!!
 
Thanks for notifying me


-- 
erland

Erland Isaksson
'My homepage' (http://erland.isaksson.info) (Install my plugins through
Extension Downloader)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan,  Custom Skip, Multi Library, Title Switcher and Database
Query plugins'
(http://wiki.erland.isaksson.info/index.php/Category:SlimServer))

erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=70061

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] TitleSwitcher and MusicInfoScreen on squeezeboxserver 7.4

2010-01-08 Thread dip

Thanks, I will try to figure it out.


-- 
dip

dip's Profile: http://forums.slimdevices.com/member.php?userid=902
View this thread: http://forums.slimdevices.com/showthread.php?t=70061

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] TitleSwitcher and MusicInfoScreen on squeezeboxserver 7.4

2010-01-07 Thread dip

erland;501764 Wrote: 
 Unfortunately I've decided to stop all third party development:
 http://forums.slimdevices.com/showthread.php?p=492451#post492451
 
 However, Title Switcher is a fairly small plugin so if you are willing
 to learn som perl you might be able to do the modifications yourself.
It's very sad that you stopped third party development, although I can
understand you after having read the mentioned thread.

I use CustomBrowse, CustomScan, MultiLibrary and TitleSwitcher and
cannot think about not using these plugins. In particular for browsing
classical music these plugins are a must have for me.

I don't know perl but may have a look at the TitleSwitcher plugin. Can
I beg you to provide me with a starting point in which region of the
code I should start to look for the COMPOSER problem?

Anyway, thanks a lot for your past efforts and your great plugins!


-- 
dip

dip's Profile: http://forums.slimdevices.com/member.php?userid=902
View this thread: http://forums.slimdevices.com/showthread.php?t=70061

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] TitleSwitcher and MusicInfoScreen on squeezeboxserver 7.4

2010-01-07 Thread erland

dip;503824 Wrote: 
 
 I don't know perl but may have a look at the TitleSwitcher plugin. Can
 I beg you to provide me with a starting point in which region of the
 code I should start to look for the COMPOSER problem?
 

MusicInfoSCR has code like this in the Info.pm file:

Code:


  if (Slim::Music::Info::isRemoteURL($song-url)) {
  # work around https://bugs.slimdevices.com/show_bug.cgi?id=14872
  $formattedString =~ s/\b(?:COMPOSER|CONDUCTOR|BAND)\b//g;
  }
  



This will remove the COMPOSER, CONDUCTOR and BAND keywords from
$formattedString for remote tracks.

I think you will need to do something similar in Title Switcher plugin,
probably somewhere before the call to
Plugins::MusicInfoSCR::Info::getFormatString


-- 
erland

Erland Isaksson
'My homepage' (http://erland.isaksson.info) (Install my plugins through
Extension Downloader)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan,  Custom Skip, Multi Library, Title Switcher and Database
Query plugins'
(http://wiki.erland.isaksson.info/index.php/Category:SlimServer))

erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=70061

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] TitleSwitcher and MusicInfoScreen on squeezeboxserver 7.4

2010-01-02 Thread dip

erland;481860 Wrote: 
 
 Are we sure COMPOSER,BAND and CONDUCTOR never can exist for online
 radio stations ?
 If we are I can apply a similar fix in Title Switcher plugin as Michael
 already has done in MusicInfoSCR that doesn't show these values for
 online radio stations.I have never seen theses tags set in any online radio 
 station. Is there
a chance that you will provide such a fix? That would be great!


-- 
dip

dip's Profile: http://forums.slimdevices.com/member.php?userid=902
View this thread: http://forums.slimdevices.com/showthread.php?t=70061

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] TitleSwitcher and MusicInfoScreen on squeezeboxserver 7.4

2010-01-02 Thread erland

dip;501695 Wrote: 
 I have never seen theses tags set in any online radio station. Is there
 a chance that you will provide such a fix? That would be great!

Unfortunately I've decided to stop all third party development:
http://forums.slimdevices.com/showthread.php?p=492451#post492451

However, Title Switcher is a fairly small plugin so if you are willing
to learn som perl you might be able to do the modifications yourself.


-- 
erland

Erland Isaksson
'My homepage' (http://erland.isaksson.info) (Install my plugins through
Extension Downloader)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan,  Custom Skip, Multi Library, Title Switcher and Database
Query plugins'
(http://wiki.erland.isaksson.info/index.php/Category:SlimServer))

erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=70061

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] TitleSwitcher and MusicInfoScreen on squeezeboxserver 7.4

2009-11-04 Thread dip

erland;481491 Wrote: 
 Could you try if the latest Custom Scan version (2.7.3) solves this ?
 
 I haven't been able to reproduce the problem in my own setup but 2.7.3
 should at least get rid of the errors in the log so if this was the
 cause it might solve the problem.I have now installed Custom Scan 2.7.3 and 
 TitleSwitcher 1.1.3 but
unfortunately this does not solve my problem. Display for Internet
streams still switches between artist and playist name (or whatever the
displayed string represents).

Do I have to initiate a new scan to make the changes of Custom Scan
effective? At the moment I only restarted squeezebox server but did not
rescan my music.

Should I provide you with more information (e.g. my server.prefs and my
titlesswitcher.prefs and musicinfo.prefs). Perhaps it depends on a
setting that you cannot reproduce this problem.


-- 
dip

dip's Profile: http://forums.slimdevices.com/member.php?userid=902
View this thread: http://forums.slimdevices.com/showthread.php?t=70061

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] TitleSwitcher and MusicInfoScreen on squeezeboxserver 7.4

2009-11-04 Thread erland

dip;481587 Wrote: 
 
 Do I have to initiate a new scan to make the changes of Custom Scan
 effective? At the moment I only restarted squeezebox server but did not
 rescan my music.
 
No, you don't need to perform a rescan.

dip;481587 Wrote: 
 
 Should I provide you with more information (e.g. my server.prefs and my
 titlesswitcher.prefs and musicinfo.prefs). Perhaps it depends on a
 setting that you cannot reproduce this problem.
 
Please post or send me your titleswitcher.prefs and musicinfo.prefs


-- 
erland

Erland Isaksson
'My homepage' (http://erland.isaksson.info) (Install my plugins through
Extension Downloader)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan,  Custom Skip, Multi Library, Title Switcher and Database
Query plugins'
(http://wiki.erland.isaksson.info/index.php/Category:SlimServer))

erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=70061

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] TitleSwitcher and MusicInfoScreen on squeezeboxserver 7.4

2009-11-04 Thread dip

erland;481660 Wrote: 
 Please post or send me your titleswitcher.prefs and musicinfo.prefs
Here they are (with additional log extension to allow upload). If I can
help you in any further way, please let me know.


+---+
|Filename: titleswitcher.prefs.log  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=8632|
+---+

-- 
dip

dip's Profile: http://forums.slimdevices.com/member.php?userid=902
View this thread: http://forums.slimdevices.com/showthread.php?t=70061

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] TitleSwitcher and MusicInfoScreen on squeezeboxserver 7.4

2009-11-03 Thread erland

dip;480715 Wrote: 
 Erland, do you have any idea what could cause the wrong display? It is
 still there consequently for ALL internet streams I use.
 

Could you try if the latest Custom Scan version (2.7.3) solves this ?

I haven't been able to reproduce the problem in my own setup but 2.7.3
should at least get rid of the errors in the log so if this was the
cause it might solve the problem.


-- 
erland

Erland Isaksson
'My homepage' (http://erland.isaksson.info) (Install my plugins through
Extension Downloader)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan,  Custom Skip, Multi Library, Title Switcher and Database
Query plugins'
(http://wiki.erland.isaksson.info/index.php/Category:SlimServer))

erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=70061

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] TitleSwitcher and MusicInfoScreen on squeezeboxserver 7.4

2009-11-02 Thread dip

Erland, do you have any idea what could cause the wrong display? It is
still there consequently for ALL internet streams I use.


-- 
dip

dip's Profile: http://forums.slimdevices.com/member.php?userid=902
View this thread: http://forums.slimdevices.com/showthread.php?t=70061

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] TitleSwitcher and MusicInfoScreen on squeezeboxserver 7.4

2009-10-26 Thread dip

I have just seen that on the settings page of MusicInfoScr there is an
option Show playlist name for online streams. In the info it is
described that online streams sometimes don't have the artist and/or the
album tag set and with this option enabled the playlist name of the
online stream can be displayed instead of an empty tag.

I have tried this option but it makes no difference in the display
output which is correct since the tag concerned in the present case is
the COMPOSER tag. However, could it be that TitleSwitcher, MusicInfoScr
or even a core component of Squeezebox Server displays the playlist
name (whatever this is in an online stream) if the COMPOSER tag is
empty? As alreday mentioned, it seems that always the name of the menu
item is displayed at which the PLAY button was pressed, so it could be
that this is be default the playlist name. And since in some cases the
COMPOSER and the ARTIST are treated similarly (there is e.g. an option
to include composer in the search for artist) there could be a cross
connection which lead to the present problem.

At the moment it seems that the problem is related to the TitleSwitcher
plugin since it does not show up if MusicInfoScr is used without
TitleSwitcher. But the replacement rule could in my opinion even be
defined in the core of Squeezebox Server and there is only a wrong
handling how TitleSwitcher communicates the empty COMPOSER tag to the
core component.

I have no idea if this makes sense but if I can give you any
information which could help to track down this bug I will do.


-- 
dip

dip's Profile: http://forums.slimdevices.com/member.php?userid=902
View this thread: http://forums.slimdevices.com/showthread.php?t=70061

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] TitleSwitcher and MusicInfoScreen on squeezeboxserver 7.4

2009-10-26 Thread dip

Are there any news to this problem? Can I test anything further?


-- 
dip

dip's Profile: http://forums.slimdevices.com/member.php?userid=902
View this thread: http://forums.slimdevices.com/showthread.php?t=70061

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] TitleSwitcher and MusicInfoScreen on squeezeboxserver 7.4

2009-10-23 Thread dip

erland;476201 Wrote: 
 Could you enable debug logging on plugin.musicinfoscr and
 plugin.titleswitcher and post the log after you have viewed it switching
 to the incorrect values at least once ?
Here is my server.log with debug logging enabled.


+---+
|Filename: server.log   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=8518|
+---+

-- 
dip

dip's Profile: http://forums.slimdevices.com/member.php?userid=902
View this thread: http://forums.slimdevices.com/showthread.php?t=70061

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] TitleSwitcher and MusicInfoScreen on squeezeboxserver 7.4

2009-10-23 Thread Michael Herger
 Second, the string that is incorrectly displayed is not the contents of
 the TITLE tag. I tested now several different internet radio stations
 and in addition Deezer. It seems that instead of COMPOSER the name of
 the last menu item is displayed that was shown when I pressed PLAY. For
 example, when I browse to Internet Radio - Our Recommendations - Most
 popular - radioioJazz and then press PLAY the display switches between
 e.g. My Way (Frank Sinatra) and My Way (radioioJazz).

Could you try with only MIS (without the switcher plugin) in order to make sure 
whether it's a MIS only bug, or only when both are being used?
___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] TitleSwitcher and MusicInfoScreen on squeezeboxserver 7.4

2009-10-23 Thread dip

mherger;476300 Wrote: 
  Second, the string that is incorrectly displayed is not the contents
 of
  the TITLE tag. I tested now several different internet radio
 stations
  and in addition Deezer. It seems that instead of COMPOSER the name
 of
  the last menu item is displayed that was shown when I pressed PLAY.
 For
  example, when I browse to Internet Radio - Our Recommendations -
 Most
  popular - radioioJazz and then press PLAY the display switches
 between
  e.g. My Way (Frank Sinatra) and My Way (radioioJazz).
 
 Could you try with only MIS (without the switcher plugin) in order to
 make sure whether it's a MIS only bug, or only when both are being used?
I have now defined a format string

TITLE - ARTIST - COMPOSER - CUSTOMSCAN_CUSTOMTAG_GROUPING-

and set MIS to use this string (without TitleSwitcher). In this case
the display is alwasy correct, for music from my library and also for
internet radio, Deezer and last.fm. For local music which comprises
COMPOSER and GROUPING all four tags are displayed and for local music
without these tags as well as for internet radio, Deezer and last.fm
only Title - Artist is displayed.

So it seems that this is a problem of TitleSwitcher.

I enclose my server.log file showing the playback of the music with the
above test format string.


+---+
|Filename: server.log   |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=8528|
+---+

-- 
dip

dip's Profile: http://forums.slimdevices.com/member.php?userid=902
View this thread: http://forums.slimdevices.com/showthread.php?t=70061

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] TitleSwitcher and MusicInfoScreen on squeezeboxserver 7.4

2009-10-22 Thread dip

In MIS 4.4.5 it's better but still not correct.

I shortly tested it this morning. In last.fm I selected PLAY on menu
item My Recommendations. The display switched then between Thriller
(Michael Jackson) and Thriller (My Recommendations). The second one
is obviously wrong. It seems that TITLE (ARTIST) is handled correctly
and in GROUPING (COMPOSER) the GROUPING part is correctly not switched
(since GROUPING is empty) but the COMPOSER part is switched although
COMPOSER is also empty and somehow the string My Recommendation is
displayed.

For internet radio the display switched between Top 40-Pop (Bayern 3
97,3) and Top 40-Pop (Bayern 3 97,3(Top 40 Popmusik)). Again the
first is correct and the second (comprising the COMPOSER part) is
incorrect. The funny thing is that the additional string (Top 40
Popmusik) with the additional parantheses cannot be found in the
properties of the radio station. None of the tags which can be shown by
pressing RIGHT comprises this string.


-- 
dip

dip's Profile: http://forums.slimdevices.com/member.php?userid=902
View this thread: http://forums.slimdevices.com/showthread.php?t=70061

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] TitleSwitcher and MusicInfoScreen on squeezeboxserver 7.4

2009-10-22 Thread erland

If I remember correctly I think this is some default handling in
Slim/Music/Info.pm that uses TITLE if no format is provided. Could this
describe what you are seeing ?


-- 
erland

Erland Isaksson
'My homepage' (http://erland.isaksson.info) (Install my plugins through
Extension Downloader)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan,  Custom Skip, Multi Library, Title Switcher and Database
Query plugins'
(http://wiki.erland.isaksson.info/index.php/Category:SlimServer))

erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=70061

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] TitleSwitcher and MusicInfoScreen on squeezeboxserver 7.4

2009-10-22 Thread dip

erland;475991 Wrote: 
 If I remember correctly I think this is some default handling in
 Slim/Music/Info.pm that uses TITLE if no format is provided. Could this
 describe what you are seeing ?No, that's not what I'm seeing. 

First, as far as I understand the ARTIST/COMPOSER part of my format
definition should not switch at all since COMPOSER is empty. This works
correctly for the TITLE/GROUPING part which does correctly not switch.

Second, the string that is incorrectly displayed is not the contents of
the TITLE tag. I tested now several different internet radio stations
and in addition Deezer. It seems that instead of COMPOSER the name of
the last menu item is displayed that was shown when I pressed PLAY. For
example, when I browse to Internet Radio - Our Recommendations - Most
popular - radioioJazz and then press PLAY the display switches between
e.g. My Way (Frank Sinatra) and My Way (radioioJazz). 

The same is true for last.fm and Deezer. When I browse to My Apps -
Deezer - Radio - Jazz - Jazz vocal and then press PLAY the display
switches between My Way (Frank Sinatra) and My Way (Jazz vocal).
And, as previously described, when I browse to My Apps - Last.fm - My
Stations - My Recommendations and then press PLAY the display switches
between My Way (Frank Sinatra) and My Way (My Recommendations).

The first part of the format TITLESWITCHERTITLEGROUPING
(TITLESWITCHERARTISTCOMPOSER) correctly shows always TITLE (since
GROUPING is always empty) but the second part switches between ARTIST
(which is correct) and the fixed name of the last menu item (although is
should remain to show ARTIST since COMPOSER is empty).


-- 
dip

dip's Profile: http://forums.slimdevices.com/member.php?userid=902
View this thread: http://forums.slimdevices.com/showthread.php?t=70061

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] TitleSwitcher and MusicInfoScreen on squeezeboxserver 7.4

2009-10-22 Thread erland

Could you enable debug logging on plugin.musicinfoscr and
plugin.titleswitcher and post the log after you have viewed it switching
to the incorrect values at least once ?


-- 
erland

Erland Isaksson
'My homepage' (http://erland.isaksson.info) (Install my plugins through
Extension Downloader)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan,  Custom Skip, Multi Library, Title Switcher and Database
Query plugins'
(http://wiki.erland.isaksson.info/index.php/Category:SlimServer))

erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=70061

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] TitleSwitcher and MusicInfoScreen on squeezeboxserver 7.4

2009-10-21 Thread dip

Michael Herger has now released a new version of MusicInfoScr (4.4.4).
With this new version the errors in server.log are gone. Now the display
for music from last.fm and internet radio stations does no longer switch
(wich is correct since neither COMPOSER nor GROUPING is set) but instead
of the artist name the string TITLESWITCHERARTIST is constantly
displayed.

For example

Top 40-Pop (TITLESWITCHERARTIST)

instead of Top 40-Pop (Bayern 3 97,3)

for internet radio station Bayern 3

or

Thriller (TITLESWITCHERARTIST)

instead of Thriller (Michael Jackson)

for music from Last.fm.

Is that a bug in the TitleSwitcher Plugin?


-- 
dip

dip's Profile: http://forums.slimdevices.com/member.php?userid=902
View this thread: http://forums.slimdevices.com/showthread.php?t=70061

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] TitleSwitcher and MusicInfoScreen on squeezeboxserver 7.4

2009-10-21 Thread dip

Michael Herger has just explained that in his new version of
MusicInfoScr the COMPOSER tag is removed when an online stream is
played. 

I have the impression that also the substring COMPOSER is removed from
the string TITLESWITCHERARTISTCOMPOSER which would result in
TITLESWITCHERARTIST. Since this string is unknown to TitleSwitcher it
cannot be resolved and is displayed. Does this sound reasonable?

Anyway, I enclose my titleswitcher.prefs and musicinfo.prefs files for
your information (with log extension since prefs files cannot be
uploaded).


+---+
|Filename: titleswitcher.prefs.log  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=8511|
+---+

-- 
dip

dip's Profile: http://forums.slimdevices.com/member.php?userid=902
View this thread: http://forums.slimdevices.com/showthread.php?t=70061

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] TitleSwitcher and MusicInfoScreen on squeezeboxserver 7.4

2009-10-21 Thread erland

dip;475611 Wrote: 
 Michael Herger has just explained that in his new version of
 MusicInfoScr the COMPOSER tag is removed when an online stream is
 played. 
 
It feels like a bug in MusicInfoSCR then, because it shouldn't remove
COMPOSER when it's part of a bigger word. It's fine to remove it in a
title format like ARTIST - COMPOSER where it's listed as a separate
word, but not in TITLESWITCHERARTISTCOMPOSER where it's part of a
bigger word.

But maybe Michael spots this thread so he can let's know if it's a bug
or not.


-- 
erland

Erland Isaksson
'My homepage' (http://erland.isaksson.info) (Install my plugins through
Extension Downloader)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan,  Custom Skip, Multi Library, Title Switcher and Database
Query plugins'
(http://wiki.erland.isaksson.info/index.php/Category:SlimServer))

erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=70061

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] TitleSwitcher and MusicInfoScreen on squeezeboxserver 7.4

2009-10-21 Thread Michael Herger
 Michael Herger has just explained that in his new version of
 MusicInfoScr the COMPOSER tag is removed when an online stream is
 played.

 It feels like a bug in MusicInfoSCR then, because it shouldn't remove
 COMPOSER when it's part of a bigger word.

It doesn't remove it. It only does not evaluate it on remote streams. It does 
return an empty value for COMPOSER in that case.
___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


Re: [SlimDevices: Plugins] TitleSwitcher and MusicInfoScreen on squeezeboxserver 7.4

2009-10-21 Thread Michael Herger
 It feels like a bug in MusicInfoSCR then, because it shouldn't remove
 COMPOSER when it's part of a bigger word.

Oh, now I see what you mean. I'm sorry, yes, this might be my problem. Watch 
out for 4.4.5...
___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins


[SlimDevices: Plugins] TitleSwitcher and MusicInfoScreen on squeezeboxserver 7.4

2009-10-20 Thread dip

I use the TitleSwitcher and MusicInfoScreen plugins to switch display
every 15 seconds between 

TITLE (ARTIST) and GROUPING (COMPOSER)

i.e. for example Molto vivace (Leonard Bernstein) and Symphony No. 9
(Beethoven, Ludwig van)

GROUPING is a tag scanned with the CustomScan plugin in which I store
the work title for classical music. For non-classical music GROUPING and
COMPOSER are empty since I set the composer only for classical music.

Since the TitleSwitcher plugin does only switch display if the used
tags are not empty, the result is that for non-classical music the
display of my squeezbox always shows TITLE (ARTIST) while the switching
described above takes place only for classical music. For me that is a
perfect solution that takes into account that for classical music
composer, artist, work, and movement (which is stored in TITLE) should
be displayed while for non-classical music only artist and track title
should be displayed.

This worked perfectly with SC 7.3 for all kind of music sources. In 7.4
it works only correctly for music from my local library but it does not
work correctly for music from internet radios and last.fm.

For example, when I hear music from last.fm the display switches
between

TITLE (ARTIST) and  TITLE

If you look into the enclosed server.log it seems that the
MusicInfoScreen plugin has problems with the COMPOSER tag which is not
set for the last.fm music (although there are no problems with my own
non-classical music for which this tag is also not set).

Same problem happens with internet radio. For example, if I hear radio
station Bayern 3 the display switches between

Top-40 Pop (Bayern 3 97,3) and Top-40 Pop

Note that Top-40 Pop is always the contents of the TITLE tag and
Bayern 3 97,3 is the contents of the ARTIST tag for this radio station
since the real artist names and titles are not transmitted. Of course
the GROUPING and the COMPOSER tags are not set so it seems to be the
same problem as with last.fm.

I don't know if it is a problem with the TitleSwitcher or with the
MusicInfoScreen plugin. But I know that it worked perfectly with SC 7.3
even for last.fm and internet radio.

I enclose also screenshots from the settings for TitleSwitcher and
MusicInfoScreen.

Erland and Michael, could you please look into this problem and check
which plugin causes the problem? 

Thanks a lot for your efforts.


+---+
|Filename: MusicInfoScreen.jpg  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=8495|
+---+

-- 
dip

dip's Profile: http://forums.slimdevices.com/member.php?userid=902
View this thread: http://forums.slimdevices.com/showthread.php?t=70061

___
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins