MPBlue PPC client release 0.0.4 (2 Viewers)

MrSensitive

Portal Pro
May 18, 2004
239
0
Belgium
13.000 songs. not sure... from a database point of view that is not much,

when you click an artist, I go search in the database to find all albums, by that artist, this should be indexed, but I'll hav a look at the db itself.

I only have 2.000 something songs And I don't hava any (major) delay..
I work as a DBA, and seen databases slow down severely after x number of records, this has to do mostly with missing indexes.
for 2000 records, a index is not really required..maybe 13.000 is pushing it a bit..

I'll get back to this in the future..

The Now playing screen is going to change.. so your changes might get lost..

now playing album cover is in the works..
 

ZetaVu

Portal Pro
December 9, 2005
152
1
Had some time this morning so I took a look at the xml file. I was able to figure out the format. For the now playing screen everything is pretty simple, since you are already on that I won't bother. The general transport controls had me baffled for a bit until I realized the payload was the same as the ID in the keymap xml, so I think I can tinker with this a bit. I'm gonna try to add shuffle, vol up and down, a back button, and see if I can figure out how to maximize fullscreen visuals.
 

ZetaVu

Portal Pro
December 9, 2005
152
1
Ok, found the "payloads" for everything but shuffle, apparantly that does not have a keyboard shortcut, not one I can find anyway. There are two spots under playlist view, one for shuffle, one for party shuffle. Anyone have an idea how I could make those run? One question I have, if we are playing from an album, can we even apply a shuffle? Selecting an album to play (or artist I guess) does not appear in the playlist section of MP

Also comes back to the point where it would be nice to see the contents of the selected music, specifically so we can know where we are navigating to.
 

paddedbag

New Member
March 8, 2006
3
0
hey, good work... Been having a look at the sources...

I've got an WM5 ipaq I want to use around the house as a remote... How much work you think to get my videos up? just querying mp for the folders, getting a folder listing in each folder then sending a play command I guess?

Wouldn't know where to start, haven't really got the time to look into how your server app queries mp...
 

MrSensitive

Portal Pro
May 18, 2004
239
0
Belgium
So I downloaded this MedaControl, and I noticed that it is using exactly the same way of communicating with the server.

only difference is that I'm using the MP database, and he is using the Database built into MediaPlayer.

loading of artists is not faster in MediaControl or in MPBlue.. (on my machines)

so the problem must be your database ZetaVu, i will check some more..

maybe you can send me your database? (not the mediafiles itself obviously)

by default it is located here:
C:\Program Files\Team MediaPortal\MediaPortal\database\musicdatabase4.db3

I'll PM you with a email address
 

ZetaVu

Portal Pro
December 9, 2005
152
1
No problem, I can also send you what I've done with the xml file and png files (nothing spectacular, but I learn as I go, haven't figured out how to post here unless I link online content)

I got volume up and down to work, I can make visualizations fullscreen on the computer, and put in a back button to go through pages in mp. I have not figured out a way to make shuffle work. ANYONE KNOW HOW TO SHUFFLE SONGS?

I just rebuilt my database right before rc3 (mpblue works fine with rc3 for me as well), but if there's a problem I can delete it and build again.

As you add more functions, I'll be happy to play around with the menu pages since that I can handle (xml editting), at least something I can do to help you out.

Question, if you query the wmp database, could you still get the actual playback to work in MP?

Also, I noticed a couple nuiances with now playing. Sometimes I have to do something with control to get it to populate, and it definitely does not populate (or update) if I am in weather in mp.
 

fathead

Portal Pro
March 17, 2005
209
0
I'm loving this development, as it creates the perfect remote! No longer do you even need to be near you MP box to change settings, you simply sit in the back garden with a beer in one hand & Ipaq in the other - all thats missing is the French maid "cleaning" the pole!
 

MrSensitive

Portal Pro
May 18, 2004
239
0
Belgium
ZetaVu,

I received your database, and indeed, my suspicions where right..
it is incredibly slow because no indexes exist on the database.

the loading of artists should go fairly well, but once I want to load albums for that artists.. Indeed 20 seconds or more..

Once I created an index on the song table (column idArtist) the thing flies again.. Search lasts in the order of milliseconds..

Not sure how I have to report this...

there is at least one function in MP itself that also must suffer from this..(but I forgot the name..)
 

ZetaVu

Portal Pro
December 9, 2005
152
1
Great! Now how can I index in MP? Can I index with another application and not negatively effect MP (or improve) so this works better?

I assume it affects the album view, that takes the longest to load in MP
 

Users who are viewing this thread

Top Bottom