Bug 1677 - can't get AudioFeast plugin on our web site (beta) to work?
: can't get AudioFeast plugin on our web site (beta) to work?
Status: RESOLVED WONTFIX
Product: Logitech Media Server
Classification: Unclassified
Component: Plugins
: 6.1.0
: PC Windows XP
: P2 normal (vote)
: Future
Assigned To: Vidur Apparao
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-06-15 15:40 UTC by Kevin Pearsall
Modified: 2005-08-21 18:11 UTC (History)
1 user (show)

See Also:
Category: ---


Attachments
clear up initial error (288 bytes, patch)
2005-06-16 21:29 UTC, KDF
Details | Diff
Test log created per request (18.34 KB, text/plain)
2005-06-21 09:49 UTC, Ken Kirschner
Details
new update (2.51 KB, patch)
2005-06-21 21:13 UTC, KDF
Details | Diff
full update Plugin.pm (25.01 KB, text/plain)
2005-06-22 16:40 UTC, KDF
Details
one step better (24.95 KB, patch)
2005-06-22 17:34 UTC, KDF
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Pearsall 2005-06-15 15:40:44 UTC
-d_plugins shows:

Can't load plugin Plugins::AudioFeast::Plugin - not 6.0+ compatible.
(displayName must return a string token, strings() must not use _DATA_)
Comment 1 KDF 2005-06-16 21:29:42 UTC
Created attachment 554 [details]
clear up initial error

this plugin requires the 6.0+ changes in getDisplayName.  patch does just this.
 no idea if the rest works since I have no account and I dont run the server on
windows.
Comment 2 Blackketter Dean 2005-06-18 14:56:24 UTC
Please forward this to the audiofeast author
Comment 3 KDF 2005-06-18 18:50:24 UTC
um...who is that then?  I downloaded this from your partners page, where the
writeup seems to make it sound like it was you guys. The code gives no
indication either.
Comment 4 Ken Kirschner 2005-06-18 22:55:22 UTC
I applied the patch and Audifeast now displays as a plugin under Internet. So 
I tried to see how it works and when I selected an audiofest channel it 
said "NO CHANNELS AVAILABLE'. I then removed Slimserver as a servise (from 
windows), rebooted and started Slimserver as an application. It then was able 
to display the channel correctly. However, when I went to play the channel it 
crashed the server with a "POST BACK ERROR 20916". 
Comment 5 Ken Kirschner 2005-06-18 23:15:00 UTC
By the way the error message was in an Internet Explorer window.
Comment 6 Ken Kirschner 2005-06-19 14:43:13 UTC
Clarification:

I tried this one more time and a Widow popped up. It was "MICROSOFT INTERNET 
EXPLORER the message was "ERROR LOADING POSTBACK: 12029.
Comment 7 KDF 2005-06-19 22:17:53 UTC
postback error sounds liek something from Default2 or Exbrowse2 skins.  This
error is fixeed in the 6.1 nightlies.  Please try the latest 6.1 nightly, or
another skin if you haven't already
Comment 8 Ken Kirschner 2005-06-20 20:00:11 UTC
I dowloaded and installed 6.1 and changed the skin. I no longer get the 
postback error. Unfortunately the squeezebox still crashes. I can select 
AUDIOFEAST and then a downloaded station. Then it shows the length of the 
recording. As soon as I press play it says NOW PLAYING  for about 3 seconds, 
then it goes blank and then it says connecting to server.
Comment 9 KDF 2005-06-20 21:57:48 UTC
I don't run on windows, and I dont have an audiofeast account, but if you can
give me the crash message, there is a chance I can find what is wrong.

try this from a command prompt:
c:
cd "program files\slimserver\server"
slim.exe

Then go into server settings->plugins and turn on AudioFeast debugging.
when you get a crash, paste the last bit of the output here.

or, you can run:
slim.exe --logfile c:\test.log

