OK, I think I know why this cover.jpg issue is happening. pygame's image.save method cannot write jpeg until version 1.8. I personally have 1.6.x on my desktop PC. I'm not sure what ships with the python on my n800, but I'm guessing it's not 1.8.x.
My suggestion is to just copy the cover.jpg directly rather than scaling it first. We don't scale the netDL images before we write them, so I don't think it matters.
Nice work. Clean 1.2 install runs fine. I had some problems with 1.1, but got em fixed when i deleted covers dir and did re-install. My opinion is that UKMP is so far best mp3 player for N800. Fast and simple.
OK, I think I know why this cover.jpg issue is happening. pygame's image.save method cannot write jpeg until version 1.8. I personally have 1.6.x on my desktop PC. I'm not sure what ships with the python on my n800, but I'm guessing it's not 1.8.x.
My suggestion is to just copy the cover.jpg directly rather than scaling it first. We don't scale the netDL images before we write them, so I don't think it matters.
Ahh... That must be it. I was only testing that on my desktop and I was positively pleased that it seemed to be working just fine. Oh well.
I suppose there is no other alternative than to either store them as scaled tga images or plain copy them. The bad thing about copying them is that I guess that many people have quite large images -> startup time will be even slower than it is. I'll do a quick test on both of these and I'll try to release a patched version.
The reason Net downloaded images aren't scaled is that I know they are small images, as they are taken from the search engines thumb nail images.
I've now merged your diff Trevarthan. Thanks for the code!
Also, for ogg lovers, there is a new 'dev' version in garage that helps ukmp to move to next song after the previous ends. It will crash if you try to seek while playing an ogg file though (thus the word dev). Anyway, I'll launch the next version next wednesday with both these fixes and maybe some others as well. We'll see how much time I have. I'm currently prioritizing a test of including coherence library to ukmp, which will allow ukmp to access full upnp capabilities.
I've now merged your diff Trevarthan. Thanks for the code!
Also, for ogg lovers, there is a new 'dev' version in garage that helps ukmp to move to next song after the previous ends. It will crash if you try to seek while playing an ogg file though (thus the word dev). Anyway, I'll launch the next version next wednesday with both these fixes and maybe some others as well. We'll see how much time I have. I'm currently prioritizing a test of including coherence library to ukmp, which will allow ukmp to access full upnp capabilities.
Is there any way in the near future you will a ukmp that has some picture and video support along with the music also on start up has a home navigation screen that looks like windows media center or even somthing like canola has.
Is there any way in the near future you will a ukmp that has some picture and video support along with the music also on start up has a home navigation screen that looks like windows media center or even somthing like canola has.
Yes, there is a possibility of having one of those within a month. Depends a bit on how Coherence integration goes and how long it takes time.
Firstly I need to apologise because I am a complete newbie to computors etc, but I have recently bought an N800 & I love it!
I like the look of this application & want to use it on my N800, but my daft question is that you say I have to download python first, but is that directly to my N800 or to my laptop?
Sorry if that sounds daft but I could do with some basic help in getting this loaded onto my computor/N800.
You need to install python on the device. Do this:
Open opera.
Browse to: http://pymaemo.garage.maemo.org/installation.html
Click first on the base repository link and open it. It will add a repository that contains some needed libraries. Then get back to opera and click on the python install button. This will do the actual python installation.
Major features in this release are: faster startup and delete song functionality. 1.3 uses a database file that is stored in covers directory. Basically what it contains is the id3 data of mp3 songs on your system. By using this file, ukmp doesn't have to scan all your mp3 files on startup. It'll just check which files you have on your system, then retrieve them from db or from id tags if it doesn't have them on the db. On my music library of around 400 songs, this dropped mmc scanning from 21 secs to around 3 secs. Nice improvement, huh?