maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   UKMP 1.6 is out (https://talk.maemo.org/showthread.php?t=8905)

konttori 2007-08-16 13:13

UKMP 1.6 is out
 
UKMP 1.6 is out with a host of new features:
1. Exit button
2. Maemoscrobbler integration (scrobbles to last fm)
3. Automatic thumbnail images from video files
4. Currently playing -screen
5. Progress bar
6. Touch to seek functionality in the progress bar
7. Full M4A support, including cover image from the m4a files
8. Larger video thumbnails

A more detailed post is on my blog along with install links and screenshots.
http://konttoristhoughts.blogspot.co...16-is-out.html

konttori 2007-08-16 13:57

Re: UKMP 1.6 is out
 
Also, direct link to install in here:
http://maemo.org/downloads/product/ukmp

ColdFusion 2007-08-16 14:11

Re: UKMP 1.6 is out
 
Cool!
Just some things... It now crashes all applets when atempting to start with IDEA.
It never plays the right song, one song is selected but it plays some other.
I have UKMP Dark/Light but it always says 'Starting UKMP Light' and then it starts Dark... lol
And it never adds one of my mp3s. All other players have it in the library.
Cheers! :)

konttori 2007-08-16 14:45

Re: UKMP 1.6 is out
 
Sorry to hear that it's causing problems for you. I've had no such problems with opening songs as you describe. Does that happen always? If the light theme was included in that package, that's my bad. I've now reuploaded the ukmp and it shouldn't contain the light theme launcher anymore.

I have no idea what crashes IDEA. Perhaps we should talk to IDEA maintainer about that.

omegaone37 2007-08-16 14:57

Re: UKMP 1.6 is out
 
my two cents...

installed new version... have current python... UKMP starts up... displays loading covers... then quits. Rebooted... same occurs.

wish I had 1.51 back...

Regards...

Omega

ColdFusion 2007-08-16 14:58

Re: UKMP 1.6 is out
 
Well some songs play as they should. But some play some other song. I actually found the missing song under one of the other, but I still have the same number of songs. Maybe it didn't add that song properly and that has caused all other to shift also. But I don't think that's a reproducable bug, or atleast I don't know how I can show it to you.

Yeah it's probably an IDEA problem, I don't know. Does it work for you?

Keep up the good work, that's an alsome player!

p.s. How about making the EXIT button a BACK button in the other screens except the main one?

konttori 2007-08-16 15:10

Re: UKMP 1.6 is out
 
I'll think about the back button. Thanks for the idea!

And good to hear that you like it even though it seems to have some annoyances for you. What you are describing sounds like there is some big problem with error handling in case id3 tags aren't properly interpreted. Seems like that in that case some parts of the database are updated and the id numberings are messed. I'll have a look at that. Thanks for clearing what is causing the bug. I think it's reproducable if you could verify that that single mp3 is causing the problem. You could then send me the mp and I could debug it to extinction.

konttori 2007-08-16 15:11

Re: UKMP 1.6 is out
 
Quote:

Originally Posted by omegaone37 (Post 68964)
my two cents...

installed new version... have current python... UKMP starts up... displays loading covers... then quits. Rebooted... same occurs.

wish I had 1.51 back...

Regards...

Omega

Can you open ukmp from the xterm?
just type uktube and press enter. Let me know what seems to be the error.

Thanks!

omegaone37 2007-08-16 15:15

Re: UKMP 1.6 is out
 
Have deleted media center from the tablet...

When you get it all sorted out, then I'll try again...

At my age, I don't use anything with the word "terminal" in it!

I'm an "end user"... not a programmer.

Omega

Khertan 2007-08-16 15:28

Re: UKMP 1.6 is out
 
Can t install '._DS_Store' already in package PySnippet.

You make your package on osx too. So you and me must update package without this ****ing macosx hidden files.

ColdFusion 2007-08-16 16:49

Re: UKMP 1.6 is out
 
IDEA works now! Previous version it was 'MediaCenter' and this time it's 'ukmp' or 'ukmp alt'. I guess the 'alt' is for the light version, but it starts the dark version.

Now I can start my player directly from the desktop!

PS ogg files crash the player, do i have to do something specific for ogg support?

omegaone37 2007-08-16 17:31

Re: UKMP 1.6 is out
 
Tried loading it again... the Application Manager says now that I have "MediaCenter 1.52"... nothing about UKMP or UKTUBE (even though they show up in the EXTRAS folder). I start it up... same thing... says "Downloading..." ... POOF! Gone.

If its UKMP 1.60, why does it say Media Center 1.52... very confusing.