turn on the audiofeast debug, run through the same button pressses and when it
crashes, attach c:\test.log to this bug report.

If KP, Vidur or Dean can give me the address of the Audiofeast author, we can
send that log for reference.
Comment 10 Ken Kirschner 2005-06-21 09:49:40 UTC
Created attachment 558 [details]
Test log created per request

I folled your instructions and got the following log. Interesting how many
LIVE365 entries there are. I don't even use that service.
Comment 11 KDF 2005-06-21 11:21:07 UTC
ah...I guess it needs updating to use the db.  annoying.

it also looks like you've installed 6.1 over 6.0.3, so you have duplicate
plugins.  You'll have to remove Live365.pm, RadioIO.pm, etc where they've been
replaced by Live365/Plugin.pm, RadioIO/Plugin.pm, etc
Comment 12 Ken Kirschner 2005-06-21 12:59:11 UTC
I did not remove the original slimserver(6.0.2) before I installed slimserver 
6.1. I assumed it would just overlay the prior version. I think my next step 
will be to completely un-install slimserver and then re-install 6.1.

You mention that "it needs updating to use the db". I am not sure what "it" 
is. Do you mean the audiofeast plugin and who would actually update this. I 
see that there are some memos in the forum that seem similar about a local.pm. 
Not sure if that relates to this. I did a search on local.pm and got a couple 
of hits. Does that look like this problem ?

thanks
Comment 13 KDF 2005-06-21 13:07:55 UTC
it, being the plugin.
as for specifics, I have none.  I'm only guessing, since as I have said, I have
no way of running this. I'll worry about the crash first.  The uninit value
warnings might be harmless, just messy.
Comment 14 KDF 2005-06-21 21:13:21 UTC
Created attachment 559 [details]
new update

ok, taking a chance this might at least avoid the crash and go one to say
something useful again :)
Comment 15 Ken Kirschner 2005-06-22 12:02:23 UTC
OK..   I will try the patch... I have only one question...

I am not sure how to apply the patch. (This is my first time so be gentle). 
The first patch I simply went in and changed the audiofest plugin.pm using 
notepad. I am guessing there is a better process like simply copying the code 
to the directory or runnning some type of program that makes the changes to 
the original plugin.pm. 

Any help here would be appreciated. 

Thanks
Comment 16 Kevin Pearsall 2005-06-22 12:06:55 UTC
kdf, Ken is using SlimServer on Windows and doesn't have cygwin or active
perl...  could this possibly get checked in to a nightly or compiled for Ken to try?
Comment 17 Kevin Pearsall 2005-06-22 12:09:48 UTC
er nevermind, this is a patch to the audiofeast plugin.pm?  thought it was part
of the server...  could you attach the modified Plugin.pm instead of a patch
possibly?
Comment 18 KDF 2005-06-22 16:40:17 UTC
Created attachment 563 [details]
full update Plugin.pm

just save this over the old one.
Comment 19 KDF 2005-06-22 17:34:33 UTC
Created attachment 564 [details]
one step better

forgot to convert the renderOverlay in the last one, which caused a crash. 
This one clears that.  It should find channels, presumably as long as you have
some stored in the aplication.	settings should appear in server
settings->internet radio so you can turn on the debug setting there as well.
Comment 20 Ken Kirschner 2005-06-22 18:32:44 UTC
I took the new plugin.pm and replaced the one in the audiofeast directory. 
When I accessed the audiofeast on the slimbox I was able to select the station 
and then the downloaded station file. When I pressed play a 
message "connecting to play" appeared for an instant and a message appeared in 
windows (zone alarm) "SOCKETWRAPPER.EXE is trying to access the internet". I 
clicked allow and it appeared again with an incremented port number (it seemed 
like it was in some kind of loop as it kept incrementing the port number each 
time). The more I clicked allow the more messages I got. 

I also shut down zone alarm to try it but then it just seemed to hang. Never 
got the song to play. The good news is that the squeezebox did not crash.
 
