GrooveShark plugin!! (Updated 2012-02-07)

Discuss third-party additions, plugins and translations for PS3 Media Server

Re: GrooveShark plugin!!

Postby SharkHunter » Fri Apr 29, 2011 3:25 pm

GrooveShark changed something. It doesn't look that hard to fix. It looks like it is just a small reformat of some string to fetch the country data that changed...
SharkHunter
 
Posts: 941
Joined: Tue Jun 01, 2010 8:39 pm

Re: GrooveShark plugin!!

Postby SharkHunter » Tue May 03, 2011 7:56 pm

Groveshark did change the URL (or something) anyway fixed that and now the music flows again :)

https://github.com/downloads/SharkHunte ... in_040.jar
SharkHunter
 
Posts: 941
Joined: Tue Jun 01, 2010 8:39 pm

Re: GrooveShark plugin!!

Postby AcceptedWalnut » Wed May 04, 2011 4:46 pm

Working for me, well kind of anyway.

I can get the songs to show up and eventually start after about 15-20 seconds of waiting but once it gets near the end of the song it throws out an error of 8071900 and the song will stop for around 3 seconds before eventually resuming.

The debug log shows this everytime it stops:

[New I/O server worker #1-1] TRACE 16:40:51.797 GS input stream block 0
[New I/O server worker #1-1] TRACE 16:40:52.806 GS input stream block 1
[New I/O server worker #1-1] TRACE 16:40:53.814 GS input stream block 2
[New I/O server worker #1-1] TRACE 16:40:54.828 GS input stream block 3
[New I/O server worker #1-1] TRACE 16:40:55.835 GS input stream block 4
[New I/O server worker #1-1] TRACE 16:40:56.842 GS input stream block 5
[New I/O server worker #1-1] TRACE 16:40:57.859 GS input stream block 6
[New I/O server worker #1-1] TRACE 16:40:58.866 GS input stream block 7
[New I/O server worker #1-1] TRACE 16:40:59.873 GS input stream block 8
[New I/O server worker #1-1] TRACE 16:41:00.886 GS input stream block 9
[New I/O server worker #1-1] TRACE 16:41:01.893 GS input stream block 10
[New I/O server worker #1-1] TRACE 16:41:02.900 GS input stream block 11
[New I/O server worker #1-1] TRACE 16:41:04.048 GS input stream block 12
[New I/O server worker #1-1] TRACE 16:41:05.055 GS input stream block 13
[New I/O server worker #1-1] TRACE 16:41:06.063 GS input stream block 14
[New I/O server worker #1-1] TRACE 16:41:07.077 GS max blocked reached

I'm guessing its just a buffering issue with the song? An is there anyway i can get rid of it?

My conf file is currently set to this as it seems to work apart from the stutter near the end of songs:

gs_plugin.private_dbg = true
gs_plugin.zero_fill= true
gs_plugin.init_delay= 0
gs_plugin.path = C:\\Users\\Laura\\Grooveshark
gs_plugin.tiny = true

Thanks =)
AcceptedWalnut
 
Posts: 3
Joined: Wed May 04, 2011 4:31 pm

Re: GrooveShark plugin!!

Postby SharkHunter » Wed May 04, 2011 5:59 pm

Try with a bigger init_delay (3000 is the default), and you shouldn't use tiny. The real API is better.
SharkHunter
 
Posts: 941
Joined: Tue Jun 01, 2010 8:39 pm

Re: GrooveShark plugin!!

Postby knicknak » Thu May 05, 2011 7:40 am

So some progress.

I installed your latest version from here and got rid of the tiny = true.
My searches now work - the iron maiden / fear of the dark searches find songs now.

Playback still does not work for me though...

Heres the log:

Code: Select all
[Thread-73] DEBUG 23:31:43.197 Opened handler on socket Socket[addr=/192.168.3.3,port=49390,localport=5001]
[Thread-73] DEBUG 23:31:43.197 Received on socket: POST /upnp/control/content_directory HTTP/1.1
[Thread-73] DEBUG 23:31:43.197 Received on socket: X-AV-Client-Info: av=5.0; cn="Sony Computer Entertainment Inc."; mn="PLAYSTATION 3"; mv="1.0";
[Thread-73] DEBUG 23:31:43.197 Received on socket: Host: 192.168.3.5:5001
[Thread-73] DEBUG 23:31:43.197 Received on socket: User-Agent: UPnP/1.0 DLNADOC/1.50
[Thread-73] DEBUG 23:31:43.197 Received on socket: Content-Length: 905
[Thread-73] DEBUG 23:31:43.197 Received on socket: Content-Type: text/xml; charset="utf-8"
[Thread-73] DEBUG 23:31:43.197 Received on socket: SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
[Thread-73] INFO  23:31:43.398 HTTP: upnp/control/content_directory / 0-0
[Thread-73] DEBUG 23:31:43.398 Wrote on socket: HTTP/1.1 200 OK
[Thread-73] DEBUG 23:31:43.398 Wrote on socket: CONTENT-TYPE: text/xml; charset="utf-8"
[Thread-73] DEBUG 23:31:43.398 Searching for objectId: 0$3$5 with children option: false
[Thread-73] DEBUG 23:31:43.398 Wrote on socket: Server: Windows_7-x86-6.1, UPnP/1.0, PMS/1.20.412
[Thread-73] DEBUG 23:31:43.398 Wrote on socket: Content-Length: 937
[Thread-73] DEBUG 23:31:43.398 Wrote on socket:
[Thread-73] DEBUG 23:31:43.399 Close Connection
[Thread-70] DEBUG 23:31:43.576 GSSong stream data fetched Song: Firework Album: Teenage Dream Artist: Katy Perry SongId: 26770582 plays  trackNum 4
[Thread-70] DEBUG 23:31:43.576 GSSong stream data true key cd9b7f546eea15368825709fb7783c30d4737562_4dc246aa_1987c96_1afc7dc_1a219613_1.
[Thread-70] DEBUG 23:31:43.825 GSSong posted request streamKey=cd9b7f546eea15368825709fb7783c30d4737562_4dc246aa_1987c96_1afc7dc_1a219613_1 to url http://stream57-he.grooveshark.com/stream.php cont len 5471920
[Thread-70] DEBUG 23:31:43.825 GSSong start download thread
[Thread-74] DEBUG 23:31:43.826 GSSong start reading response
[Thread-70] DEBUG 23:31:48.833 Wrote on socket: Content-Type: audio/mpeg
[Thread-70] DEBUG 23:31:48.833 Wrote on socket: CONTENT-RANGE: bytes 0-99999999999/100000000000
[Thread-70] DEBUG 23:31:48.833 Wrote on socket: Accept-Ranges: bytes
[Thread-70] DEBUG 23:31:48.833 Wrote on socket: Connection: keep-alive
[Thread-70] DEBUG 23:31:48.833 Wrote on socket: Server: Windows_7-x86-6.1, UPnP/1.0, PMS/1.20.412
[Thread-70] DEBUG 23:31:48.833 Wrote on socket:
[Thread-70] DEBUG 23:31:48.855 Sending stream with premature end : 1114112 bytes of get/0$3$5$9/Firework. Reason: An existing connection was forcibly closed by the remote host
[Thread-70] DEBUG 23:31:48.855 Sending stream: 1114112 bytes of get/0$3$5$9/Firework
[Thread-70] INFO  23:31:48.855 Calling SetThreadExecutionState ES_CONTINUOUS
[Thread-70] DEBUG 23:31:48.855 Close Connection
[Thread-75] DEBUG 23:31:48.857 Opened handler on socket Socket[addr=/192.168.3.3,port=49389,localport=5001]
[Thread-75] INFO  23:31:48.857 Calling SetThreadExecutionState ES_SYSTEM_REQUIRED
[Thread-75] DEBUG 23:31:48.858 Received on socket: GET /get/0$3$5$9/Firework HTTP/1.1
[Thread-75] DEBUG 23:31:48.858 Received on socket: Host: 192.168.3.5:5001
[Thread-75] DEBUG 23:31:48.858 Received on socket: User-Agent: PLAYSTATION 3
[Thread-75] DEBUG 23:31:48.858 Received on socket: Connection: Keep-Alive
[Thread-75] DEBUG 23:31:48.858 Received on socket: Accept-Encoding: identity
[Thread-75] DEBUG 23:31:48.858 Received on socket: transferMode.dlna.org: Streaming
[Thread-75] DEBUG 23:31:48.858 Received on socket: Range: bytes=1215752064-99999999999
[Thread-75] INFO  23:31:48.858 HTTP: get/0$3$5$9/Firework / 1215752064-99999999999
[Thread-75] DEBUG 23:31:48.858 Wrote on socket: HTTP/1.1 206 Partial Content
[Thread-75] DEBUG 23:31:48.858 Searching for objectId: 0$3$5$9 with children option: false
[Thread-75] DEBUG 23:31:48.858 Wrote on socket: TransferMode.DLNA.ORG: Streaming
[Thread-75] DEBUG 23:31:48.858 Asked stream chunk [1215752064-99999999999] timeseek: 0.0 of Firework and player null
[Thread-74] DEBUG 23:31:53.539 GSSong download complete
[Thread-75] DEBUG 23:31:53.870 Wrote on socket: Content-Type: audio/mpeg
[Thread-75] DEBUG 23:31:53.871 Wrote on socket: CONTENT-RANGE: bytes 1215752064-99999999999/100000000000
[Thread-75] DEBUG 23:31:53.871 Wrote on socket: Accept-Ranges: bytes
[Thread-75] DEBUG 23:31:53.871 Wrote on socket: Connection: keep-alive
[Thread-75] DEBUG 23:31:53.871 Wrote on socket: Server: Windows_7-x86-6.1, UPnP/1.0, PMS/1.20.412
[Thread-75] DEBUG 23:31:53.871 Wrote on socket: Content-Length: 98784247936
[Thread-75] DEBUG 23:31:53.871 Wrote on socket:
[Thread-75] DEBUG 23:31:53.983 GS input stream block 0
[Thread-75] DEBUG 23:31:54.992 GS input stream block 1
[Thread-75] DEBUG 23:31:56.000 GS input stream block 2
[Thread-15] DEBUG 23:31:56.742 Receiving a NOTIFY from [192.168.3.130:1900]
[Thread-15] DEBUG 23:31:56.747 Receiving a NOTIFY from [192.168.3.130:1900]
[Thread-15] DEBUG 23:31:56.750 Receiving a NOTIFY from [192.168.3.130:1900]
[Thread-15] DEBUG 23:31:56.754 Receiving a NOTIFY from [192.168.3.130:1900]
[Thread-15] DEBUG 23:31:56.758 Receiving a NOTIFY from [192.168.3.130:1900]
[Thread-15] DEBUG 23:31:56.762 Receiving a NOTIFY from [192.168.3.130:1900]
[Thread-15] DEBUG 23:31:56.767 Receiving a NOTIFY from [192.168.3.130:1900]
[Thread-15] DEBUG 23:31:56.772 Receiving a NOTIFY from [192.168.3.130:1900]
[Thread-15] DEBUG 23:31:56.776 Receiving a NOTIFY from [192.168.3.130:1900]
[Thread-15] DEBUG 23:31:56.782 Receiving a NOTIFY from [192.168.3.130:1900]
[Thread-75] DEBUG 23:31:57.007 GS input stream block 3
[Thread-75] DEBUG 23:31:58.016 GS input stream block 4
[Thread-75] DEBUG 23:31:59.021 GS input stream block 5
[Thread-75] DEBUG 23:32:00.126 GS input stream block 6
[Thread-75] DEBUG 23:32:01.131 GS input stream block 7
[Thread-75] DEBUG 23:32:02.140 GS input stream block 8
[Thread-75] DEBUG 23:32:03.145 GS input stream block 9
[Thread-75] DEBUG 23:32:04.154 GS input stream block 10
[Thread-75] DEBUG 23:32:05.158 GS input stream block 11
[Thread-75] DEBUG 23:32:06.271 GS input stream block 12
[Thread-75] DEBUG 23:32:07.276 GS input stream block 13
[Thread-75] DEBUG 23:32:08.286 GS input stream block 14
[Thread-75] DEBUG 23:32:09.291 GS max blocked reached
[Thread-75] DEBUG 23:32:09.291 Sending stream: 0 bytes of get/0$3$5$9/Firework
[Thread-75] DEBUG 23:32:09.291 Close Connection
[Thread-76] DEBUG 23:32:09.295 Opened handler on socket Socket[addr=/192.168.3.3,port=49385,localport=5001]
[Thread-76] DEBUG 23:32:09.295 Received on socket: GET /get/0$3$5$9/Firework HTTP/1.1
[Thread-76] DEBUG 23:32:09.296 Received on socket: Host: 192.168.3.5:5001
[Thread-76] DEBUG 23:32:09.296 Received on socket: User-Agent: PLAYSTATION 3
[Thread-76] DEBUG 23:32:09.296 Received on socket: Connection: Keep-Alive
[Thread-76] DEBUG 23:32:09.296 Received on socket: Accept-Encoding: identity
[Thread-76] DEBUG 23:32:09.296 Received on socket: transferMode.dlna.org: Streaming
[Thread-76] DEBUG 23:32:09.296 Received on socket: Range: bytes=0-
[Thread-76] INFO  23:32:09.296 HTTP: get/0$3$5$9/Firework / 0-100000000000
[Thread-76] DEBUG 23:32:09.296 Wrote on socket: HTTP/1.1 206 Partial Content
[Thread-76] DEBUG 23:32:09.296 Searching for objectId: 0$3$5$9 with children option: false
[Thread-76] DEBUG 23:32:09.296 Wrote on socket: TransferMode.DLNA.ORG: Streaming
[Thread-76] DEBUG 23:32:09.296 Asked stream chunk [0-100000000000] timeseek: 0.0 of Firework and player null
[Thread-76] DEBUG 23:32:14.300 Wrote on socket: Content-Type: audio/mpeg
[Thread-76] DEBUG 23:32:14.301 Wrote on socket: CONTENT-RANGE: bytes 0-99999999999/100000000000
[Thread-76] DEBUG 23:32:14.301 Wrote on socket: Accept-Ranges: bytes
[Thread-76] DEBUG 23:32:14.301 Wrote on socket: Connection: keep-alive
[Thread-76] DEBUG 23:32:14.301 Wrote on socket: Server: Windows_7-x86-6.1, UPnP/1.0, PMS/1.20.412
[Thread-76] DEBUG 23:32:14.301 Wrote on socket:
[Thread-76] DEBUG 23:32:14.324 Sending stream with premature end : 1179648 bytes of get/0$3$5$9/Firework. Reason: An existing connection was forcibly closed by the remote host
[Thread-76] DEBUG 23:32:14.324 Sending stream: 1179648 bytes of get/0$3$5$9/Firework
[Thread-76] DEBUG 23:32:14.324 Close Connection
[Thread-77] DEBUG 23:32:14.325 Opened handler on socket Socket[addr=/192.168.3.3,port=49384,localport=5001]
[Thread-77] DEBUG 23:32:14.326 Received on socket: GET /get/0$3$5$9/Firework HTTP/1.1
[Thread-77] DEBUG 23:32:14.326 Received on socket: Host: 192.168.3.5:5001
[Thread-77] DEBUG 23:32:14.326 Received on socket: User-Agent: PLAYSTATION 3
[Thread-77] DEBUG 23:32:14.326 Received on socket: Connection: Keep-Alive
[Thread-77] DEBUG 23:32:14.326 Received on socket: Accept-Encoding: identity
[Thread-77] DEBUG 23:32:14.326 Received on socket: transferMode.dlna.org: Streaming
[Thread-77] DEBUG 23:32:14.326 Received on socket: Range: bytes=1215752064-99999999999
[Thread-77] INFO  23:32:14.326 HTTP: get/0$3$5$9/Firework / 1215752064-99999999999
[Thread-77] DEBUG 23:32:14.326 Wrote on socket: HTTP/1.1 206 Partial Content
[Thread-77] DEBUG 23:32:14.326 Searching for objectId: 0$3$5$9 with children option: false
[Thread-77] DEBUG 23:32:14.326 Wrote on socket: TransferMode.DLNA.ORG: Streaming
[Thread-77] DEBUG 23:32:14.326 Asked stream chunk [1215752064-99999999999] timeseek: 0.0 of Firework and player null
[Thread-77] DEBUG 23:32:19.331 Wrote on socket: Content-Type: audio/mpeg
[Thread-77] DEBUG 23:32:19.331 Wrote on socket: CONTENT-RANGE: bytes 1215752064-99999999999/100000000000
[Thread-77] DEBUG 23:32:19.331 Wrote on socket: Accept-Ranges: bytes
[Thread-77] DEBUG 23:32:19.331 Unexpected IO Error: class java.io.IOException: An established connection was aborted by the software in your host machine
[Thread-77] DEBUG 23:32:19.331 Close InputStreamnet.pms.external.GsByteInputStream@e0c07c
[Thread-77] DEBUG 23:32:19.331 Close Connection
[Thread-78] DEBUG 23:32:21.036 Opened handler on socket Socket[addr=/192.168.3.3,port=49383,localport=5001]
[Thread-78] DEBUG 23:32:21.036 Received on socket: GET /get/0$3$5$16/thumbnail0000Yeah+3x HTTP/1.1
[Thread-78] DEBUG 23:32:21.036 Received on socket: Host: 192.168.3.5:5001
[Thread-78] DEBUG 23:32:21.036 Received on socket: User-Agent: PLAYSTATION 3
[Thread-78] DEBUG 23:32:21.037 Received on socket: Connection: Keep-Alive
[Thread-78] DEBUG 23:32:21.037 Received on socket: Accept-Encoding: identity
[Thread-78] DEBUG 23:32:21.037 Received on socket: transferMode.dlna.org: Interactive
[Thread-78] INFO  23:32:21.037 HTTP: get/0$3$5$16/thumbnail0000Yeah+3x / 0-0
[Thread-78] DEBUG 23:32:21.037 Wrote on socket: HTTP/1.1 200 OK
[Thread-78] DEBUG 23:32:21.037 Searching for objectId: 0$3$5$16 with children option: false
[Thread-78] DEBUG 23:32:21.037 Wrote on socket: TransferMode.DLNA.ORG: Interactive
[Thread-78] DEBUG 23:32:21.037 Wrote on socket: Content-Type: image/jpeg
[Thread-78] DEBUG 23:32:21.037 Wrote on socket: Accept-Ranges: bytes
[Thread-78] DEBUG 23:32:21.037 Wrote on socket: Expires: Mon, 29 Aug 2011 00:19:01 GMT
[Thread-78] DEBUG 23:32:21.037 Wrote on socket: Connection: keep-alive
[Thread-78] INFO  23:32:21.037 Retrieving http://beta.grooveshark.com/static/amazonart/mnull
[Thread-78] DEBUG 23:32:21.243 Wrote on socket: Server: Windows_7-x86-6.1, UPnP/1.0, PMS/1.20.412
[Thread-78] DEBUG 23:32:21.243 Available Content-Length: 13000
[Thread-78] DEBUG 23:32:21.243 Wrote on socket: Content-Length: 13000
[Thread-78] DEBUG 23:32:21.244 Wrote on socket:
[Thread-78] DEBUG 23:32:21.246 Sending stream: 13000 bytes of get/0$3$5$16/thumbnail0000Yeah+3x
[Thread-78] DEBUG 23:32:21.246 Close Connection
[Thread-79] DEBUG 23:32:23.586 Opened handler on socket Socket[addr=/192.168.3.3,port=49382,localport=5001]
[Thread-79] DEBUG 23:32:23.586 Received on socket: POST /upnp/control/content_directory HTTP/1.1
[Thread-79] DEBUG 23:32:23.586 Received on socket: X-AV-Client-Info: av=5.0; cn="Sony Computer Entertainment Inc."; mn="PLAYSTATION 3"; mv="1.0";
[Thread-79] DEBUG 23:32:23.586 Received on socket: Host: 192.168.3.5:5001
[Thread-79] DEBUG 23:32:23.586 Received on socket: User-Agent: UPnP/1.0 DLNADOC/1.50
[Thread-79] DEBUG 23:32:23.586 Received on socket: Content-Length: 276
[Thread-79] DEBUG 23:32:23.586 Received on socket: Content-Type: text/xml; charset="utf-8"
[Thread-79] DEBUG 23:32:23.586 Received on socket: SOAPACTION: "urn:schemas-upnp-org:service:ContentDirectory:1#GetSystemUpdateID"
[Thread-79] INFO  23:32:23.787 HTTP: upnp/control/content_directory / 0-0
[Thread-79] DEBUG 23:32:23.787 Wrote on socket: HTTP/1.1 200 OK
[Thread-79] DEBUG 23:32:23.787 Wrote on socket: CONTENT-TYPE: text/xml; charset="utf-8"
[Thread-79] DEBUG 23:32:23.787 Wrote on socket: Server: Windows_7-x86-6.1, UPnP/1.0, PMS/1.20.412
[Thread-79] DEBUG 23:32:23.787 Wrote on socket: Content-Length: 335
[Thread-79] DEBUG 23:32:23.788 Wrote on socket:
[Thread-79] DEBUG 23:32:23.788 Close Connection
User avatar
knicknak
 
Posts: 67
Joined: Wed Apr 15, 2009 1:52 am

Re: GrooveShark plugin!!

Postby AcceptedWalnut » Thu May 05, 2011 10:35 am

Well i got rid of tiny and bumped the delay to 3000 which gave unsupported data on everything i tried to play. I keep dropping the delay closer an closer to 0 where it worked to see if theres a point where it just works perfect but i still keep getting the GS input blocks near the end of songs before they resume.

I'll keep fiddling around :)
AcceptedWalnut
 
Posts: 3
Joined: Wed May 04, 2011 4:31 pm

Re: GrooveShark plugin!!

Postby knicknak » Fri May 06, 2011 10:02 am

Tonight I finally had one song play. It took like 25 seconds to start, but it played. After that I couldn't get any other songs to play - they all timed out. But progress.

Update 5/17: Worked tonight - streamed multiple songs in a row. Still look like 25 secs to start, but worked well after it got rolling.
Last edited by knicknak on Tue May 17, 2011 8:02 am, edited 1 time in total.
User avatar
knicknak
 
Posts: 67
Joined: Wed Apr 15, 2009 1:52 am

Re: GrooveShark plugin!!

Postby AcceptedWalnut » Sun May 08, 2011 12:54 pm

My problem isn't grooveshark it seems, i get the skipping/stuttering after a short while no matter what i stream so christ knows whats wrong with mine.
AcceptedWalnut
 
Posts: 3
Joined: Wed May 04, 2011 4:31 pm

Re: GrooveShark plugin!!

Postby emveepee » Thu May 26, 2011 9:54 pm

SharkHunter wrote:Groveshark did change the URL (or something) anyway fixed that and now the music flows again :)


Thanks for the update, it's working like it did before.

Martin
emveepee
 
Posts: 18
Joined: Fri Feb 04, 2011 8:35 pm

Re: GrooveShark plugin!!

Postby mega8882 » Mon Jun 20, 2011 2:50 am

so anyone able to make this to work?

I'm using gs_plugin_040.jar
and using this settings

gs_plugin.path = C:\\Grooveshark
gs_plugin.tiny = true

tried popular and it's showing list of songs.
but whenever i tried to play any of them, it won't start.
any idea how to fix this ?

(using latest pms 1.25.1)
mega8882
 
Posts: 1
Joined: Sun Nov 28, 2010 12:26 pm

PreviousNext

Return to Additions and Plugins

Who is online

Users browsing this forum: No registered users and 8 guests