XBMC Remote Interface for PSP (PlayStation Portable)

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Vangeloff Offline
Junior Member
Posts: 3
Joined: Oct 2006
Reputation: 0
Thumbs Up  XBMC Remote Interface for PSP (PlayStation Portable) Post: #1
I have PSP Interface 2.0 on my playstation portable and would love to be able to control my XBMC with it. I am able to connect and control my music from the psp, but had a couple problems with thumbnails. First off, I wasn't able to change music in Widnows Media Connect, it just turns off the currently playing song in XBMC. With Windows network sharing, I can change my music, but the album art on Xbox only changes to the default folder album art, and not the album art for that particular song, but it works when controlling it with the xbox control. Also the thumbnails in the PSP interface dont show up, do I have to add my thumbnails into the thumbnail folder in my psp? or does it automatically? Thanks for your help.
find quote
KingJames Offline
Senior Member
Posts: 165
Joined: Aug 2006
Reputation: -10
Post: #2
Quote:Get it from FILE FACTORY
Hope that works. Had packaged the previous with an unstable luaplayer (I keep a collection)

Text from readme
Any problems\requests\thanks\ flames here please.

TODO:
Ability to listen to music and view picture?

Quote:
"XBMC Remote Interface V0.5 Mod" by jonny2002 & trex6662k5
Previous versions named "XBMC Remote Music Interface" by jonny2002

This PSP program is the result of modifications and additions by trex6662k5
to the program "XBMC Remote Music Interface v0.2" by jonny2002