Also, I have no need for YouTube, I can watch those on the web, so why package it and take up space when its not needed or wanted? And there is no way to delete it off the device without losing the music player.

Sorry if I sound old... the fact is I am. I am also an Apple computer users... so I expect things to "Just Work".

edit: I wanted to add that I really like this program over Kagu or even Canola (I really am smarter than a 5th grader!)... just wish it would work without having to have a degree in Geekology.

Omega

ColdFusion 2007-08-16 17:57

Re: UKMP 1.6 is out
 
Well omega, that's not how open source works. If you have a problem, you have to help. Probably you have some odd problem that the developer can't magically understand and resolve if you don't give him any information.
Apple might 'just work', but it works only works 'their way'. In OSS you have a myriad of choices to do every task, but it also expects that the user is a little more experienced and willing to get his hands 'dirty'. But the reward is so much bigger.

So if you want your specific problem resolved and want to use ukmp... open xterm and type ukmp, then copy and paste the output here.

Only complaining doesn't help anyone. ;)

canaduck 2007-08-16 18:33

Re: UKMP 1.6 is out
 
I am also getting the crash while UKMP is loading album covers. Here's what xterm spits out:


~ $ ukmp

/usr/bin/MediaCenter.py:23: RuntimeWarning: import cdrom: No module named cdrom

import pygame, os

/usr/bin/MediaCenter.py:23: RuntimeWarning: import joystick: No module named joystick

import pygame, os

[Errno 13] Permission denied: '/media/mmc1/covers/'

making charging monitor

sent

monitor added

music files took:0.481048107147

MP3 album art functionality not yet done...

MP3 album art functionality not yet done...

MP3 album art functionality not yet done...

MP3 album art functionality not yet done...

saveTagList(): UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 22: ordinal not in range(128)

id tags took:0.966705083847

Too few videoclips, smooth scrolldisabled

File does not exist:/media/mmc2/covers/UNKNOWN_UNKNOWN.jpg

File does not exist:/media/mmc2/covers/UNKNOWN_UNKNOWN.jpg

main(): album information not ok for album:Homogenic

Traceback (most recent call last):

File "/usr/bin/ukmp", line 28, in <module>

if __name__ == '__main__': main()

File "/usr/bin/ukmp", line 26, in main

MediaCenter.main()

File "/usr/bin/MediaCenter.py", line 2816, in main

songprocessor.getAlbumCover(i)

File "/usr/bin/MediaCenter.py", line 2275, in getAlbumCover

found=self.retrieveImageFromNetMSN(searchString + " (cd OR cover)",thumbFile)

File "/usr/bin/MediaCenter.py", line 2355, in retrieveImageFromNetMSN

txdata = urllib.urlencode(params)

File "/usr/lib/python2.5/urllib.py", line 1250, in urlencodeUnicodeEncodeError: 'ascii' codec can't encode character u'\xf6' in position 14: ordinal not in range(128)

~ $

konttori 2007-08-16 21:00

Re: UKMP 1.6 is out
 
I hear you omegaone37. I actually would rally like to make the ukmp a smooth experience for the end users. The thing is that opensource developers seldom have the time to really do proper testing, thus it's the users who have to test, give feedback, and then we'll / I can fix the problems. I hate this model and I suppose this is why so many linux distros have every other release as stable and every other as unstable.

Anyway, I really appreciate that you tell me your concerns and problems with the software.

As to why the ukmp and uktube are bundled together. It has been related to a packaging problem that I had, which I have just today fixed. So, maybe in the near future they will be separate. However, as to the unnecessary size, well, uktube takes 20 kilobytes of space. So, it's really not too bad. Also, if you have ever used it, it's way better than the browser for watching youtube videos.


canaduck:
Thanks for the feedback! I have just made a new version 1.61-test.
It *may* fix your problem. At the very least it should give better debug information.

This version should also fix issues with PIL in case people haven't upgraded to the latest version of python yet.

Can you guys have a quick test and see if this one fixes the issues you were having. Thanks!
https://garage.maemo.org/frs/downloa...-1.61-test.deb

jurop88 2007-08-16 21:20

Re: UKMP 1.6 is out
 
