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

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

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

Postby SharkHunter » Tue Jun 01, 2010 8:51 pm

Finally I got it working! A Grooveshark plugin to use with PS3 Media Server.
Simply extract the zip and drop it in the plugin folder.

In this verion there is no GUI config nor any Cover Art (this will hopefully come later on).
There are two configs to do to the PMS.conf.
Add
gs_plugin.path = <some path>
gs_plugin.tiny = true

The plugin path is were internal stuff is stored and tiny forces the plugin to use the tinysong api rather than the normal one. The normal one seems to give crappy songs now but tinysong works.

Before any complaints start coming in, the search system sucks I'm aware of that but I know to little DLNA to get it better.
Popular songs is probably not working either (gs api sucks rigth now)

Source code will also come later on (but it is to ugly now, will take at least a week to clean up!)

Complaints and questions are welcome.

Enjoy

/SharkHunter

Edit: Removed old crappy version use version down below...


You'll find the latest working version here: (NEW VERSION 2012-02-07)
https://github.com/downloads/SharkHunte ... in_046.jar
Last edited by SharkHunter on Tue Feb 07, 2012 8:32 pm, edited 9 times in total.
SharkHunter
 
Posts: 941
Joined: Tue Jun 01, 2010 8:39 pm

Re: GrooveShark plugin!!

Postby BantryRed » Wed Jun 02, 2010 12:05 pm

Installed and can see it on PS3, but!!!!! how can I get it to work, as in how do I find my songs, artist, etc. Thanks
BantryRed
 
Posts: 86
Joined: Wed Feb 25, 2009 11:11 am
Location: Cork Ireland

Re: GrooveShark plugin!!

Postby BantryRed » Wed Jun 02, 2010 12:55 pm

Ok, sorted out how to get the songs, artist list etc, but now i get this error....[New I/O server worker #1-3] DEBUG 12:52:02.208 GSPMSSong exception occured java.io.FileNotFoundException: C:\Program Files\PS3 Media Server\plugins\gs_plugin\Pour Some Sugar On Me.mp3 (The system cannot find the path specified). Appreciate any help, thanks.
BantryRed
 
Posts: 86
Joined: Wed Feb 25, 2009 11:11 am
Location: Cork Ireland

Re: GrooveShark plugin!!

Postby SharkHunter » Wed Jun 02, 2010 2:06 pm

Sorry my fault there. Forgot to create the directory. If you create your own directory and then add gs_plugin.path=<the dir you created> to your PMS.conf you'll be on your way. You must add gs_plugin.tiny = true as well (otherwise you'll get songs which does not match your musical preference)
Edit: Added new version...
Attachments
gs_plugin.zip
(28.63 KiB) Downloaded 1804 times
SharkHunter
 
Posts: 941
Joined: Tue Jun 01, 2010 8:39 pm

Re: GrooveShark plugin!!

Postby BantryRed » Wed Jun 02, 2010 3:14 pm