Majority of the code is still "jonny2002"'s and all the messy IF statements and variables are mine
Artwork is from the "Project Mayhem 3" XBMC skin by Mathias Mahling AKA ChokeManiac (http://www.chokemaniac.net)

Some code also from Chaos (http://forums.qj.net/showpost.php?p=...pos tcount=12) who provided a shutdown button and function
Modifications were added to squash a bug (http://forums.qj.net/showpost.php?p=...po stcount=29)
and also provided code to control volume (http://forums.qj.net/showpost.php?p=...pos tcount=17)

My code and methods arnt the best (4th day learning LUA) so feel free to make optimisations to the code
Also if you wish to add any features yourself feel free. I only request that you post them on a forum so
I can learn more about LUA

Changes and Additions since V0.2

-Ability to view and browse files and folders under Video and Pictures as well as Music
-Added ability to seek video
-Shows the currently playing video
-Shutdown and Volume controls provided by Chaos
-Playlist button is only enabled on the music screen
-Changed backgrounds to refect the current screen (my music, my video, my pictures and plain for WIFI)
-Bug in v0.2 which caused the now playing text not to scroll while playing a file until the time displayed is greater than 00:00

To be honest I cant remember see for yourself

Features that I will attempt to impliment
-Ability to start a slideshow, go previous picture, next picture etc.
-Fix the problems below
-Reconfigure controls for ease of use

Known problems
-Thumbnails. Due to recent updates in XBMC, thumbnails arnt send accross to the PSP. This is due to the change in folder structure
A fix is coming shortly which will allow music thumbnails to display as they should but also add the functionality to Video and maybe
pictures too (single pictures as well as slideshows). So im working on it.
-Pictures. Currently displayed picture and thumbnail (look above) is not displayed on the PSP. Working on a fix.
-Volume. When ajusting volume, values are not displayed on the xbox (I dont know why) or on the PSP (feature needs the function)

Controls
D-pad: navigate
Cross: select
Circle: back
Square: stop
Triangle: pause on/off
L-Trigger: previous media screen (Was previously skip to previous song)
R-Trigger: next media screen (was previously skip to next song)
Analog stick Left-Right: fast rewind/fast forward
Analog stick Up-Down: Increase Volume/Decrease Volume
Select: add to/delete from playlist
Start: enter "controller mode"

I had orginally posted this yesterday HERE
I was a blind ****, so can a mod delete that post please?
-= Double Post =-
I might provide an update due to some recent discoveries found.
Volume control is buggy. I find that if the PSP finds that the volume control value is not whats expected, it will flood the xbox with volume commands. Then its just a race between the Xbox and PSP to crash first due to a no memory error.

Thumbnails.
Im not sure if jonny2002 wanted to make things more complicated or XBMC didnt have the feature, but V0.2 found the filename of thumbnails by creating a CRC checksum on the path of the file.
Thats how XBMC calculated the file name and v0.2 expected thumbs to be located at:
Q:\albums\thumbs\
<OR>
Q:\albums\thumbs\temp\

XBMC provides a line called Thumb which provides a path to that thumbnail, so there should be no need to generate a CRC checksum on the PSP if the result is already there for you only making the PSP do more work.

Original post/thread
http://forums.qj.net/f-psp-development-f...73226.html
find quote
spiff Offline
Grumpy Bastard Developer
Posts: 12,186
Joined: Nov 2003
Reputation: 82
Post: #3
cool stuff.

about the thumbnails. we now store them in p:\userdata\thumbnails\<section>\<crcofpath>.tbn

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
KingJames Offline
Senior Member
Posts: 165
Joined: Aug 2006
Reputation: -10
Post: #4
Download Link Here
http://www.filefactory.com/file/7de73c/
find quote
kraqh3d Offline
Retired Developer
Posts: 7,183
Joined: Dec 2003
Reputation: 4
Location: New York City, USA
Post: #5
does this interface with the httpapi? it should be able to return the full thumb path. if not, it probably just needs a quick fix.

** edit **
ok, the httpapi seems to only be able to fetch "album" thumbnails. hmm... this will need some thought to add a generalized function that behaves more like how xbmc does. maybe it should be added to the "GetMediaLocation" function so that the thumb filename is returned for each item with the directory listing.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
(This post was last modified: 2006-10-06 20:52 by kraqh3d.)
find quote
TREX6662k5 Offline
Member+
Posts: 214
Joined: Oct 2006
Reputation: 0
Location: London, United Kingdom
Post: #6
Hey dudes Kingjames pointed me in to this direction of the thread.
Dont worry I have fixed all the problems with thumbnails. By using getcurrentlyplaying I am able to get the path of the thumb if it exists and request for it to be downloaded, saved and displayed.

It doesnt just apply to album thumbnails BTW...I have tested it with films and pictures and I can safely say, it works.

The code is messy (and it does throw a few warnings in to the debug logs of XBMC) but I will resolve those problems and will neaten up the code once I fully decide what features I can sucessfully impliment in the program.
Thanks for your support, and thanks for XBMC!
find quote
TREX6662k5 Offline
Member+
Posts: 214
Joined: Oct 2006
Reputation: 0
Location: London, United Kingdom
Post: #7
Updated it, full notes and readme available on QJ Forums

WYSIWYG
find quote
jiz_king Offline
Member
Posts: 83
Joined: Jan 2004
Reputation: 0
Post: #8
I am really interested in this app and in fact concieved my current XBMC based home entertainment setup around controlling XBMC with a PSP (although through the web interface). I am interested in seeing the visual style of the AP, but I haven't yet invested in a PSP.

Any chance you could put some screens up?

Cheers mate, and thanks for sharing your work.

JK.
find quote
TREX6662k5 Offline
Member+
Posts: 214
Joined: Oct 2006
Reputation: 0
Location: London, United Kingdom
Post: #9
Quote:Any chance you could put some screens up?

HERE you go

Oh and dont expect the Remote Control screen to stay the same, I want to see wether I can get the xbox to send screenshots over to the 360 and have them displayed on the psp...2nd screen. Ill implement the same for pictures.

This is where ill be posting my updates from now

WYSIWYG
find quote
Vangeloff Offline
Junior Member
Posts: 3
Joined: Oct 2006
Reputation: 0
Post: #10
Hey Trek, I was always looking for updates on this program on the QJ forums.. I was the one with the wrong thumbnails showing up for my music on XBMC... this problem was never fixed.. right?? alright well im really looking forward to seeing where this goes..
find quote
Post Reply