Uhro, great app! Here`s a way to freeze it. Select a song and play it. Then go back from the 'while playing' screen to the 'song list' screen and select the same song. Then try to skip to a random point and - voilà, freezed!
Feature request: could you please add a volume bar, too, and the chance to go back to the 'now playing' screen after had switched to the song list screen?
Anyway, thanx for all your work! I like it and use as my main mediaplayer, really a nice piece of software

omegaone37 2007-08-16 21:20

Re: UKMP 1.6 is out
 
Konttori...

Installed 1.61 and it works as expected, so, thank you for your efforts.

Regards...
Omega

konttori 2007-08-16 21:27

Re: UKMP 1.6 is out
 
Great, thanks guys for testing it out. I've now updated the link to the 1.61 version.
omegaone37 : I'm relieved that it's working now. So, thanks for bearing to test it out until it was working. And thanks for the feedback!

jurop88: Thanks for the bug report. I'll try it out and try to fix it if possible (and why shouldn't it?

TO get back to the now playing screen, press the back button a few times. In the future, maybe clicking on a song that is playing, would switch to current song? Any other ideas?

Also, I'll definately add the volume bar in the future.

konttori 2007-08-16 21:30

Re: UKMP 1.6 is out
 
Oh,
If you need ogg support, you can install ogg to your device from here:
http://ogg.garage.maemo.org/ogg-support.install

jurop88 2007-08-16 21:40

Re: UKMP 1.6 is out
 
Hmmm, the bug is more subtle. It happens only on the first song you play after start. I also noticed that the albums arrow appears on the `while playing` screen only the first time. See, i am hearing my music while away from home for working reasons and hearing Mozart`s Requiem using ukmp...

jurop88 2007-08-16 21:50

Re: UKMP 1.6 is out
 
Quote:

Originally Posted by konttori (Post 69056)
TO get back to the now playing screen, press the back button a few times. In the future, maybe clicking on a song that is playing, would switch to current song? Any other ideas?

Also, I'll definately add the volume bar in the future.

Thx for the back (esc) button tip, clicking on a song while it's playing should definitively call the 'now playing' screen - IMHO

Anxiously waiting for the volume bar :)
I thought about a fixed position on the screen it should be accessed on every moment while playing, together with a mute function. What about some kind of geatures, a-la iPod?

Another feature request: if the name is too long, could it be shown on more lines in the 'now playing' screen?

Again congrs for your work!

Naranek 2007-08-17 07:30

Re: UKMP 1.6 is out
 
I love the party mode, but would it be possible to add a list of songs on the queue and maybe add a way to delete them from it? Drag & drop way of arranging the queue would also be übercool. Thanks for a great application :)

konttori 2007-08-17 07:40

Re: UKMP 1.6 is out
 
What is a geature?
Well, you have the + and - button at top of the device at all times. You can use those to control the volume at all times. Also, press dpad middle button to pause, which is IMHO enough the same as mute that I can't immediately justify adding a mute button. I really wouldn't like to fill the user interface with too much of stuff. Keep it simple, you know.

I'll definately focus more on the now playing screen for the next release. It will definately have a bigger cover image of the album as well as more information on the album (and multiple lines if needed).

Moby 2007-08-17 08:18

Re: UKMP 1.6 is out
 
Great App, seems to be working better each time I upgrade. Thanks.

BW: I assume Jurop88 meant "gesture" :)

konttori 2007-08-17 08:59

Re: UKMP 1.6 is out
 
I still didn't get what kind of gestures he means. Could you be a bit more specific?

Moby 2007-08-17 09:18

Re: UKMP 1.6 is out
 
I don't have an Ipod so no idea what gestures they use for control.



BTW: Is it possible for the player to remember the volume setting you selected ... it would save my ears being blasted everytime I started up the player :D

jazzbass12 2007-08-17 12:05

Re: UKMP 1.6 is out
 
Keep up the great work. I love the player...Many Thanks for your contribution to the geeks.

bmoon 2007-08-17 13:43

Re: UKMP 1.6 is out
 
I'm having problems with the new version too. I've tried the 1.61test deb and it still won't run on my 770. Run in xterm gives:

BusyBox v1.01 (Debian 3:1.01-4.osso12) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ ukmp
Traceback (most recent call last):
File "/usr/bin/ukmp", line 22, in <module>
import MediaCenter
File "/usr/bin/MediaCenter.py", line 88, in <module>
from PyAtom import *
File "/usr/bin/PyAtom.py", line 25, in <module>
from PIL import Image
ImportError: No module named PIL
~ $

I hope that helps you track down the problem.
Thanks for developing such a good media player for us!

TTgowings 2007-08-17 18:36

Re: UKMP 1.6 is out
 
Konttori, I've updated to the latest ver. 1.61 test and it continues to error out, I un-installed and re-installed, re-booted to no e-evail, it just starts to load then closes right out as some others have had as well. I've run it through X-term as well and will post the error code for you at the end of the post, I hope there's something in there that will help you diagnose the problem. I was also curious as to when/what version we might see it show up in the application manager ? And I remember a long time ago something about visualizations ?