Ok, still something else wrong, "Data Corrupt". I'm also using "pmsencoder" in my plugin folder???? I'll have a better look later.
Code: Select all
[New I/O server worker #1-4] DEBUG 15:08:09.362 GSSong stream data fetched Song: Pour Some Sugar On Me Album: Hysteri Artist: Def Leppard SongId: 13278029
[Thread-18] DEBUG 15:08:09.578 Receiving a NOTIFY from [192.168.1.10:63009]
[Thread-18] DEBUG 15:08:09.735 Receiving a NOTIFY from [192.168.1.10:63009]
[Thread-18] DEBUG 15:08:10.216 Receiving a NOTIFY from [192.168.1.10:63009]
[Thread-18] DEBUG 15:08:10.435 Receiving a NOTIFY from [192.168.1.10:63009]
[New I/O server worker #1-4] DEBUG 15:08:10.644 GSSong posted request streamKey=c424313ea8504a8086ec to url http://stream36akm.grooveshark.com/stream.php cont len 4280983
[New I/O server worker #1-4] DEBUG 15:08:10.644 GSSong start download thread
[Thread-19] DEBUG 15:08:10.645 GSSong start reading response
[New I/O server worker #1-4] DEBUG 15:08:13.652 Sent to socket: Accept-Ranges: bytes
[New I/O server worker #1-4] DEBUG 15:08:13.652 Sent to socket: Connection: keep-alive
[New I/O server worker #1-4] DEBUG 15:08:13.652 Sent to socket: Content-Range: bytes 0-99999999999/100000000000
[New I/O server worker #1-4] DEBUG 15:08:13.652 Sent to socket: Content-Type: audio/mpeg
[New I/O server worker #1-4] DEBUG 15:08:13.652 Sent to socket: Server: Windows_7-x86-6.1, UPnP/1.0, PMS/1.20.409
[New I/O server worker #1-4] DEBUG 15:08:13.652 Sent to socket: TransferMode.DLNA.ORG: Streaming
[New I/O server worker #1-4] DEBUG 15:08:13.652 Opened handler on socket /192.168.1.15:54527 // Playstation 3
[New I/O server worker #1-4] INFO  15:08:13.652 Calling SetThreadExecutionState ES_SYSTEM_REQUIRED
[New I/O server worker #1-4] DEBUG 15:08:13.653 Handler infos: HTTP/1.1 : GET : description/fetch
[New I/O server worker #1-4] DEBUG 15:08:13.653 Received on socket: Date: Wed, 02 Jun 2010 15:10:53 GMT
[New I/O server worker #1-4] DEBUG 15:08:13.653 Received on socket: Host: 192.168.1.10:5001
[New I/O server worker #1-4] DEBUG 15:08:13.653 Received on socket: User-Agent: UPnP/1.0
[New I/O server worker #1-4] DEBUG 15:08:13.653 Received on socket: X-AV-Client-Info: av=5.0; cn="Sony Computer Entertainment Inc."; mn="PLAYSTATION 3"; mv="1.0";
[New I/O server worker #1-4] INFO  15:08:13.653 HTTP: description/fetch / 0-0
[New I/O server worker #1-4] DEBUG 15:08:13.656 Sent to socket: Accept-Ranges: bytes
[New I/O server worker #1-4] DEBUG 15:08:13.656 Sent to socket: Cache-Control: no-cache
[New I/O server worker #1-4] DEBUG 15:08:13.656 Sent to socket: Connection: keep-alive
[New I/O server worker #1-4] DEBUG 15:08:13.656 Sent to socket: Content-Length: 2057
[New I/O server worker #1-4] DEBUG 15:08:13.656 Sent to socket: Content-Type: text/xml; charset="utf-8"
[New I/O server worker #1-4] DEBUG 15:08:13.656 Sent to socket: Expires: 0
[New I/O server worker #1-4] DEBUG 15:08:13.656 Sent to socket: Server: Windows_7-x86-6.1, UPnP/1.0, PMS/1.20.409
[New I/O server worker #1-4] INFO  15:08:13.705 Calling SetThreadExecutionState ES_CONTINUOUS
[New I/O server worker #1-1] DEBUG 15:08:13.718 Opened handler on socket /192.168.1.15:54526 // Playstation 3
[New I/O server worker #1-1] DEBUG 15:08:13.718 Handler infos: HTTP/1.1 : GET : get/0$6$2$0$0/Pour+Some+Sugar+On+Me
[New I/O server worker #1-1] DEBUG 15:08:13.718 Received on socket: Accept-Encoding: identity
[New I/O server worker #1-1] DEBUG 15:08:13.718 Received on socket: Connection: Keep-Alive
[New I/O server worker #1-1] DEBUG 15:08:13.718 Received on socket: Host: 192.168.1.10:5001
[New I/O server worker #1-1] DEBUG 15:08:13.718 Received on socket: Range: bytes=0-
[New I/O server worker #1-1] DEBUG 15:08:13.718 Received on socket: transferMode.dlna.org: Streaming
[New I/O server worker #1-1] DEBUG 15:08:13.718 Received on socket: User-Agent: PLAYSTATION 3
[New I/O server worker #1-1] INFO  15:08:13.718 HTTP: get/0$6$2$0$0/Pour+Some+Sugar+On+Me / 0-100000000000
[New I/O server worker #1-1] DEBUG 15:08:13.718 Searching for objectId: 0$6$2$0$0 with children option: false
[New I/O server worker #1-1] DEBUG 15:08:13.732 Asked stream chunk [0-100000000000] timeseek: 0.0 of Pour Some Sugar On Me and player null
[New I/O server worker #1-1] DEBUG 15:08:16.736 Sent to socket: Accept-Ranges: bytes
[New I/O server worker #1-1] DEBUG 15:08:16.736 Sent to socket: Connection: keep-alive
[New I/O server worker #1-1] DEBUG 15:08:16.736 Sent to socket: Content-Range: bytes 0-99999999999/100000000000
[New I/O server worker #1-1] DEBUG 15:08:16.736 Sent to socket: Content-Type: audio/mpeg
[New I/O server worker #1-1] DEBUG 15:08:16.736 Sent to socket: Server: Windows_7-x86-6.1, UPnP/1.0, PMS/1.20.409
[New I/O server worker #1-1] DEBUG 15:08:16.736 Sent to socket: TransferMode.DLNA.ORG: Streaming
[New I/O server worker #1-2] DEBUG 15:08:16.839 Opened handler on socket /192.168.1.15:54525 // Playstation 3
[New I/O server worker #1-2] DEBUG 15:08:16.839 Handler infos: HTTP/1.1 : GET : get/0$6$2$0$0/Pour+Some+Sugar+On+Me
[New I/O server worker #1-2] DEBUG 15:08:16.839 Received on socket: Accept-Encoding: identity
[New I/O server worker #1-2] DEBUG 15:08:16.839 Received on socket: Connection: Keep-Alive
[New I/O server worker #1-2] DEBUG 15:08:16.839 Received on socket: Host: 192.168.1.10:5001
[New I/O server worker #1-2] DEBUG 15:08:16.839 Received on socket: Range: bytes=1215752064-99999999999
[New I/O server worker #1-2] DEBUG 15:08:16.839 Received on socket: transferMode.dlna.org: Streaming
[New I/O server worker #1-2] DEBUG 15:08:16.839 Received on socket: User-Agent: PLAYSTATION 3
[New I/O server worker #1-2] INFO  15:08:16.839 HTTP: get/0$6$2$0$0/Pour+Some+Sugar+On+Me / 1215752064-99999999999
[New I/O server worker #1-2] DEBUG 15:08:16.839 Searching for objectId: 0$6$2$0$0 with children option: false
[New I/O server worker #1-2] DEBUG 15:08:16.855 Asked stream chunk [1215752064-99999999999] timeseek: 0.0 of Pour Some Sugar On Me and player null
[New I/O server worker #1-2] DEBUG 15:08:19.859 Sent to socket: Accept-Ranges: bytes
[New I/O server worker #1-2] DEBUG 15:08:19.859 Sent to socket: Connection: keep-alive
[New I/O server worker #1-2] DEBUG 15:08:19.859 Sent to socket: Content-Length: 98784247936
[New I/O server worker #1-2] DEBUG 15:08:19.859 Sent to socket: Content-Range: bytes 1215752064-99999999999/100000000000
[New I/O server worker #1-2] DEBUG 15:08:19.859 Sent to socket: Content-Type: audio/mpeg
[New I/O server worker #1-2] DEBUG 15:08:19.859 Sent to socket: Server: Windows_7-x86-6.1, UPnP/1.0, PMS/1.20.409
[New I/O server worker #1-2] DEBUG 15:08:19.859 Sent to socket: TransferMode.DLNA.ORG: Streaming

Looking at debug, I don't see anything jumping out at me!!!!
BantryRed
 
Posts: 86
Joined: Wed Feb 25, 2009 11:11 am
Location: Cork Ireland

Re: GrooveShark plugin!!

Postby SharkHunter » Wed Jun 02, 2010 7:08 pm

It would be nice to see the early printout about version of plugin etc (written early in the log). The song id you are trying to play is not what I get form tinysong. You probably get a gibbrish song that is impossible to play. Please try to play "fear of the dark" (my ref song :D )
SharkHunter
 
Posts: 941
Joined: Tue Jun 01, 2010 8:39 pm

Re: GrooveShark plugin!!

Postby meskibob » Wed Jun 02, 2010 7:15 pm

[OT]Do you have a phobia that someone's always there? ;)
Going to their concert next month, should be sweet :D[/OT]
I provide NO application support via PM or email, so please post your question to the forum per the Forum Rules.
meskibob
Moderator
 
Posts: 4763
Joined: Mon Jan 19, 2009 4:11 pm

Re: GrooveShark plugin!!

Postby BantryRed » Thu Jun 03, 2010 1:24 am

OK, got rid of pmsencoder and ps3 radio, still not working, changed my streaming audio engine from Mplayer to VLC and still getting corrupt data, and thats with Fear of the dark ( didn't realize that Def Leppard was to soft :D ). Hope the debug log will help. Thanks again.
debug.zip
(11.68 KiB) Downloaded 419 times
BantryRed
 
Posts: 86
Joined: Wed Feb 25, 2009 11:11 am
Location: Cork Ireland

Re: GrooveShark plugin!!

Postby SharkHunter » Thu Jun 03, 2010 7:40 am

Special version more debug etc. Only plays working fear of the dark no matter what you search for :)
Last edited by SharkHunter on Sat Feb 05, 2011 10:50 am, edited 1 time in total.
SharkHunter
 
Posts: 941
Joined: Tue Jun 01, 2010 8:39 pm

Re: GrooveShark plugin!!

Postby BantryRed » Thu Jun 03, 2010 10:26 am

Still the same. :(
debug.zip
(9.75 KiB) Downloaded 572 times
BantryRed
 
Posts: 86
Joined: Wed Feb 25, 2009 11:11 am
Location: Cork Ireland

Next

Return to Additions and Plugins

Who is online

Users browsing this forum: No registered users and 5 guests