PDA

View Full Version : Slim Player (internet radio, mp3, wma, etc from SlimServer)


Pages : 1 [2]

mkanet
03-12-2008, 09:03 PM
I've never been able to get that to work; and, as far as I got. If you figure it out I'd like to know too.

Seeing Pandora on here got my attention...

However, even after adding my softsqueeze pin, I still get the popup saying "You do not have any players registered... Am I missing something?

briands
03-12-2008, 09:18 PM
Also.... kind of off topic, but is there any chance the spiffy duet (http://www.slimdevices.com/welcome_sbd.html?gclid=COaI06mdiZICFQg4gQodoyAKAQ)would be able to control a softsqueeze player (and of course I mean running in Sage) That would be a sweet music controller when you dont want to fire up the TV for music selection.

pleyraki
04-01-2008, 02:35 AM
Hi.

I am now an old user of the plugin, which is excellent. But after downloading ver 1.2, I have problems quite often:

While playing, the server (squeezebox) seems to lock: The display I have set up with LCDsmartie says "no server". After that the whole sage tv hangs.

If I kill sagetv and restart squeezeserver normally, then restart sagetv, everything is back to normal.

Any ideas? Mine is that, as I have a slow machine (fanless via 1.2GHz), the squeezeserver cannot cope, because maybe the plugin uses much more computer cycles than the previous version? Else maybe the squeezeserver has an option to "slow down" its work?

Thanks

koelec
04-01-2008, 02:14 PM
While playing, the server (squeezebox) seems to lock: The display I have set up with LCDsmartie says "no server". After that the whole sage tv hangs.

If I kill sagetv and restart squeezeserver normally, then restart sagetv, everything is back to normal.

Any ideas? Mine is that, as I have a slow machine (fanless via 1.2GHz), the squeezeserver cannot cope, because maybe the plugin uses much more computer cycles than the previous version? Else maybe the squeezeserver has an option to "slow down" its work?

Thanks
I suspect that squeezecenter uses more CPU cycles and for sure more memory. Make sure you have enough memory installed, to ensure the system is not swapping to disk. The LCDsmatie plugin polls the sqeeuzecenter and when that doesn't respond in time it starts showing the "no server" message.
Can you take a look at cpu and memory usage with windows task manager?

To find out the cause try using softsqueeze player or realplayer instead of slim player in sagetv (restart sagetv and don't go to slim player menu) and see if the problem still occurs. Monitor memory and cpu usage when you do this.

As a last resort you could setup a server somewhere in the basement connect both to a local LAN and offload you're little fanless machine by running squeezecenter and maybe some other apps on that machine instead.

- Chris

koelec
04-01-2008, 02:30 PM
Seeing Pandora on here got my attention...

However, even after adding my softsqueeze pin, I still get the popup saying "You do not have any players registered... Am I missing something?

Seems it only works with a paid pandora account.
see this post on squeezecenter forum:
http://forums.slimdevices.com/showthread.php?t=44575&highlight=pandora+softsqueeze

- chris

mkanet
04-02-2008, 02:31 PM
Chris, I just paid for a full year of the pandora account and also registered with Slacker hoping to use it with SageTV. After successfully getting it to work with SoftSqueeze 3.6, I just discovered a serious bug in SageTV with the current slimplayer.jar.

It does not handle the switching of music stations during playback from Music Services. I can listen to one station the very first time, if I try to play another station from Pandora or Slacker (while its still playing), the audio will start streaming for the new station but NO SOUND, or the audio starts jumping back and forth between to new radio station and the old one.

Again, this is very reproducable. I have no issues using the latest SoftSqueeze 3.6. Am I really the first person to try this??

Anyway Chris, could you please look into this?

Thanks!
Michael

koelec
04-03-2008, 01:08 AM
Chris, I just paid for a full year of the pandora account and also registered with Slacker hoping to use it with SageTV. After successfully getting it to work with SoftSqueeze 3.6, I just discovered a serious bug in SageTV with the current slimplayer.jar.

It does not handle the switching of music stations during playback from Music Services. I can listen to one station the very first time, if I try to play another station from Pandora or Slacker (while its still playing), the audio will start streaming for the new station but NO SOUND, or the audio starts jumping back and forth between to new radio station and the old one.

Again, this is very reproducable. I have no issues using the latest SoftSqueeze 3.6. Am I really the first person to try this??

Anyway Chris, could you please look into this?

Thanks!
Michael

Since Pandora and Slacker are US only services I'm not able to reproduce the problem. The problem is that squeezecenter is not very consistent in handling commands from clients concerning different sources. I've time to look into the problem on friday night. I'll compare how softsqueeze switches stations and my own implementation and probably find a solution for this.
I hope I can count on you Michael to test a version before releasing it.

- Chris

mkanet
04-03-2008, 08:25 AM
Thanks Chris, I'll assist you any way I can. If I'm not mistaken you're 9 hours ahead of me. I might be asleep by the time you start looking at the issue, since I have to wake up early to work the next day. But, I'll send you some more detailed information via PM along with my direct email address. Also, I'll have time on my Friday and the weekend, if you need to work with me real-time.

-Michael

Since Pandora and Slacker are US only services I'm not able to reproduce the problem. The problem is that squeezecenter is not very consistent in handling commands from clients concerning different sources. I've time to look into the problem on friday night. I'll compare how softsqueeze switches stations and my own implementation and probably find a solution for this.
I hope I can count on you Michael to test a version before releasing it.

- Chris

pleyraki
05-25-2008, 10:31 AM
Well, this is a followup:

I have located the source to the problem: The problem exists (the plugin hangs but can be revived if you stop the Slimserver) if and only if there are items (folder names, file names etc) that have accented characters!

I mainly have a problem because Greek are included in "accented characters", but I suppose that you could reproduce and correct the error by using a song with a filename that has an accented char in it (e.g. "Mario Bauza' and his orchestra").

The moment you try to navigate to this file from slimclient for sage, the revolving "wait" icon appears and you can only kill sage or stop the slimserver to get SageTV to work again.

Please note that SoftSqueeze doesn't have any problem with accented chars.

Would you please try to correct the bug? Thanks.
I suspect that squeezecenter uses more CPU cycles and for sure more memory. Make sure you have enough memory installed, to ensure the system is not swapping to disk. The LCDsmatie plugin polls the sqeeuzecenter and when that doesn't respond in time it starts showing the "no server" message.
Can you take a look at cpu and memory usage with windows task manager?

To find out the cause try using softsqueeze player or realplayer instead of slim player in sagetv (restart sagetv and don't go to slim player menu) and see if the problem still occurs. Monitor memory and cpu usage when you do this.

As a last resort you could setup a server somewhere in the basement connect both to a local LAN and offload you're little fanless machine by running squeezecenter and maybe some other apps on that machine instead.

- Chris

koelec
05-26-2008, 02:22 PM
pleyraki,
I tried to reproduce this, but did not succeed. The plugin just displays a rectangle character instead of the accented character, which is of course wrong but doesn't hang sage. I'll try to correct this, and maybe this will cure you're problem as well. In the mean time you could help me if you could enable debug logging for the plugin and send me the resultat log file.
In the file log4j.xml change the value attribute from INFO to DEBUG:

<category name="nl.cmkprojects.sage" additivity="false">
<priority value="INFO" />
<appender-ref ref="SageAppender" />
</category>

restart sage
reproduce the problem
send me the zipped log file sagetv_0.txt (PM message)
(maybe you have to enable sage debug logging in sage.properties file)
Don't forget to change log level to INFO again afterwards.

- Chris

koelec
05-28-2008, 09:10 AM
pleyraki,
The problem with the accented characters was not caused by the plugin.
Installing SqueezeCenter version 7.0.1 fixes this problem.
See mentioning of this in the release notes below:
New SqueezeCenter 7.0.1 features

Added

* Support for SIRIUS Internet Radio (U.S. only)
* Support for Mac OS X aliases

Improved

* Network connectivity with certain wireless access points.
* Non-english language support in SqueezeCenter and on Squeezebox Controller
* Handling of non-latin characters in tags
* Handling of tags with special punctuation characters
* Performance when displaying album art

Fixed

* Problems connecting to Apple Extreme routers (including Time Capsule)
* Problems reading and parsing OGG format tags
* WMA playback on non-Windows platforms

koelec
05-28-2008, 12:31 PM
Just discovered that when you start using SqueezeCenter 7.0.1 with the LCDSmartie plugin for SqueezeCenter I wrote about here:
http://forums.sagetv.com/forums/showthread.php?t=20296&page=13
that the LCD display will show "no player" all the time, even when the slimplayer plugin for Sage is up and running. This is caused by the fact that in version 7.0.1 the player has no default name attached. You can simply correct this by setting a name for the player in the SqeeuzeCenter Settings Player tab.

pleyraki
05-29-2008, 04:06 AM
pleyraki,
The problem with the accented characters was not caused by the plugin.
Installing SqueezeCenter version 7.0.1 fixes this problem.
See mentioning of this in the release notes below:
New SqueezeCenter 7.0.1 features


Yeap, you are right as usual. Tested OK. Thanks.

mkanet
05-31-2008, 01:48 PM
Chris, I'm guessing you didnt get a chance to try the new native Sirius Radio addon for SqueezeCenter 7.0.1 when you made this post.

Until 2:00am this morning (May 31), the Sirius Radio feature was completey broken for everyone except people with hardware players like a SqueezeBox.

I contacted a developer yesterday at Logitech to fix this problem and he just added the fix to last night's build of Version SC 7.0.2.

The download is not available on their website... but can be downloaded here:

http://www.slimdevices.com/downloads/nightly/latest/7.0/SqueezeCenter-7.0.2-20378.exe

I'm not 100% sure, but I think you need to replace SoftSqueeze.jar in the SageTV jars folder with the brand new one from the latest build of 7.02.

Using the native Sirius feature of SC is more useful than the 3rd party version since with the native version you can directly add your favorite stations into your global "Favorites" stations list. Also youre able to add Sirius Stations as playlists... (in case you want want to set your SC alarm to wake you up to a specific channel). I just set my HTPC to wake me up at 6am with the Howard Stern show on Sirius Radio.

I finally have a global Favorites list with (Sirius Radio, Slacker, Pandora, Podcasts, and Shoutcasts).

http://i67.photobucket.com/albums/h283/mkanet/siriusnew2.jpg

pleyraki,
The problem with the accented characters was not caused by the plugin.
Installing SqueezeCenter version 7.0.1 fixes this problem.
See mentioning of this in the release notes below:
New SqueezeCenter 7.0.1 features

Added

* Support for SIRIUS Internet Radio (U.S. only)
* Support for Mac OS X aliases

Improved

* Network connectivity with certain wireless access points.
* Non-english language support in SqueezeCenter and on Squeezebox Controller
* Handling of non-latin characters in tags
* Handling of tags with special punctuation characters
* Performance when displaying album art

Fixed

* Problems connecting to Apple Extreme routers (including Time Capsule)
* Problems reading and parsing OGG format tags
* WMA playback on non-Windows platforms

bjkiller
06-27-2008, 01:39 PM
Do Slim Player plugin play via HD Extender?

amthar
06-29-2008, 07:31 AM
I, too, would like to know if the HD100 extenders properly display the SlimServer plugin.

I'd also like to know if the slimplayer plugin supports "synching" between slim players. One of the truely awesome features, in my opinion, of slimserver and it's players is the ability for players to synch with other players. You can have a song playing in synch across your whole house, or just two rooms while other rooms play something different. Does the plugins support this? I know Softsqueeze by itself does.

koelec
07-01-2008, 08:48 AM
I, too, would like to know if the HD100 extenders properly display the SlimServer plugin.

Unfortuately no extender support. I guess you can install the plugin on an extender and operate the slimplayer UI, but audio playback will be from the server.


I'd also like to know if the slimplayer plugin supports "synching" between slim players. One of the truely awesome features, in my opinion, of slimserver and it's players is the ability for players to synch with other players. You can have a song playing in synch across your whole house, or just two rooms while other rooms play something different. Does the plugins support this? I know Softsqueeze by itself does.
This might actually work since slimplayer is based on softsqueeze code, but haven't tried this myself.

- Chris

mkanet
07-01-2008, 09:12 AM
Oh cool! I didnt think about synching either! I am curious if this works.

Unfortuately no extender support. I guess you can install the plugin on an extender and operate the slimplayer UI, but audio playback will be from the server.


This might actually work since slimplayer is based on softsqueeze code, but haven't tried this myself.

- Chris

amthar
07-02-2008, 09:34 AM
Unfortuately no extender support. I guess you can install the plugin on an extender and operate the slimplayer UI, but audio playback will be from the server.


Can you elaborate a bit more on this? The HD100 supports loading the STV Slim Player plugin or some other Slim Player plugin?

This would be extremely awesome.

I'm OK with the slim player plugin talking to SlimServer and streaming the audio from it. I just want my wife to be able to browse and choose songs from the TV so everything is in one place (rather than having her use the SqueezeBox physical remote control for audio and then the TV for video). If I can get it so she can watch TV, watch a DVD and listen to music off of my slimserver all from one unified interface (SageTV), I would pretty much achieve 100% WAF.

pjpjpjpj
07-02-2008, 10:48 AM
If I can get it so she can watch TV, watch a DVD and listen to music off of my slimserver all from one unified interface (SageTV), I would pretty much achieve 100% WAF.

Unless something major changes (that would bring great joy to many of us), you will only get 2 out of 3 any time soon. Read over on the "general discussion" boards and "extender" boards and any time a "wish list" thread pops up, one of the most-requested features is the ability to stream internet music through the HD100. But it's not supported and there has been no indication that it is in the works. Sorry. :(

For now, you'll just have to load up all of your MP3s on a drive, make a few wife-friendly playlists, and have her play one "on random"... :D

mkanet
08-14-2008, 10:49 PM
Am I the only person that noticed that this plugin completely stops working after upgrading the the current version of Squeezecenter? (Version 7.1)

BBCritical
08-23-2008, 08:13 PM
Does this plugin work with squeezecenter 7.1?

mkanet
08-23-2008, 08:19 PM
Actually, it works fine with Squeezecenter 7.1. I'm not sure how far into the future "Softsqueeze" will be supported; but, until then, it works.

dblaine2
09-11-2008, 06:15 PM
It used to work and I don't know what is that I changed that broke it. Now I upgraded to the current latest (6.0.19), imported the plugin and it still does not work. To make sure all files are intact, I copied all SlimPlayer plugin files over once again, but it made no difference. By "broke" I mean it does show the Slim Player screen, but then immediately shows popup message "Error: found unresolved Classes, please ensure null is present in the JARS folder of SageTV". I attached my log file. Any help is highly appreciated.
Thanks!

I get this same error about "null is present..." after installing 6.3.10. I checked and I only have log4j.jar in the Sage JARs folder.... What gives?

dblaine2
09-26-2008, 03:46 PM
OK, I figured some things out here. A newer log4j.jar comes from the comskip plugin. (It requires it - cuz I tried replacing it with the older one from this STVi).

Anybody have this STVi working with all the current code?

mkanet
09-26-2008, 03:53 PM
I dont use comskip. Everything works correctly for me as far as i can tell.

log4j.jar
Modified: ‎Wednesday, ‎September ‎12, ‎2007, ‏‎9:45:48 PM
Size: 349 KB (358,085 bytes)

OK, I figured some things out here. A newer log4j.jar comes from the comskip plugin. (It requires it - cuz I tried replacing it with the older one from this STVi).

Anybody have this STVi working with all the current code?

mkanet
09-28-2008, 04:05 PM
Hi Chris, I tried getting a hold of you a couple of times before. I am curious how far along you are in supporting Squeezeplay for SageTV (SqueezeCenter 7.3)?

http://downloads.slimdevices.com/nightly/latest/7.3/

Softsqueeze has been abandoned a while back by Logitech; and most likely going to stop working soon. I am hoping for an easy upgrade to the next version of Slimplayer using Squeezeplay's jar. Is it goingto be called "Squeezeplayer" or still keep the name "Slim Player"?

I will donate again in hopes you can get this working soon!

Thanks so much for making the most useful plugin for sageTV.

-Michael

koelec
09-29-2008, 08:42 AM
OK, I figured some things out here. A newer log4j.jar comes from the comskip plugin. (It requires it - cuz I tried replacing it with the older one from this STVi).

Anybody have this STVi working with all the current code?
Hi,
I will check it out on wednesday. Don't have time before that.
- Chris

koelec
09-29-2008, 08:46 AM
Hi Chris, I tried getting a hold of you a couple of times before. I am curious how far along you are in supporting Squeezeplay for SageTV (SqueezeCenter 7.3)?

http://downloads.slimdevices.com/nightly/latest/7.3/

Softsqueeze has been abandoned a while back by Logitech; and most likely going to stop working soon. I am hoping for an easy upgrade to the next version of Slimplayer using Squeezeplay's jar. Is it goingto be called "Squeezeplayer" or still keep the name "Slim Player"?

I will donate again in hopes you can get this working soon!

Thanks so much for making the most useful plugin for sageTV.

-Michael

Hi Micheal,
Don't worry, softsqueeze still working with 7.3. As soon as squeezeplay is working fully I'll look into it.
- Chris

mkanet
09-29-2008, 09:33 AM
Thanks Chris!

Hi Micheal,
Don't worry, softsqueeze still working with 7.3. As soon as squeezeplay is working fully I'll look into it.
- Chris

mkanet
09-30-2008, 08:39 AM
Hey Chris, while I have your attention, can you tell me what Slim Player has to do with the below error message in Server.log that keeps showing up over and over again? And, It would be great if there's a fix for this. I am very sure it has to do with Slim Player; as it doesnt happen before starting sageTV's slimplayer menu.


[08-09-29 16:33:58.0802] Slim::Plugin::CLI::Plugin::cli_process (627) Request [artist] failed with error: Bad dispatch!
[08-09-29 16:33:58.3558] Slim::Control::Request::execute (1887) Error: While trying to run function coderef [Slim::Control::Queries::cursonginfoQuery]: [Can't call method "name" on an undefined value at /<C:\PROGRA~1\SQUEEZ~1\server\SQUEEZ~1.EXE>Slim/Control/Queries.pm line 882.

mkanet
10-01-2008, 01:53 AM
Chris, I wouldn't bother you unless I was certain there's a bug in Slim Player. Please see the above error message which happens over and over again in the server.log. I know that Slimplayer is causing this since it only happens when Slimplayer is playing Internet radio station. This does not happen with Softsqueeze.

Any chance you could please look into this?

Thanks in advance!
Michael

koelec
10-01-2008, 08:01 AM
OK, I figured some things out here. A newer log4j.jar comes from the comskip plugin. (It requires it - cuz I tried replacing it with the older one from this STVi).

Anybody have this STVi working with all the current code?

I've looked into this. I don't think the comskip plugin comes with a log4j.jar file. Can you show me which plugin exactly you're referring to?
- Chris

koelec
10-01-2008, 08:37 AM
Chris, I wouldn't bother you unless I was certain there's a bug in Slim Player. Please see the above error message which happens over and over again in the server.log. I know that Slimplayer is causing this since it only happens when Slimplayer is playing Internet radio station. This does not happen with Softsqueeze.

Any chance you could please look into this?

Thanks in advance!
Michael
Michael,

It's a bug in squeezecenter. SlimPlayer plugin issues the following CLI commands repeatedly (5 seconds apart):
<playerid> artist ?
If the current playing stream is a remote stream (internet radio) then squeezecenter will fail on the artist ? command and log an error in server.log.
The CLI api does not state this command is only allowed when non remote streams are playing, so I consider this to be a bug in SC. In this case the artist ? query should probably fail silently.

cheers,
- Chris

mkanet
10-01-2008, 10:16 AM
Chris, I will try my best to get one of the developers to fix this problem. But, in case I can't, could you tell me which logging events do I need to turn off in order not to keep sending these messages to server.log? After a week of running my server.log grows so big I can barely open it into memory.

Thanks for looking into this,
Michael

Michael,

It's a bug in squeezecenter. SlimPlayer plugin issues the following CLI commands repeatedly (5 seconds apart):
<playerid> artist ?
If the current playing stream is a remote stream (internet radio) then squeezecenter will fail on the artist ? command and log an error in server.log.
The CLI api does not state this command is only allowed when non remote streams are playing, so I consider this to be a bug in SC. In this case the artist ? query should probably fail silently.

cheers,
- Chris

kha
10-01-2008, 08:37 PM
Quote:
Originally Posted by kha
Hi Chris,

Thank you for your reply. Below please find a screenshot showing the problem with the favorites display. Please let me know if any additional information could be helpful for debugging.

Thank you very much for your help!

Best Regards,
Michael.

http://forums.sagetv.com/forums/attachment.php?attachmentid=7227&d=1222740716

Quote:
Originally Posted by koelec
Quote:
Originally Posted by kha
Hello,

First of all, thank you very much for developing very useful plug-in.

I have a question... For some reason my squeezecenter favorites which contain non-english characters in their names do not display correctly in Sage. Actually, the names show just fine at the bottom status pane. However, the characters are garbled in the right Favorite list pane. Would you have any suggestions on how this could be fixed. If this is helpful, I can send you a screenshot showing the problem.

Best Regards,
Michael.

Hi Michael,
I do remember having such a problem in a previous version, and fixing it. Maybe it did not include the favorites texts. Could you please send me a screenshot for reproduction.?
thanks,
Chris

bjkiller
10-02-2008, 12:28 AM
I has same problem with russian and hebrew tags in mp3 files, i converted all tags to unicode it's resolved the problem. I used unicode-rewrite freeware program.

mkanet
10-02-2008, 03:22 AM
Chris, I'm happy to say I got a SqueezeCenter developer to fix this bug in just one day!

http://bugs.slimdevices.com/show_bug.cgi?id=9622

The latest nightly build fixes this problem:

http://downloads.slimdevices.com/nightly/latest/7.2/

Thanks!
Michael

Michael,

It's a bug in squeezecenter. SlimPlayer plugin issues the following CLI commands repeatedly (5 seconds apart):
<playerid> artist ?
If the current playing stream is a remote stream (internet radio) then squeezecenter will fail on the artist ? command and log an error in server.log.
The CLI api does not state this command is only allowed when non remote streams are playing, so I consider this to be a bug in SC. In this case the artist ? query should probably fail silently.

cheers,
- Chris

koelec
10-02-2008, 03:32 AM
Quote:
Originally Posted by kha
Hi Chris,

Thank you for your reply. Below please find a screenshot showing the problem with the favorites display. Please let me know if any additional information could be helpful for debugging.

Thank you very much for your help!

Best Regards,
Michael.

http://forums.sagetv.com/forums/attachment.php?attachmentid=7227&d=1222740716

Quote:
Originally Posted by koelec
Quote:
Originally Posted by kha
Hello,

First of all, thank you very much for developing very useful plug-in.

I have a question... For some reason my squeezecenter favorites which contain non-english characters in their names do not display correctly in Sage. Actually, the names show just fine at the bottom status pane. However, the characters are garbled in the right Favorite list pane. Would you have any suggestions on how this could be fixed. If this is helpful, I can send you a screenshot showing the problem.

Best Regards,
Michael.

Hi Michael,
I do remember having such a problem in a previous version, and fixing it. Maybe it did not include the favorites texts. Could you please send me a screenshot for reproduction.?
thanks,
Chris

Found out it's a problem caused by both this plugin and squeezecenter.
With squeezecenter 7.1/7.2 both playlist names and favorites items do not handle international characters properly.
With slimserver 6.5 only favorites items fail, caused by a bug in this plugin. I've corrected this in the slimplayer plugin code. But this will not help when you are using 7.1 or 7.2. I will try to submit a bug report for this with the squeezecenter team. I will post an updated slimplayer.jar file later this week. Remeber that this will only solve the problem for slimserver 6.5 users.

- Chris

kha
10-02-2008, 09:21 PM
Hi Chris,

Thank you very much! I really appreciate your help and it would be great if you could submit a bug for me to the Squeezecenter developers. I have to point though that I am using version 7.2 of the SquezzeCenter and with either SoftSqueeze or with the Squeezebox Boom the fonts for the favorites come fine.

Once again, thank you very much for your help!

Best Regards,
Michael.

koelec
10-04-2008, 01:31 PM
Hi Chris,

Thank you very much! I really appreciate your help and it would be great if you could submit a bug for me to the Squeezecenter developers. I have to point though that I am using version 7.2 of the SquezzeCenter and with either SoftSqueeze or with the Squeezebox Boom the fonts for the favorites come fine.

Once again, thank you very much for your help!

Best Regards,
Michael.

Hi Michael,
I've submitted a bug report on the issue with the Squeezecenter developers.
Softsqueeze and Squeezebox boom don't use the Command line interface, so they don't suffer from the problem.

Meanwhile I was able to bypass the problem by adding just one single line of code to the source code of the slimplayer plugin. This fixes the problem altogether and will even work once they have fixed it in the CLI. (There were additional characters in the CLI's output which shouldn't be there. It is always the same pattern %83%C3 unicode which will never appear as such in proper results.)

Just copy the attached slimplayer.jar file (extract zip file first) over the existing one in the jars folder of your SageTV installation. Restart SageTV.

cheers
- chris

kha
10-05-2008, 10:07 PM
Hi Chris,

Thank you very much for submitting the bug report and for the explanation about teh CLI. Also, thank you for preparing the patched jar file. If I understood correctly, it was supposed to use brute force and remove %83%C3 characters. Unfortunately I have to report that even with teh new jar file teh characters in Favorites appear corrupted (to speak frankly I did not notice any difference at all. Can I provide any additional debugging info?

Regards,
Michael


Hi Michael,
I've submitted a bug report on the issue with the Squeezecenter developers.
Softsqueeze and Squeezebox boom don't use the Command line interface, so they don't suffer from the problem.

Meanwhile I was able to bypass the problem by adding just one single line of code to the source code of the slimplayer plugin. This fixes the problem altogether and will even work once they have fixed it in the CLI. (There were additional characters in the CLI's output which shouldn't be there. It is always the same pattern %83%C3 unicode which will never appear as such in proper results.)

Just copy the attached slimplayer.jar file (extract zip file first) over the existing one in the jars folder of your SageTV installation. Restart SageTV.

cheers
- chris

koelec
10-06-2008, 12:57 AM
Hi Chris,

Thank you very much for submitting the bug report and for the explanation about teh CLI. Also, thank you for preparing the patched jar file. If I understood correctly, it was supposed to use brute force and remove %83%C3 characters. Unfortunately I have to report that even with teh new jar file teh characters in Favorites appear corrupted (to speak frankly I did not notice any difference at all. Can I provide any additional debugging info?

Regards,
Michael

Hi Michael,
Please make sure the new slimplayer.jar is in the jars folder (overwriting the older one) and that you have restarted SageTV.
You can enable debug logging by modifying the log4j.xml file in the sagetv folder: change INFO level to DEBUG. Stop Sagetv. add following line to sagetv.properties:
debug_logging=TRUE
Then restart Sage and goto slimplayer menu. After favorites are listed open up sagetv_0.txt in notepad and look for lines like .... favorites 0 256 ... near the end of the file.
If they are there post the txt file here, so I can check.
Don't forget to turnoff debug logging again by setting debug_logging=False in sagetv.properties.

- Chris

kha
10-06-2008, 09:12 PM
Hi Chris,

Here is the log I got after enabling debugging on my Sage Client (sagetvclient_0.txt).

Please let me know if any additional info could help.

Regards,
Michael

Mon 10/6 22:07:39.015 [SlimTCP-1] DEBUG nl.cmkprojects.sage.slimplayer.SlimPlayerImpl - cmd: strmt
Mon 10/6 22:07:39.016 [SlimTCP-1] DEBUG nl.cmkprojects.sage.slimplayer.SlimPlayerImpl - title=null
Mon 10/6 22:07:39.016 [SlimTCP-1] DEBUG nl.cmkprojects.sage.slimplayer.CliCon - send cli msg: 36%3A02%3A83%3Aa4%3A3f%3Ae4 artist ?
Mon 10/6 22:07:39.024 [SlimTCP-1] DEBUG nl.cmkprojects.sage.slimplayer.CliCon - got reply 36%3A02%3A83%3Aa4%3A3f%3Ae4 artist
Mon 10/6 22:07:39.024 [SlimTCP-1] DEBUG nl.cmkprojects.sage.slimplayer.CliCon - send cli msg: 36%3A02%3A83%3Aa4%3A3f%3Ae4 remote ?
Mon 10/6 22:07:39.025 [SlimTCP-1] DEBUG nl.cmkprojects.sage.slimplayer.CliCon - got reply 36%3A02%3A83%3Aa4%3A3f%3Ae4 remote 1
Mon 10/6 22:07:39.025 [SlimTCP-1] DEBUG nl.cmkprojects.sage.slimplayer.CliCon - send cli msg: 36%3A02%3A83%3Aa4%3A3f%3Ae4 current_title ?
Mon 10/6 22:07:39.026 [SlimTCP-1] DEBUG nl.cmkprojects.sage.slimplayer.CliCon - got reply 36%3A02%3A83%3Aa4%3A3f%3Ae4 current_title 04.10.2008%2011%3A09%20(%D0%A7%D0%B0%D1%81%D1%82%D1%8C%201)
Mon 10/6 22:07:39.026 [SlimTCP-1] DEBUG nl.cmkprojects.sage.slimplayer.CliCon - send cli msg: 36%3A02%3A83%3Aa4%3A3f%3Ae4 mode ?
Mon 10/6 22:07:39.027 [SlimTCP-1] DEBUG nl.cmkprojects.sage.slimplayer.CliCon - got reply 36%3A02%3A83%3Aa4%3A3f%3Ae4 mode stop
Mon 10/6 22:07:39.029 [SlimTCP-1] DEBUG nl.cmkprojects.sage.slimplayer.CliCon - send cli msg: 36%3A02%3A83%3Aa4%3A3f%3Ae4 favorites items 0 256 want_url:1
Mon 10/6 22:07:39.035 [SlimTCP-1] DEBUG nl.cmkprojects.sage.slimplayer.CliCon - got reply 36%3A02%3A83%3Aa4%3A3f%3Ae4 favorites items 0 256 want_url%3A1 title%3AFavorites id%3A0 name%3A%C3%90%C2%AD%C3%91%C2%85%C3%90%C2%BE%20%C3%90%C2%9C%C3%90%C2%BE%C3%91%C2%81%C3%90%C2%BA%C3%90%C2%B2%C3%91%C2%8B type%3Aaudio url%3Ahttp%3A%2F%2Fw02-sw01.akadostream.ru%3A8000%2Fmoscowecho128.mp3.m3u isaudio%3A1 hasitems%3A0 id%3A1 name%3A%C3%90%C2%AE%C3%90%C2%BC%C3%90%C2%BE%C3%91%C2%80%20%C3%90%C2%A4%C3%90%C2%9C type%3Aaudio url%3Ahttp%3A%2F%2Frealaudio.aradio.ru%2FRadioDisco isaudio%3A1 hasitems%3A0 id%3A2 name%3A%C3%90%C2%9D%C3%90%C2%B0%C3%91%C2%88%C3%90%C2%B5%20%C3%90%C2%A0%C3%90%C2%B0%C3%90%C2%B4%C3%90%C2%B8%C3%90%C2%BE type%3Aaudio url%3Ahttp%3A%2F%2Fradiostream.akado.ru%2Fplaylist%2Fradio.m3u%3Fstation%3Dnashe%26stream%3D128 isaudio%3A1 hasitems%3A0 id%3A3 name%3A%C3%90%C2%A0%C3%90%C2%B0%C3%90%C2%B4%C3%90%C2%B8%C3%90%C2%BE%20%C3%90%C2%A8%C3%90%C2%B0%C3%90%C2%BD%C3%91%C2%81%C3%90%C2%BE%C3%90%C2%BD type%3Aaudio url%3Ahttp%3A%2F%2F83.222.4.42%3A8880%2Flisten.pls isaudio%3A1 hasitems%3A0 id%3A4 name%3A%C3%90%C2%94%C3%90%C2%B5%C3%91%C2%82%C3%91%C2%81%C3%90%C2%BA%C3%90%C2%BE%C3%90%C2%B5%20%C3%90%C2%A0%C3%90%C2%B0%C3%90%C2%B4%C3%90%C2%B8%C3%90%C2%BE type%3Aaudio url%3Amms%3A%2F%2F87.242.72.62%2Fdetifm%3FWMBitrate%3D129000 isaudio%3A1 hasitems%3A0 id%3A5 name%3A%C3%90%C2%9C%C3%90%C2%B0%C3%91%C2%8F%C3%90%C2%BA type%3Aaudio url%3Ahttp%3A%2F%2Fopml.radiotime.com%2FStationPlaylist.axd%3FstationId%3D14105%26username%3Dsampletime isaudio%3A1 hasitems%3A0 id%3A6 name%3A%C3%90%C2%90%C3%90%C2%B2%C3%91%C2%82%C3%90%C2%BE%20%C3%90%C2%A0%C3%90%C2%B0%C3%90%C2%B4%C3%90%C2%B8%C3%90%C2%BE type%3Aaudio url%3Ahttp%3A%2F%2Fopml.radiotime.com%2FStationPlaylist.axd%3FstationId%3D65355%26username%3Dsampletime isaudio%3A1 hasitems%3A0 id%3A7 name%3A%C3%90%C2%A0%C3%90%C2%B0%C3%90%C2%B4%C3%90%C2%B8%C3%90%C2%BE%20%C3%90%C2%A0%C3%90%C2%B5%C3%91%C2%82%C3%91%C2%80%C3%90%C2%BE type%3Aaudio url%3Ahttp%3A%2F%2Fopml.radiotime.com%2FStationPlaylist.axd%3FstationId%3D16332%26username%3Dsampletime isaudio%3A1 hasitems%3A0 id%3A8 name%3A%C3%90%C2%A1%C3%90%C2%B5%C3%91%C2%80%C3%90%C2%B5%C3%90%C2%B1%C3%91%C2%80%C3%91%C2%8F%C3%90%C2%BD%C3%91%C2%8B%C3%90%C2%B9%20%C3%90%C2%B4%C3%90%C2%BE%C3%90%C2%B6%C3%90%C2%B4%C3%91%C2%8C type%3Aaudio url%3Ahttp%3A%2F%2Fopml.radiotime.com%2FStationPlaylist.axd%3FstationId%3D17552%26username%3Dsampletime isaudio%3A1 hasitems%3A0 id%3A9 name%3A%C3%90%C2%92%C3%90%C2%B5%C3%91%C2%81%C3%91%C2%82%C3%90%C2%B8%20%C3%90%C2%A4%C3%90%C2%9C type%3Aaudio url%3Ahttp%3A%2F%2Fopml.radiotime.com%2FStationPlaylist.axd%3FstationId%3D86668%26username%3Dsampletime isaudio%3A1 hasitems%3A0 id%3A10 name%3A%C3%90%C2%A0%C3%91%C2%83%C3%91%C2%81%C3%91%C2%81%C3%90%C2%BA%C3%90%C2%BE%C3%90%C2%B5%20%C3%90%C2%A0%C3%90%C2%B0%C3%90%C2%B4%C3%90%C2%B8%C3%90%C2%BE type%3Aaudio url%3Ahttp%3A%2F%2Fopml.radiotime.com%2FStationPlaylist.axd%3FstationId%3D36071%26username%3Dsampletime isaudio%3A1 hasitems%3A0 id%3A11 name%3AKUT type%3Aaudio url%3Ahttp%3A%2F%2Fopml.radiotime.com%2FStationPlaylist.axd%3FstationId%3D35962%26username%3Dsampletime isaudio%3A1 hasitems%3A0 id%3A12 name%3AKUT-HD2%20(Talk) type%3Aaudio url%3Ahttp%3A%2F%2Fopml.radiotime.com%2FStationPlaylist.axd%3FstationId%3D53086%26username%3Dsampletime isaudio%3A1 hasitems%3A0 id%3A13 name%3AKUT-HD3%20(Jazz) type%3Aaudio url%3Ahttp%3A%2F%2Fopml.radiotime.com%2FStationPlaylist.axd%3FstationId%3D67084%26username%3Dsampletime isaudio%3A1 hasitems%3A0 id%3A14 name%3A%C3%90%C2%A7%C3%90%C2%B5%C3%90%C2%BB%C3%90%C2%BE%C3%90%C2%B2%C3%90%C2%B5%C3%90%C2%BA%20%C3%90%C2%B8%C3%90%C2%B7%20%C3%91%C2%82%C3%90%C2%B5%C3%90%C2%BB%C3%90%C2%B5%C3%90%C2%B2%C3%90%C2%B8%C3%90%C2%B7%C3%90%C2%BE%C3%91%C2%80%C3%90%C2%B0 type%3Alnk url%3Ahttp%3A%2F%2Fwww.echo.msk.ru%2Fprograms%2Fpersontv%2Frss-audio.xml isaudio%3A0 hasitems%3A1 count%3A15
Mon 10/6 22:07:39.037 [SlimTCP-1] DEBUG nl.cmkprojects.sage.slimplayer.CliCon - send cli msg: 36%3A02%3A83%3Aa4%3A3f%3Ae4 remote ?
Mon 10/6 22:07:39.039 [SlimTCP-1] DEBUG nl.cmkprojects.sage.slimplayer.CliCon - got reply 36%3A02%3A83%3Aa4%3A3f%3Ae4 remote 1
Mon 10/6 22:07:39.039 [SlimTCP-1] DEBUG nl.cmkprojects.sage.slimplayer.CliCon - send cli msg: 36%3A02%3A83%3Aa4%3A3f%3Ae4 title ?
Mon 10/6 22:07:39.041 [SlimTCP-1] DEBUG nl.cmkprojects.sage.slimplayer.CliCon - got reply 36%3A02%3A83%3Aa4%3A3f%3Ae4 title 04.10.2008%2011%3A09%20(%D0%A7%D0%B0%D1%81%D1%82%D1%8C%201)
Mon 10/6 22:07:39.041 [SlimTCP-1] DEBUG nl.cmkprojects.sage.slimplayer.CliCon - send cli msg: 36%3A02%3A83%3Aa4%3A3f%3Ae4 displaynow ? ?
Mon 10/6 22:07:39.042 [SlimTCP-1] DEBUG nl.cmkprojects.sage.slimplayer.CliCon - got reply 36%3A02%3A83%3Aa4%3A3f%3Ae4 displaynow SoftSqueeze%20Home Now%20Playing
Mon 10/6 22:07:39.047 [SlimTCP-1] DEBUG nl.cmkprojects.sage.slimplayer.CliCon - send cli msg: 36%3A02%3A83%3Aa4%3A3f%3Ae4 remote ?
Mon 10/6 22:07:39.049 [SlimTCP-1] DEBUG nl.cmkprojects.sage.slimplayer.CliCon - got reply 36%3A02%3A83%3Aa4%3A3f%3Ae4 remote 1
Mon 10/6 22:07:39.049 [SlimTCP-1] DEBUG nl.cmkprojects.sage.slimplayer.CliCon - send cli msg: 36%3A02%3A83%3Aa4%3A3f%3Ae4 title ?
Mon 10/6 22:07:39.051 [SlimTCP-1] DEBUG nl.cmkprojects.sage.slimplayer.CliCon - got reply 36%3A02%3A83%3Aa4%3A3f%3Ae4 title 04.10.2008%2011%3A09%20(%D0%A7%D0%B0%D1%81%D1%82%D1%8C%201)
Mon 10/6 22:07:39.051 [SlimTCP-1] DEBUG nl.cmkprojects.sage.slimplayer.CliCon - send cli msg: 36%3A02%3A83%3Aa4%3A3f%3Ae4 displaynow ? ?
Mon 10/6 22:07:39.052 [SlimTCP-1] DEBUG nl.cmkprojects.sage.slimplayer.CliCon - got reply 36%3A02%3A83%3Aa4%3A3f%3Ae4 displaynow SoftSqueeze%20Home Now%20Playing

koelec
10-08-2008, 06:07 AM
Hi Chris,

Here is the log I got after enabling debugging on my Sage Client (sagetvclient_0.txt).

Please let me know if any additional info could help.

Regards,
Michael

Mon 10/6 22:07:39.015 [SlimTCP-1] DEBUG nl.cmkprojects.sage.slimplayer.SlimPlayerImpl - cmd: strmt
Mon 10/6 22:07:39.016 [SlimTCP-1] DEBUG nl.cmkprojects.sage.slimplayer.SlimPlayerImpl - title=null
Mon 10/6 22:07:39.016 [SlimTCP-1] DEBUG nl.cmkprojects.sage.slimplayer.CliCon - send cli msg: 36%3A02%3A83%3Aa4%3A3f%3Ae4 artist ?
Mon 10/6 22:07:39.024 [SlimTCP-1] DEBUG nl.cmkprojects.sage.slimplayer.CliCon - got reply 36%3A02%3A83%3Aa4%3A3f%3Ae4 artist
Mon 10/6 22:07:39.024 [SlimTCP-1] DEBUG nl.cmkprojects.sage.slimplayer.CliCon - send cli msg: 36%3A02%3A83%3Aa4%3A3f%3Ae4 remote ?
Mon 10/6 22:07:39.025 [SlimTCP-1] DEBUG nl.cmkprojects.sage.slimplayer.CliCon - got reply 36%3A02%3A83%3Aa4%3A3f%3Ae4 remote 1
Mon 10/6 22:07:39.025 [SlimTCP-1] DEBUG nl.cmkprojects.sage.slimplayer.CliCon - send cli msg: 36%3A02%3A83%3Aa4%3A3f%3Ae4 current_title ?
Mon 10/6 22:07:39.026 [SlimTCP-1] DEBUG nl.cmkprojects.sage.slimplayer.CliCon - got reply 36%3A02%3A83%3Aa4%3A3f%3Ae4 current_title 04.10.2008%2011%3A09%20(%D0%A7%D0%B0%D1%81%D1%82%D1%8C%201)
Mon 10/6 22:07:39.026 [SlimTCP-1] DEBUG nl.cmkprojects.sage.slimplayer.CliCon - send cli msg: 36%3A02%3A83%3Aa4%3A3f%3Ae4 mode ?
Mon 10/6 22:07:39.027 [SlimTCP-1] DEBUG nl.cmkprojects.sage.slimplayer.CliCon - got reply 36%3A02%3A83%3Aa4%3A3f%3Ae4 mode stop
Mon 10/6 22:07:39.029 [SlimTCP-1] DEBUG nl.cmkprojects.sage.slimplayer.CliCon - send cli msg: 36%3A02%3A83%3Aa4%3A3f%3Ae4 favorites items 0 256 want_url:1
Mon 10/6 22:07:39.035 [SlimTCP-1] DEBUG nl.cmkprojects.sage.slimplayer.CliCon - got reply 36%3A02%3A83%3Aa4%3A3f%3Ae4 favorites items 0 256 want_url%3A1 title%3AFavorites id%3A0 name%3A%C3%90%C2%AD%C3%91%C2%85%C3%90%C2%BE%20%C3%90%C2%9C%C3%90%C2%BE%C3%91%C2%81%C3%90%C2%BA%C3%90%C2%B2%C3%91%C2%8B type%3Aaudio url%3Ahttp%3A%2F%2Fw02-sw01.akadostream.ru%3A8000%2Fmoscowecho128.mp3.m3u isaudio%3A1 hasitems%3A0 id%3A1 name%3A%C3%90%C2%AE%C3%90%C2%BC%C3%90%C2%BE%C3%91%C2%80%20%C3%90%C2%A4%C3%90%C2%9C type%3Aaudio url%3Ahttp%3A%2F%2Frealaudio.aradio.ru%2FRadioDisco isaudio%3A1 hasitems%3A0 id%3A2 name%3A%C3%90%C2%9D%C3%90%C2%B0%C3%91%C2%88%C3%90%C2%B5%20%C3%90%C2%A0%C3%90%C2%B0%C3%90%C2%B4%C3%90%C2%B8%C3%90%C2%BE type%3Aaudio url%3Ahttp%3A%2F%2Fradiostream.akado.ru%2Fplaylist%2Fradio.m3u%3Fstation%3Dnashe%26stream%3D128 isaudio%3A1 hasitems%3A0 id%3A3 name%3A%C3%90%C2%A0%C3%90%C2%B0%C3%90%C2%B4%C3%90%C2%B8%C3%90%C2%BE%20%C3%90%C2%A8%C3%90%C2%B0%C3%90%C2%BD%C3%91%C2%81%C3%90%C2%BE%C3%90%C2%BD type%3Aaudio url%3Ahttp%3A%2F%2F83.222.4.42%3A8880%2Flisten.pls isaudio%3A1 hasitems%3A0 id%3A4 name%3A%C3%90%C2%94%C3%90%C2%B5%C3%91%C2%82%C3%91%C2%81%C3%90%C2%BA%C3%90%C2%BE%C3%90%C2%B5%20%C3%90%C2%A0%C3%90%C2%B0%C3%90%C2%B4%C3%90%C2%B8%C3%90%C2%BE type%3Aaudio url%3Amms%3A%2F%2F87.242.72.62%2Fdetifm%3FWMBitrate%3D129000 isaudio%3A1 hasitems%3A0 id%3A5 name%3A%C3%90%C2%9C%C3%90%C2%B0%C3%91%C2%8F%C3%90%C2%BA type%3Aaudio url%3Ahttp%3A%2F%2Fopml.radiotime.com%2FStationPlaylist.axd%3FstationId%3D14105%26username%3Dsampletime isaudio%3A1 hasitems%3A0 id%3A6 name%3A%C3%90%C2%90%C3%90%C2%B2%C3%91%C2%82%C3%90%C2%BE%20%C3%90%C2%A0%C3%90%C2%B0%C3%90%C2%B4%C3%90%C2%B8%C3%90%C2%BE type%3Aaudio url%3Ahttp%3A%2F%2Fopml.radiotime.com%2FStationPlaylist.axd%3FstationId%3D65355%26username%3Dsampletime isaudio%3A1 hasitems%3A0 id%3A7 name%3A%C3%90%C2%A0%C3%90%C2%B0%C3%90%C2%B4%C3%90%C2%B8%C3%90%C2%BE%20%C3%90%C2%A0%C3%90%C2%B5%C3%91%C2%82%C3%91%C2%80%C3%90%C2%BE type%3Aaudio url%3Ahttp%3A%2F%2Fopml.radiotime.com%2FStationPlaylist.axd%3FstationId%3D16332%26username%3Dsampletime isaudio%3A1 hasitems%3A0 id%3A8 name%3A%C3%90%C2%A1%C3%90%C2%B5%C3%91%C2%80%C3%90%C2%B5%C3%90%C2%B1%C3%91%C2%80%C3%91%C2%8F%C3%90%C2%BD%C3%91%C2%8B%C3%90%C2%B9%20%C3%90%C2%B4%C3%90%C2%BE%C3%90%C2%B6%C3%90%C2%B4%C3%91%C2%8C type%3Aaudio url%3Ahttp%3A%2F%2Fopml.radiotime.com%2FStationPlaylist.axd%3FstationId%3D17552%26username%3Dsampletime isaudio%3A1 hasitems%3A0 id%3A9 name%3A%C3%90%C2%92%C3%90%C2%B5%C3%91%C2%81%C3%91%C2%82%C3%90%C2%B8%20%C3%90%C2%A4%C3%90%C2%9C type%3Aaudio url%3Ahttp%3A%2F%2Fopml.radiotime.com%2FStationPlaylist.axd%3FstationId%3D86668%26username%3Dsampletime isaudio%3A1 hasitems%3A0 id%3A10 name%3A%C3%90%C2%A0%C3%91%C2%83%C3%91%C2%81%C3%91%C2%81%C3%90%C2%BA%C3%90%C2%BE%C3%90%C2%B5%20%C3%90%C2%A0%C3%90%C2%B0%C3%90%C2%B4%C3%90%C2%B8%C3%90%C2%BE type%3Aaudio url%3Ahttp%3A%2F%2Fopml.radiotime.com%2FStationPlaylist.axd%3FstationId%3D36071%26username%3Dsampletime isaudio%3A1 hasitems%3A0 id%3A11 name%3AKUT type%3Aaudio url%3Ahttp%3A%2F%2Fopml.radiotime.com%2FStationPlaylist.axd%3FstationId%3D35962%26username%3Dsampletime isaudio%3A1 hasitems%3A0 id%3A12 name%3AKUT-HD2%20(Talk) type%3Aaudio url%3Ahttp%3A%2F%2Fopml.radiotime.com%2FStationPlaylist.axd%3FstationId%3D53086%26username%3Dsampletime isaudio%3A1 hasitems%3A0 id%3A13 name%3AKUT-HD3%20(Jazz) type%3Aaudio url%3Ahttp%3A%2F%2Fopml.radiotime.com%2FStationPlaylist.axd%3FstationId%3D67084%26username%3Dsampletime isaudio%3A1 hasitems%3A0 id%3A14 name%3A%C3%90%C2%A7%C3%90%C2%B5%C3%90%C2%BB%C3%90%C2%BE%C3%90%C2%B2%C3%90%C2%B5%C3%90%C2%BA%20%C3%90%C2%B8%C3%90%C2%B7%20%C3%91%C2%82%C3%90%C2%B5%C3%90%C2%BB%C3%90%C2%B5%C3%90%C2%B2%C3%90%C2%B8%C3%90%C2%B7%C3%90%C2%BE%C3%91%C2%80%C3%90%C2%B0 type%3Alnk url%3Ahttp%3A%2F%2Fwww.echo.msk.ru%2Fprograms%2Fpersontv%2Frss-audio.xml isaudio%3A0 hasitems%3A1 count%3A15
Mon 10/6 22:07:39.037 [SlimTCP-1] DEBUG nl.cmkprojects.sage.slimplayer.CliCon - send cli msg: 36%3A02%3A83%3Aa4%3A3f%3Ae4 remote ?
Mon 10/6 22:07:39.039 [SlimTCP-1] DEBUG nl.cmkprojects.sage.slimplayer.CliCon - got reply 36%3A02%3A83%3Aa4%3A3f%3Ae4 remote 1
Mon 10/6 22:07:39.039 [SlimTCP-1] DEBUG nl.cmkprojects.sage.slimplayer.CliCon - send cli msg: 36%3A02%3A83%3Aa4%3A3f%3Ae4 title ?
Mon 10/6 22:07:39.041 [SlimTCP-1] DEBUG nl.cmkprojects.sage.slimplayer.CliCon - got reply 36%3A02%3A83%3Aa4%3A3f%3Ae4 title 04.10.2008%2011%3A09%20(%D0%A7%D0%B0%D1%81%D1%82%D1%8C%201)
Mon 10/6 22:07:39.041 [SlimTCP-1] DEBUG nl.cmkprojects.sage.slimplayer.CliCon - send cli msg: 36%3A02%3A83%3Aa4%3A3f%3Ae4 displaynow ? ?
Mon 10/6 22:07:39.042 [SlimTCP-1] DEBUG nl.cmkprojects.sage.slimplayer.CliCon - got reply 36%3A02%3A83%3Aa4%3A3f%3Ae4 displaynow SoftSqueeze%20Home Now%20Playing
Mon 10/6 22:07:39.047 [SlimTCP-1] DEBUG nl.cmkprojects.sage.slimplayer.CliCon - send cli msg: 36%3A02%3A83%3Aa4%3A3f%3Ae4 remote ?
Mon 10/6 22:07:39.049 [SlimTCP-1] DEBUG nl.cmkprojects.sage.slimplayer.CliCon - got reply 36%3A02%3A83%3Aa4%3A3f%3Ae4 remote 1
Mon 10/6 22:07:39.049 [SlimTCP-1] DEBUG nl.cmkprojects.sage.slimplayer.CliCon - send cli msg: 36%3A02%3A83%3Aa4%3A3f%3Ae4 title ?
Mon 10/6 22:07:39.051 [SlimTCP-1] DEBUG nl.cmkprojects.sage.slimplayer.CliCon - got reply 36%3A02%3A83%3Aa4%3A3f%3Ae4 title 04.10.2008%2011%3A09%20(%D0%A7%D0%B0%D1%81%D1%82%D1%8C%201)
Mon 10/6 22:07:39.051 [SlimTCP-1] DEBUG nl.cmkprojects.sage.slimplayer.CliCon - send cli msg: 36%3A02%3A83%3Aa4%3A3f%3Ae4 displaynow ? ?
Mon 10/6 22:07:39.052 [SlimTCP-1] DEBUG nl.cmkprojects.sage.slimplayer.CliCon - got reply 36%3A02%3A83%3Aa4%3A3f%3Ae4 displaynow SoftSqueeze%20Home Now%20Playing


Hi Michael,
I have examined the log file and found out that my intermediate solution is locale specific. This means that it can not be solved in this plugin. We should wait for the developers of SqueezeCenter to solve this issue. A good thing is that there are more bug reports related to this foreign characters on the CLI, so hopefully it will get some priority and attention.
You can follow the bug report here: http://bugs.slimdevices.com/show_bug.cgi?id=9657
And all CLI related bugs here:http://bugs.slimdevices.com/buglist.cgi?query_format=specific&order=relevance+desc&bug_status=__open__&product=SqueezeCenter&content=cli

- Chris

kha
10-09-2008, 01:48 PM
Hi Chris,

Thank you very much for following up on this bug. Let's hope it gets fixed in the next version of SqueezeCenter.

Best Regards,
Michael.

pleyraki
12-05-2008, 09:17 AM
Hi.

Suddenly, I don't get the excellent internet feedback (bio and picture) for the artist in now playing. What could be wrong? I have internet connectivity, because internet radio plays ok. Any ideas anyone? Thanks.

koelec
12-05-2008, 10:33 AM
Hi.

Suddenly, I don't get the excellent internet feedback (bio and picture) for the artist in now playing. What could be wrong? I have internet connectivity, because internet radio plays ok. Any ideas anyone? Thanks.

Probably allmusic.com web site changes.
I'll try to fix it.
- Chris

koelec
12-08-2008, 02:59 PM
hey,

Just uploaded an update of slimplayer to fix missing artist picture caused by yahoo.com changes. You can download version 1.2.2 from the known location.
Or just copy the attached jar file over the slimplayer.jar in the JARS folder of your sage installation.

- Chris

mkanet
12-08-2008, 03:01 PM
Thanks Chris, I'm guessing this also applies to the SageMC version?

hey,

Just uploaded an update of slimplayer to fix missing artist picture caused by yahoo.com changes. You can download version 1.2.2 from the known location.
Or just copy the attached jar file over the slimplayer.jar in the JARS folder of your sage installation.

- Chris

mkanet
12-15-2008, 10:51 AM
Chris, I'm sure you already know this, but SqueezePlay full release is expected to be released any day now.

scott2020
12-22-2008, 08:54 PM
Hi All. I have a strange issue that appears to be related to the Slim player. I was having trouble when watching some recorded TV shows I transferred from my old Tivo to a network drive. These are MPEG2 files. When I played them and hit the "slow" 10 second fast forward quickly, the SageTV process would totally freeze. I had to kill the Sagetv.exe process and restart. I took a look at the log files and noticed some Java errors related to the Slimplayer, so I rolled back to a SageMC STVi prior to me loading the Slimplayer. Without Slimplayer, I can FF/REW without any lockup problems. I also had no problems with the default STV (non-SageMC).

I am running the latest SageMC and 6.5.4 beta of SageTV. I am also using the Slimplayer plugin from March 2008 if I am not mistaken. Here is some of my log file:


Thanks!
Scott

kha
12-26-2008, 09:50 PM
Hi Chris,

Thank you very much for following up on this bug. Let's hope it gets fixed in the next version of SqueezeCenter.

Best Regards,
Michael.

Hi Chris,

I have to report that the problem with the non-english characters is indeed fixed in the new version of SqueezeCenter - everything is working now.

Once again, thank you very much for following up on this problem!

Best Regards,
Michael.

planetc
01-10-2009, 08:34 AM
Did anybody try to get this working with multiple clients in synch? I noticed the subject came up but nobody returned a verdict on it.

koelec
01-11-2009, 08:03 AM
Did anybody try to get this working with multiple clients in synch? I noticed the subject came up but nobody returned a verdict on it.

Yes, this is working.
I tried it today with squeezecenter 7.3.1 (but it should work with previous versions too).
You can (un)sync the players from the squeezecenter web ui.

- chris

planetc
01-11-2009, 04:06 PM
Yes, this is working.
I tried it today with squeezecenter 7.3.1 (but it should work with previous versions too).
You can (un)sync the players from the squeezecenter web ui.

- chris

:D:D:D Whole house audio here we come! lol

bjkiller
01-12-2009, 12:12 AM
What the complicity to add support Extenders?

pleyraki
01-12-2009, 10:43 AM
Hi all.

Have you noticed the following strange behaviour?

After the new SqueezeCenter version is installed, the new Radio stations (eg. in "Internet Radio/Local") don't play. They have the .pls extension- They look like they have started playing, but there is no sound.

The other stations (eg. RadioIO) continue to play OK.

The new stations play in SqueezePlay, but not in SoftSqueeze.

Any ideas?

planetc
01-14-2009, 12:06 PM
I've got the MC version of this running now. It's all playing friendly across the network although it takes quite a bit of tweaking synchronisation settings to make that work without excessive dropouts.
My question is 'Is there any way to set a shortcut/menu item to switch between synch'd and unsynch'd play. I think the wife will cope with using favorites and playlists but using the slim interface itself is going to be beyond her I think!

Wirenut
01-15-2009, 03:49 AM
I've tried all the slimplayer.jars I could find on this board... and the ones I've had floating around... in an effort to get the Art and Artist info to show up again.

I've got Squeezecenter 7.3.1 and Softsqueeze 3.7 the zipped package marked Slimplayer 1.2.2 contains the STVI Slimplayer-1.1.stvi that I'm using with Sage 6.4.8 under the stock UI.

The audio works well.

It's the Artist Info, I seem to be missing.

Even opened up the firewall wide and still no luck...

This has been working for me for over a year without any problem, until recently when the artist info came up blank I was running the original version with SlimServer. So now I've been following this thread intensely and have upgraded everything... and well... here I am.

Is this just a scraper issue that needs a tweak? Or... Is it me?

Peace,

Wirenut

Wirenut
02-15-2009, 09:10 AM
I've tried all the slimplayer.jars I could find on this board... and the ones I've had floating around... in an effort to get the Art and Artist info to show up again.

I've got Squeezecenter 7.3.1 and Softsqueeze 3.7 the zipped package marked Slimplayer 1.2.2 contains the STVI Slimplayer-1.1.stvi that I'm using with Sage 6.4.8 under the stock UI.

The audio works well.

It's the Artist Info, I seem to be missing.

Even opened up the firewall wide and still no luck...

This has been working for me for over a year without any problem, until recently when the artist info came up blank I was running the original version with SlimServer. So now I've been following this thread intensely and have upgraded everything... and well... here I am.

Is this just a scraper issue that needs a tweak? Or... Is it me?

Peace,

Wirenut

So now I'm running 6.5.9 with this STVI and still have no artist bio or artwork? I can see it in Squeeze Center... Anybody?

mkanet
02-15-2009, 11:37 AM
Yes, I have the same problem. I posted on the SageMC Slimplayer thread saying the same thing, but the problem seems to be caused by the Slimplayer.jar. Hopefully Chris can make this work.

Chris, are you focusing on the next generation player?

Thanks in advance!

koelec
02-16-2009, 10:07 AM
So now I'm running 6.5.9 with this STVI and still have no artist bio or artwork? I can see it in Squeeze Center... Anybody?
Ok, guys. Fact is it is working for me here in Europe. I think the problem is the pages Yahoo is serving in the US are in details different from the ones I get here in The Netherlands.
I see three ways to try to solve this:
1. someone helping me with localizing the slimplayer plugin - separate versions will exist and need to be maintained
2. externalizing the scraping code to a script - xml file needs to be localised and updated everytime the yahoo pages change
3. get artist info from squeezecenter - only artist picture available for local media files / no bio (bio plugin is not working either)

I'am betting on #2. Have a raw version working based on WebHarvest, which is a open source html scraping library.
Keep you informed on the progress...

- Chris

mkanet
02-16-2009, 10:22 AM
Thanks for looking at this Chris! I agree, #2 Seems to be the best choice.

Good luck!

Ok, guys. Fact is it is working for me here in Europe. I think the problem is the pages Yahoo is serving in the US are in details different from the ones I get here in The Netherlands.
I see three ways to try to solve this:
1. someone helping me with localizing the slimplayer plugin - separate versions will exist and need to be maintained
2. externalizing the scraping code to a script - xml file needs to be localised and updated everytime the yahoo pages change
3. get artist info from squeezecenter - only artist picture available for local media files / no bio (bio plugin is not working either)

I'am betting on #2. Have a raw version working based on WebHarvest, which is a open source html scraping library.
Keep you informed on the progress...

- Chris

Wirenut
02-16-2009, 11:12 AM
That makes sense. Good idea.

Thanks,

Wirenut

koelec
02-18-2009, 08:53 AM
Just uploaded version 1.3, which adds the ability to customize/localize the html scraping for artist info.
Please someone, try to customize the slimplayer-ai.xml file, which currently only works in Europe, because of differences in content urls in US. See instructions on how to do this in first post on this thread: http://forums.freytechnologies.com/forums/showthread.php?t=20296

mkanet
02-18-2009, 09:16 AM
Thanks Chris, unfortunately I personally have no experience with WWW scraping. I'm not sure how many people here would even know the first thing about where to begin to use a tool like Web-Harvest. If you dont think you can do it for the people in the USA, maybe you could give us some brief instructions on how to use Web-Harvest to create a slimplayer-ai-yahoo-us.xml file.

Thanks for any further help you can provide..

-Michael

Just uploaded version 1.3, which adds the ability to customize/localize the html scraping for artist info.
Please someone, try to customize the slimplayer-ai.xml file, which currently only works in Europe, because of differences in content urls in US. See instructions on how to do this in first post on this thread: http://forums.freytechnologies.com/forums/showthread.php?t=20296

mkanet
02-25-2009, 06:04 AM
Bump. Are we completely on our own on this?

koelec
02-25-2009, 09:31 AM
Thanks Chris, unfortunately I personally have no experience with WWW scraping. I'm not sure how many people here would even know the first thing about where to begin to use a tool like Web-Harvest. If you dont think you can do it for the people in the USA, maybe you could give us some brief instructions on how to use Web-Harvest to create a slimplayer-ai-yahoo-us.xml file.

Thanks for any further help you can provide..

-Michael
Ok , I'm going to help you. You start off with the slimplayer-ai-yahoo-eu.xml file.
Load that one up in the webharvest gui (you start it by double clicking the webharvest_all_1.jar in the JARS folder.)
Before you run the file, you have to define a run parameter from the execution menu:
Name Value
artist blondie
(please don't use a different artist at this point).

The screen is divided into three panes the bottom pane show the console output,i.e. logging of script execution.
The right panel shows the script file xml code. The Left pane shows the outline of the elements defined in the xml script file, and (after running the script) the values they got during execution.
Now run the script and watch until the finished confirmation dialog appears.

The script runs from top to bottom and each time defines a variable by executing a http request or other using already defined variable values from previous steps.

The following variables are being set in the the order specified:

rootUrl - hardcoded url to start page with artist name as parameter
rootPage - html content fetched from %rootUrl%
biographyUrl - xpath expression result extracts the biography url from %rootPage%
bioUrl - stripped biographyUrl replaces "biography" with "bio" in %biographyUrl% to get full bio instead of condensed one.
arUrl - xpath result to get artist url from %rootPage% used as alternative in picUrl evaluation
bioPage - html content fetched from %bioUrl%
bioRaw - xpath result to get bio element from %bioPage%
picUrl - url to artist picture from %bioPage% or if that fails from %arPage%
bio - html markup stripped from bioRaw


After execution one by one starting at the top click on the x = var-def[1] definition in the outline panel and verify the [Value] is non empty. All variables need to get proper values. The last two , i.e. picUrl and bio are set as output parameters from the script.

I can help you create the us configuration file if you execute the script for me and post the variable values, which you can obtain by clicking on the va-def[1] elements shown in the left panel and then each time click on the icon next to the [Value] property. Also note the variable name property value for each variable definition.

- Chris

mkanet
02-25-2009, 10:41 AM
Hi Chris, thanks again! I followed your instructions. Please find the attached file which I have verified the variable names and their respective values.


Ok , I'm going to help you. You start off with the slimplayer-ai-yahoo-eu.xml file. ...

koelec
02-25-2009, 12:48 PM
Hi Chris, thanks again! I followed your instructions. Please find the attached file which I have verified the variable names and their respective values.

Ok Michael,
I see from tthe results that the slimplayer-ai-eu.xml script is working in USA as well (at least for "blondie"). So please verify again that the default xml file is not working for you. I mean load up the slimplayer plugin in sage and see if you get bio and/or picture. If not enable debug logging in sage.properties and log4j.xml:
(set level=INFO to level=DEBUG) and drop me a private message.

- Chris

mkanet
02-25-2009, 01:26 PM
Sure... I'll try it when I get home. However, I'm curious.. does the xml version in respect to the last slimplayer release access this data at different urls? If its the same locations, then there's a different reason why none of us can access biography and artist pictures. In that case, couldnt I even run a debug on the prior release of Slimplayer? It doesnt seem like the 1.3 release would be necessary since that would the URLS are the same.

Ok Michael,
I see from tthe results that the slimplayer-ai-eu.xml script is working in USA as well (at least for "blondie"). So please verify again that the default xml file is not working for you. I mean load up the slimplayer plugin in sage and see if you get bio and/or picture. If not enable debug logging in sage.properties and log4j.xml:
(set level=INFO to level=DEBUG) and drop me a private message.

- Chris

mkanet
04-11-2009, 11:18 PM
Some of you might have weird audio issues with slimplayer/softqueeze when playing back Internet radio; such as, audio not working until you press play multiple times or audio flip-floping back and forth between two different audio streams. You can download the fix with the instructions below:

Download from below link:
Softsqueeze3.8-Prerelease.zip (http://rapidshare.com/files/220308340/Softsqueeze3.8-Prerelease.zip)

Instructions:

Unzip files into the following folder:
C:\Program Files\SqueezeCenter\server\HTML\EN\html\softsqueeze

and..

replace Softsqueeze.jar that's in your sageTV JARs folder with the one thats in this zip file.

I'll also post this on the non-sageMC Slimplayer forum thread...

-Michael

koelec
04-12-2009, 04:33 AM
To everyone out there interested in slim player.
I'm currently working on the next release.
new features:
- artist info - multiple photo's (slide show)
- artist news - ticker tape showing latest news on playing artist
- new artist news page with all items and ability to read full story
- link to youtube video's (search by artist name currently playing in slim player)
- loopback channel support option - synchronous playback of slim player audio and Sage media player loopback channel gives ability to listen to slim player on extenders.

Currently finished features: all, but the loopback channel support.

I'm aiming for full release within two weeks.

- Chris

pleyraki
04-13-2009, 01:35 AM
I'm aiming for full release within two weeks.
- Chris

Hello and thanks for your efforts.

Is it possible, could there be some way, for the plugin to work with sage clients / placeshifters? I know it is almost impossible:

For that to work, I would imagine two possible ways:
1. Some way for sageTV to transcode the squezecenter output in order to "send" it to the client device
2. Use the mp3 stream from Squeezecenter (http://<squeezeserver>/stream.mp3)

Just an idea (maybe too crazy, but...)

mkanet
04-13-2009, 08:16 AM
One of the features he is adding (the only feature left that he is working on currently) is adding extender support; as he just mentioned. Adding extender support will mean you can use it in SageTV Client and Placeshifter the same way (same difference). All you need is a working loopback channel.

The mp3 that comes from Squeezecenter is contantly saving/streaming, so the sageTV transcoder can never really get a hold of that file; hencing, using a loopback channel.

Hello and thanks for your efforts.

Is it possible, could there be some way, for the plugin to work with sage clients / placeshifters? I know it is almost impossible:

For that to work, I would imagine two possible ways:
1. Some way for sageTV to transcode the squezecenter output in order to "send" it to the client device
2. Use the mp3 stream from Squeezecenter (http://<squeezeserver>/stream.mp3)

Just an idea (maybe too crazy, but...)

pleyraki
04-14-2009, 03:32 AM
All you need is a working loopback channel.


Hello and thanks for your answer.

I am glad to learn that the plugin will work with clients/placeshifters, but could you please elaborate on "loopback channel"? What is that? Programmatically?

(It is great to learn new things if someone will be kind enough to help you!)

Thanks.

mkanet
04-14-2009, 06:38 AM
You need an analog capture device. For example, I just ordered me one of these:http://www.hauppauge.com/pics/hvr950q_top.jpg

http://www.hauppauge.com/site/products/data_hvr950q.html

All you would do is connect the sound output of your sageTV server to the sound input of this capture device (you can do the same thing with svideo input/output if you if you want Netflix Watch Now on your extender as well).

Then just configure sageTV for any channel # for this input under Channel Setup.

With the new Slimplayer, you will have a configurable option to always tune into loopback channel XXX instead of the normal method of getting audio. Slimplayer will then secretly tune to this "loopback" TV channel when you want to listen to the radio on the extender. Slimplayer just just playback the audio only of this channel. On the Extender or placeshifter, you wouldnt even be able to tell how it works; just that it works finally :)


Hello and thanks for your answer.

I am glad to learn that the plugin will work with clients/placeshifters, but could you please elaborate on "loopback channel"? What is that? Programmatically?

(It is great to learn new things if someone will be kind enough to help you!)

Thanks.

deanm
04-15-2009, 01:55 AM
You need an analog capture device. For example, I just ordered me one of these:http://www.hauppauge.com/pics/hvr950q_top.jpg

http://www.hauppauge.com/site/products/data_hvr950q.html

All you would do is connect the sound output of your sageTV server to the sound input of this capture device (you can do the same thing with svideo input/output if you if you want Netflix Watch Now on your extender as well).

Then just configure sageTV for any channel # for this input under Channel Setup.

With the new Slimplayer, you will have a configurable option to always tune into loopback channel XXX instead of the normal method of getting audio. Slimplayer will then secretly tune to this "loopback" TV channel when you want to listen to the radio on the extender. Slimplayer just just playback the audio only of this channel. On the Extender or placeshifter, you wouldnt even be able to tell how it works; just that it works finally :)


Has anyone looked at this utility/plug-in?

http://forums.sagetv.com/forums/showthread.php?t=40637

It uses VLC to create a video file and there is no need for hardware.

This can then be played an extender.

Dean

mkanet
04-15-2009, 06:05 AM
Yes. Chris already looked into other encoders. He decided to use the "loopback" channel method, since that seems to be the current choice for other plugins as well (Pandora and Netflix).

Has anyone looked at this utility/plug-in?

http://forums.sagetv.com/forums/showthread.php?t=40637

It uses VLC to create a video file and there is no need for hardware.

This can then be played an extender.

Dean