ukmp
/usr/bin/MediaCenter.py:23: RuntimeWarning: import cdrom: No module named cdrom
import pygame, os
/usr/bin/MediaCenter.py:23: RuntimeWarning: import joystick: No module named joystick
import pygame, os
making charging monitor
sent
monitor added
music files took:0.662873029709
MP3 album art functionality not yet done...
MP3 album art functionality not yet done...
MP3 album art functionality not yet done...
MP3 album art functionality not yet done...
MP3 album art functionality not yet done...
MP3 album art functionality not yet done...
MP3 album art functionality not yet done...
MP3 album art functionality not yet done...
MP3 album art functionality not yet done...
Traceback (most recent call last):
File "/usr/bin/ukmp", line 28, in <module>
if __name__ == '__main__': main()
File "/usr/bin/ukmp", line 26, in main
MediaCenter.main()
File "/usr/bin/MediaCenter.py", line 2718, in main
songprocessor.getIDTags()
File "/usr/bin/MediaCenter.py", line 2064, in getIDTags
self.appendSong("", album, artist, song, fileName)
File "/usr/bin/MediaCenter.py", line 2004, in appendSong
self.getAlbumCoverFromFile(fileName, album)
File "/usr/bin/MediaCenter.py", line 2234, in getAlbumCoverFromFile
if os.path.exists(thumbFile): #and os.path.exists(fullCoverFileName):
File "/usr/lib/python2.5/posixpath.py", line 171, in exists
TypeError: stat() argument 1 must be (encoded string without NULL bytes), not str
~ $

jurop88 2007-08-17 20:02

Re: UKMP 1.6 is out
 
Yes, it was definitively to be meant as `gestures` - the N800 on-screen keyboard is not the perfect one for long posts :)
On an iPod you move your thumb in a semi-circolar fashion around a central button; that way you have an endless volume control/seeker. Implementing kinetic scroll on it could be great - think of a roller control, let's say for example on a VCR or a DJ cdplayer
btw, i'm feeling rather dumb after have read of +/- and center d-pad button... RTFM first :)

And... i tried to reproduce the bug without succes! Let's wait next reboot...

gigabites 2007-08-17 23:45

Re: UKMP 1.6 is out
 
ok, I couldn't wait to try the new features. Doh, it scans, and it crashes.
No prob, I deleted it and reinstalled. It scans and crashes and wipes out all desktop apps.
OK, so I restart and try my luck again. It scans... it works! sorta...
It only saw the 2-3 mp3s on my internal card(MMC2). I used file mgr to check removable card (MMC1). My card is now "Removable Memory Card" and No files found! Um...ok.

IOError: [Errno 5] Input/output error: 'media/mmc1/covers/songlist.txt'

Removed card and replaced, then rebooted. File mgr sees MMC1 and it's files fine. I deleted the covers dir to start over. Tried UKMP again. It scans, it downloads covers, it scrolls, and I select a song...whoo hoo!... sorta...

I click on a song, and it freezes, hard.

I normally have around 3 gigs of mp3s on my 8 gig card. I deleted half, and it worked!

Is there a file limit?

tabletrat 2007-08-18 01:23

Re: UKMP 1.6 is out
 
On the new version it quits after loading too
running it from the terminal gives :