Comment 21 KDF 2005-06-23 02:17:20 UTC
sadly, this may be as far as it can get.  I did more digging and found that only
paying customers are restricted to the US, so I set up a trial account, fired up
a windows box and installed slimserver and audiofeast.

The result is the appearance that audiofeast no longer seems to respond to an
external request for a stream in the way that it used to.  In fact, if the
server is trying to convert wav to flac (for SB2) then socketwrapper.exe gets
launched dozens of times, trying in vain to get a proper connection. Disabling
sav to flac covnersion, just returns to stop. At this point, the only way
forward is if someone from the audiofeast side actually gives a damn and offers
some info (they sure dont seem to make it readily available on their site).

This is as far as I can go.  Sorry.
Comment 22 Ken Kirschner 2005-06-23 06:57:55 UTC
KDF,

Here is a copy of an E-mail I sent to Audiofeast. Hopefully they will respond 
to this request. 

My name is Ken Kirschner. I work in ITS at Dresser Rand in New York. Recently 
I purchased a device called a Squeezebox from a company called Slim Devices. 
On their Web Site they advertise Audiofeast as a "partner" that they work 
with. Because of this I was introduced to and now subscribe to Audiofeast. I 
really enjoy Audiofeast and have read many favorable comments about it in 
their forums.  A "plugin" was devloped that links the two products.

Unfortunately, I have been unable to get through the technical issues with 
Slimdevices and have been working with them to enable this to work. I have 
been working with a couple of people from their support center and we have 
discovered that the problem is related to a new version of audiofeast and it's 
interfaces. They need the name of a technician that they can work with to 
develop a final solution and re-enable this interface. Their latest 
correspondence to me indicates that they are having difficulty in getting this 
support. I have been working with a "KDF" from their support center. 

As a consumer as well as a FORUM member I would like to see this interface 
working. I believe both products (squeezebox and audiofeast) are top-notch and 
an interface would make a good offering. What I am asking from you is if you 
could facilitate someone from your tech support area contacting KDF to see if 
they could resolve this interface. To me this seems like a win-win opportunity.

If someone could look at the last correspondence 
from "http\\bugs.slimdevices.com" and look at bug #1677 it might provide some 
background for them.

Could you please let me know if you would facilitate solution to this problem 
so that I will know how to proceed.

Thanks, in advance, for your help.

Ken Kirschner
Comment 23 Ken Kirschner 2005-06-23 07:28:34 UTC
KDF,

I recieved an automated response from audiofest [Incident: 050623-000004]. 
They indicate they will get back to me in a couple days. Do not know if you 
have any contacts there but if you do here is the number.

Ken
Comment 24 KDF 2005-06-23 09:10:42 UTC
I have no such contacts. too clarify, I am not from the Slim Devices support
center.  I am simply one of the developers-at-large. The initial report for this
bug, made by Kevin Pearsall of Slim Devices Support showed that the plugin was
simply in need of tweaking to match the recent changes in the Plugin interface.
However, with that fixed, there are clearly other issues which cannot be
resolved without more familiarity with the software.
Comment 25 Ken Kirschner 2005-06-23 09:47:13 UTC
Sorry KDF,

Being new I am not quite sure how the support structure is set up.

Possibly, Kevin could get involved to help. I guess from my own perspective I 
would like to see these two products work together. While I am familiar with 
programming, I am not fluent in either the language used here or the 
architecture so your help has been greatly appreciated. I can try to get 
AudioFeast to provide us with some information (if that would help). I am just 
not sure what to ask.

I think in-the-end if Audiofeast can not work correctly with the squeezebox2 
then slimdevices should remove them as a partner from their website. It 
certainly is confusing to me.

Kevin what do you recomend ?

thanks
ken
Comment 26 Blackketter Dean 2005-08-21 18:11:31 UTC
Alas, AudioFeast is out of this business.  Sorry, not much we can do.