maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   General (https://talk.maemo.org/forumdisplay.php?f=7)
-   -   Kagu Media Player Released 1.0.2! (https://talk.maemo.org/showthread.php?t=8513)

trevarthan 2007-08-07 17:48

Re: Kagu Media Player Released 1.0.2!
 
Quote:

Originally Posted by Nanocore (Post 66246)
Tangent....
I loaded 1.0.2 but do not have the latest firmware. It scanned my card just fine, but when starting the application it blacks the screen and then dies. I have the latest python, and installed the app from the install button. I don't need the a2dp stuff, so I wanted to check out what this app looked like. Does this app require the latest firmware update? What is the command to run from the command line so that I maybe I can see why it would be dying?

Interesting problem. I've never seen that before.

No, the latest firmware shouldn't be necessary. The only real requirement is python 2.5 which can be downloaded from http://pymaemo.garage.maemo.org/.

Assuming that you have python 2.5 installed, I recommend that you SSH into the tablet from a desktop machine as 'user' and run the command `kagu`. Or perhaps `/usr/bin/kagu`. Paste the backtrace you see there into this thread and we'll help you solve the problem.

Nanocore 2007-08-07 19:05

Re: Kagu Media Player Released 1.0.2!
 
OK, ran the command from the xterm and the last line of the traceback is (at line 70 in main:
globals.albumcache = pygame.image.load(os.path.join(db.get_db_dir(), "album_cache.tga")).convert()
pygame.error: Couldn't open /home/user/MyDocs/.sounds/album_cache.tga

I looked there and sure enough its not there (DOH!). Thinking this gets created by the kagu-scanner I re-ran the scan program. The file is still not there.

trevarthan 2007-08-07 19:13

Re: Kagu Media Player Released 1.0.2!
 
Quote:

Originally Posted by Nanocore (Post 66299)
OK, ran the command from the xterm and the last line of the traceback is (at line 70 in main:
globals.albumcache = pygame.image.load(os.path.join(db.get_db_dir(), "album_cache.tga")).convert()
pygame.error: Couldn't open /home/user/MyDocs/.sounds/album_cache.tga

I looked there and sure enough its not there (DOH!). Thinking this gets created by the kagu-scanner I re-ran the scan program. The file is still not there.

What I'm about to ask you might sound silly, but please bear with me:

1.) Do you have wifi access on the tablet when you are running kagu-scanner? It pulls album cover art from the internet, so you need wifi when running the scanner.

2.) Do you have any mp3s on the memory card? And do those mp3s have ID3 tags? Kagu currently requires at least one mp3 with a proper ID3 tag to function properly.

Nanocore 2007-08-07 19:51

Re: Kagu Media Player Released 1.0.2!
 
I do have wifi access and confirmed it was connected. The scanner certainly appears to be pulling something down. And for #2 I have an 8gig SDHC card that has about 312 songs on it and I believe they all have tags. I guess it might be possible that there is a song or two that doesn't have tags.

I will run the scanner from the command line and see if it bombs out prior to finishing (?maybe it crashed and didn't write the file?)

OK, sure enough, kagu-scanner errors out with:
...line 257 in __load_image
image = pygame.image.load(self.art_path)
pygame.error:Unsupported image format

Spazholio 2007-08-07 20:20

Re: Kagu Media Player Released 1.0.2!
 
Just out of curiosity, is the UI going to get any love soon? I know that the code is what's important, and getting features/bugfixes out the door is of prime concern, but I personally can't stand the UI. It's what's keeping me from using it. Any plans to address that?

trevarthan 2007-08-07 20:22

Re: Kagu Media Player Released 1.0.2!
 
Quote:

Originally Posted by Spazholio (Post 66329)
Just out of curiosity, is the UI going to get any love soon? I know that the code is what's important, and getting features/bugfixes out the door is of prime concern, but I personally can't stand the UI. It's what's keeping me from using it. Any plans to address that?

I'm going to help Nanocore debug his problem off thread.

What don't you like about the UI, exactly? If you're more specific, perhaps we can improve it.

aflegg 2007-08-07 22:40

Re: Kagu Media Player Released 1.0.2!
 
TBH, the UI is a bit of a turn-off. It makes UKMP's look good (which I still think is a bit bare bones).

It's little things like having graduations scroll as well as items, but then not line up; elements without a visible bounding box or button (e.g. the "OK") etc.

Short version: look at iTunes, the iPhone or Canola (but keep the album art in the listing view, which hopefully the next version of Canola will get).

Long version: I'm not a good UI designer; I just know what's usable when I see it :)

trevarthan 2007-08-08 02:36

Re: Kagu Media Player Released 1.0.2!
 
Quote:

Originally Posted by aflegg (Post 66375)
TBH, the UI is a bit of a turn-off. It makes UKMP's look good (which I still think is a bit bare bones).

It's little things like having graduations scroll as well as items, but then not line up; elements without a visible bounding box or button (e.g. the "OK") etc.

What do you mean by "graduations"? And not lining up?

I understand what you mean with the OK button and the bounding boxes. I think we can fix that easily enough.

Quote:

Originally Posted by aflegg (Post 66375)
Long version: I'm not a good UI designer; I just know what's usable when I see it :)

We would appreciate some help in this area. Unlike canola, kagu is open source. If you want to help improve it, you can. I'm a programmer, so I have very little interest in making things pretty. I deal with usable, and in my opinion the UI might not be very pretty, but it's quite usable. If you want pretty, help us out.

trevarthan 2007-08-08 04:01

Re: Kagu Media Player Released 1.0.2!
 
Quote:

Originally Posted by trevarthan (Post 66426)
I understand what you mean with the OK button and the bounding boxes. I think we can fix that easily enough.

I've opened a ticket for this. That's the first step. Now we need someone to do the work: https://www.guardiani.us/projects/kagu/ticket/23

I don't mind doing it, but my time is limited and I have higher priority items on the list currently, so it will probably be a while before I can get to it. Perhaps someone from the community will step up and help out?

geneven 2007-08-08 04:35

Re: Kagu Media Player Released 1.0.2!
 
I like the ui ok. The only thing I don't like is that I can't do anything in other programs while running Kagu.


All times are GMT. The time now is 19:06.

vBulletin® Version 3.8.8