/usr/bin/MediaCenter.py:23: RuntimeWarning: import cdrom: No module named cdrom
import pygame, os
/usr/bin/MediaCenter.py:23: RuntimeWarning: import joystick: No module named joystick
import pygame, os
making charging monitor
sent
monitor added
music files took:0.940062999725
Removing /media/mmc1/Documents/audio/01 Cowboys.m4a since we could not identify it sufficiently
Removing /media/mmc1/Documents/audio/03 Brightness Falls.m4a since we could not identify it sufficiently
Removing /media/mmc1/Documents/audio/03 Frozen.m4a since we could not identify it sufficiently
Removing /media/mmc1/Documents/audio/03 Strangers.m4a since we could not identify it sufficiently
Removing /media/mmc1/Documents/audio/03 To The End.m4a since we could not identify it sufficiently
Removing /media/mmc1/Documents/audio/04 17 Year Locust.m4a since we could not identify it sufficiently
Removing /media/mmc1/Documents/audio/04 Half Day Closing.m4a since we could not identify it sufficiently
Removing /media/mmc1/Documents/audio/04 Our Solemn Hour.m4a since we could not identify it sufficiently
MP3 album art functionality not yet done...
Removing /media/mmc1/Documents/audio/05 Firepower.m4a since we could not identify it sufficiently
Removing /media/mmc1/Documents/audio/05 The Killing Words.m4a since we could not identify it sufficiently
Removing /media/mmc1/Documents/audio/06 I Don`t Love You.m4a since we could not identify it sufficiently
Removing /media/mmc1/Documents/audio/07 Neue Regel.m4a since we could not identify it sufficiently
Removing /media/mmc1/Documents/audio/08 Seven Months.m4a since we could not identify it sufficiently
Removing /media/mmc1/Documents/audio/09 London.m4a since we could not identify it sufficiently
Removing /media/mmc1/Documents/audio/09 Riverman.m4a since we could not identify it sufficiently
Traceback (most recent call last):
File "/usr/bin/ukmp", line 28, in <module>
if __name__ == '__main__': main()
File "/usr/bin/ukmp", line 26, in main
MediaCenter.main()
File "/usr/bin/MediaCenter.py", line 2718, in main
songprocessor.getIDTags()
File "/usr/bin/MediaCenter.py", line 2064, in getIDTags
self.appendSong("", album, artist, song, fileName)
File "/usr/bin/MediaCenter.py", line 2004, in appendSong
self.getAlbumCoverFromFile(fileName, album)
File "/usr/bin/MediaCenter.py", line 2234, in getAlbumCoverFromFile
if os.path.exists(thumbFile): #and os.path.exists(fullCoverFileName):
File "/usr/lib/python2.5/posixpath.py", line 171, in exists
TypeError: stat() argument 1 must be (encoded string without NULL bytes), not str

konttori 2007-08-26 21:03

Re: UKMP 1.6 is out
 
New version 1.62 released.

It only fixes uktube bug in downloading youtube videos. Youtube had changed the way flash video is referred on the page and that had to be changed to uktube as well.

Download here:
http://maemo.org/downloads/product/ukmp/

hczim 2007-08-27 19:31

Re: UKMP 1.6 is out
 
Thanks for a fine program.

In 1.62 (just downloaded from maemo.org), however, there is a small glitch which makes it crash: line 2234, /usr/bin/MediaCenter.py starts with

if if len(...

remove one of those 'if's and it runs like a charm.

I downloaded it twice and the error persisted, so I suppose it's the archive which is in error.

tomk 2007-08-27 20:37

Re: UKMP 1.6 is out
 
I (a newbe) downloaded the UKMP-1.62.deb to my new N800 along with MPlayer and Python 2.5. Installed them all. When I installed UKMP-1.62.deb (using the app manager from a file because I was having problems with d-loading w/ App Manager ) the only app that requested a location was the UKTube (placed in "extras"). UK Tube and UKMO Dark are both listed as programs in the Extras folder. But if I open UKMO Dark I get a box saying UKMO Dark loading but it never does. UK Tube opens but it is a number of open boxes and I can't get it to work.

Am I missing something?

Sadavyk 2007-08-27 21:37

Re: UKMP 1.6 is out
 
I’m having problems to I downloaded the update now it won’t open?
And I really love this program I hope someone fix it soon...

hczim 2007-08-27 23:39

Re: UKMP 1.6 is out
 
Quote:

Originally Posted by Sadavyk (Post 71529)
I?m having problems to I downloaded the update now it won?t open?
And I really love this program I hope someone fix it soon...

Looks pretty much like the error I've described above. You can verify it by starting ukmp from an xterm.

The solution is also there: delete 2 characters (but I'm aware that vi is not everyones favorite tool ...).

ak.n770 2007-08-28 01:10

Re: UKMP 1.6 is out
 
First off I'd like to thank konttori for such an excellent app. I've been using UKMP for a while and I believe it's truly one of the essentials.

As for the 1.62 release I used leafpad to make the changes, saved it with the same name in a different folder and copied it back to the original location. Didn't cut down on steps but left me with my comfortable gui blanket.

konttori 2007-08-28 07:11

Re: UKMP 1.6 is out
 
Hi guys,

sorry for the if if bug. It's fixed now.
1.621 is available from:
http://maemo.org/downloads/product/ukmp

tomk 2007-08-28 16:48

Re: UKMP 1.6 is out
 
Thanks for the update. I do get a app loaded now. It doesn't find any albums so auto exits. I don't have any albums. There's no controls, file open, etc. I had expected the player to be more an itunes-like player. I think I may need a different app my main goal at the mo is to get internet radio playing on the 800, when I use the native player the IR drops in seconds. Thanks again.


All times are GMT. The time now is 22:00.

vBulletin® Version 3.8.8