maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   I'll Say It Again: The Media Player Stinks (https://talk.maemo.org/showthread.php?t=44024)

IWantToMarryTheN900 2010-02-11 15:33

Re: I'll Say It Again: The Media Player Stinks
 
Thanks to the intelligent answers on here + Google, I've learned a ton about Pulse Audio. I think my immediate short-term solution will be a Zune HD (since it now supports xvid).

The longer-term solution is to wait.

And - to all those whose tags are messed up - the best solution is http://www.mp3tag.de/en/.

I have zero problems with artwork and tags in my N900 media player. Give it a shot, it works great and is free!

daperl 2010-02-11 15:40

Re: I'll Say It Again: The Media Player Stinks
 
Quote:

Originally Posted by qwerty12 (Post 520757)
The problem with that: It only shows one label underneath the button, not two like the Media Player's custom widget (*sigh*, Nokia. The clock has its own widget for this and the same with the Media Player and Application Manager. Mauku has its own cloned version. Wouldn't it have been easier to just collaborate efforts and put it in libhildon instead of sticking to closed-source ways? /rant). Easily remedied, though, I assume.

I feel your pain, but because GTK is based on GObject which is written in C, there is no real encapsulation. Go look at my hack for the Advanced Backlight Control. I needed to get at a "Private" widget of the Hildon Volume Bar to simulate a piece of Nokia's Maemo 4 status bar volume control. This all changes with Qt and C++; good for maintenance, bad for hacking. But Qt is all open, right?!

qwerty12 2010-02-11 15:45

Re: I'll Say It Again: The Media Player Stinks
 
Quote:

Originally Posted by daperl (Post 521319)
I feel your pain, but because GTK is based on GObject which is written in C, there is no real encapsulation. Go look at my hack for the Advanced Backlight Control. I needed to get at a "Private" widget of the Hildon Volume Bar to simulate a piece of Nokia's Maemo 4 status bar volume control. This all changes with Qt and C++; good for maintenance, bad for hacking. But Qt is all open, right?!

Indeed. Can't say that I've done anything hardcore, but IDA Pro (yes, I know, my C is only the very basic; what chance do I have with ASM but I get the gist of what is happening), G-Inspector and Parasite have been most helpful for me (with the latter having a quickly hacked build in -devel).

etuoyo 2010-02-11 15:56

Re: I'll Say It Again: The Media Player Stinks
 
Quote:

Originally Posted by niqbal (Post 520708)
unfortunately there is no standard. If there were an industry standard it would be easy to transfer music and know exactly how it will appear on the device.

ipod/iphone
album artist -> album
title1 - artist1 - albumart
title2 - artist2 - ..

N900
artist / album
title1 - albumart
title2 - ..

I hope you can see the difference and why music tagged for one device will not be sorted by another device as expected. Personally ipod method is better because it involves assigning multiple artists for the same song title which is not available for n900.

In n900, using a software like mp3tag. Use Artist Tag (in place of album artist tag), you can use extended tags for album art but i think you already have that covered so good job on that front.

and thats primarily it. I hope it gets your music organized

Thanks but retagging all my music is not an ideal solution at all. Would be better off spending £250 on an mp3 player than retagging all my music because the N900 does not handle tags properly. Especially since there is the possiblity that my next phone will handle it properly. Or that it would be fixed on the N900. That is very possible because it does handle tags properly on some of my songs. But it is very random. On some it will correctly show song artist on others it will incorrectly just show album artist. Maybe one day I will be able to work out the reason for the random different treatment.

daperl 2010-02-11 22:13

Re: I'll Say It Again: The Media Player Stinks
 
2 Attachment(s)
@qwerty12

I just put the EventBox and the Labels in a VBox and it lines up pretty good with Nokia's stuff.

Attachment 7080
Attachment 7081

Enyibinakata 2010-02-12 15:37

Re: I'll Say It Again: The Media Player Stinks
 
yes the media player is an incomplete wreck. I love maemo and the n900 but the media player is junk. I will revert to my trusted 5800 and wait for the next firmware update.

daperl 2010-02-13 05:59

Re: I'll Say It Again: The Media Player Stinks
 
1 Attachment(s)
I was wrong, check it out, when you're playing a video and you expand the metadata, a small window on the right shows the clip. Excellent.

Attachment 7123

Alan_Peery 2010-02-13 18:59

Re: I'll Say It Again: The Media Player Stinks
 
I've commented on the bug, because that is not what I experience. When I made a 30 second call to the N900, the podcast I was listening to paused. It also advanced 10 seconds, when it should not have done...

IsaacDFP 2010-02-13 22:52

Re: I'll Say It Again: The Media Player Stinks
 
Quote:

Originally Posted by zerojay (Post 519853)
Media Player isn't perfect and has its issues, but it generally fits all my needs. I would REALLY like to see it open sourced so that we can fix it.

Just out of curiousity (I am not a developer...), why would Nokia have the Media player closed source? What exactly would they have to lose but having it open sourced and letting experienced and enthusiasts developers enhance it?

SubCore 2010-02-14 01:23

Re: I'll Say It Again: The Media Player Stinks
 
Quote:

Originally Posted by IsaacDFP (Post 525264)
Just out of curiousity (I am not a developer...), why would Nokia have the Media player closed source?

that's the best answer you can get:
http://wiki.maemo.org/Why_the_closed...s_for_packages

daperl and qwerty12 are already exploring the opened media application framework.

bxbomber 2010-02-14 02:12

Re: I'll Say It Again: The Media Player Stinks
 
why get rid of the s9, it has much better audio quality than the nokia n900. and it's not big enough to be bulky.

i have an s9 and love it.

zerojay 2010-02-14 03:36

Re: I'll Say It Again: The Media Player Stinks
 
Quote:

Originally Posted by IsaacDFP (Post 525264)
Just out of curiousity (I am not a developer...), why would Nokia have the Media player closed source? What exactly would they have to lose but having it open sourced and letting experienced and enthusiasts developers enhance it?

Sometimes it's not a matter of having something to love as much as they just didn't have the time to open source it yet. Might sound stupid but the truth is that all source that gets released has to go through Nokia's legal team first and that can take who knows how long.

Thor 2010-02-14 06:51

Re: I'll Say It Again: The Media Player Stinks
 
Quote:

Originally Posted by etuoyo (Post 521349)
Thanks but retagging all my music is not an ideal solution at all. Would be better off spending £250 on an mp3 player than retagging all my music because the N900 does not handle tags properly. Especially since there is the possiblity that my next phone will handle it properly. Or that it would be fixed on the N900. That is very possible because it does handle tags properly on some of my songs. But it is very random. On some it will correctly show song artist on others it will incorrectly just show album artist. Maybe one day I will be able to work out the reason for the random different treatment.

Album Artist works fine on my N900. It just won't display Artist tags at the same time. Album Artist appears to override it.

However if you have labelled an album title correctly and it has multiple artists, and no Album Artist tag, it shows up as "Various Artists" in the visual album view for that album, but the player itself will show the correct Artist tag, so you don't need to label Album Artist with "Various Artists". I like that.

There is a problem (mostly with hip hop, R&B, remixes, megamixes) where you have lots of artists featured, but I'm not sure there is a media player that handles that properly and is more a problem with the tags we have as standard at the moment.

mrebanza 2010-02-14 07:18

Re: I'll Say It Again: The Media Player Stinks
 
Quote:

Originally Posted by IWantToMarryTheN900 (Post 519666)
I use wired earbuds. Why would it be specific only to bluetooth? That makes no sense.

WOW, I use the media player with my headphones all the time and it ALWAYS pauses when a call comes in and resumes when i hang up . . . . and I am *ALMOST always using the web at the same time (no wounder the battery doesn't stand a chance :D)


Try upgrading to the latest firmware???

Go into app manager and update!

Hope this helps

daperl 2010-02-16 00:21

Re: I'll Say It Again: The Media Player Stinks
 
1 Attachment(s)
Whoa, that was painful. It took me 3 days to figure out that HildonAnimationActor is my newest, bestest friend. Anyway, after the first mediaplayer window, and before playback, it's a bunch of song, video and iradio lists. Without scrollbars, Maemo 5 list browsing is frustrating, so I decided to go for a rolodex-like iPhone OS thingy. Just a demo, but it's much nicer. Nokia needs to add something like this across the Entire OS. Here's a screen shot:

Attachment 7213

Now for some integration. And maybe some portrait mode. But first, hopefully some cleanup (me included) and some code posting.

Gotta go, my battery's dyin'.

voltagex 2010-02-16 00:24

Re: I'll Say It Again: The Media Player Stinks
 
Quote:

Originally Posted by southwalesboy (Post 519695)
I love my n900, but the quality of audio from media player is rubbish compared to my n82

Could that be just because there's no equalizer? Are you used to bass & treble boosting?

voltagex 2010-02-16 00:30

Re: I'll Say It Again: The Media Player Stinks
 
The main problem I have with the media player is that searching doesn't work in all screens.

Why can't I search by artist or by album?

daperl 2010-02-16 00:35

Re: I'll Say It Again: The Media Player Stinks
 
Quote:

Originally Posted by voltagex (Post 528509)
The main problem I have with the media player is that searching doesn't work in all screens.

Why can't I search by artist or by album?

It doesn't seem to work with albums, but currently, you have to open the keyboard if you want to search through artists and songs. It's not bad, but I usually don't like opening the keyboard for such things.

arkanoid 2010-02-16 02:05

Re: I'll Say It Again: The Media Player Stinks
 
I have strong impression that there is next to *NO* priority management for system resources while playing multimedia. If something demands CPU or IO bandwidth for , say, email sync, it easily gets it causing player to hiccup and *NOTHING* in the system, even stupid renice, tries to prevent it :-(((

Ali_rshojakhani 2010-02-17 16:14

Re: I'll Say It Again: The Media Player Stinks
 
while listening to some loud music... someone calls, after u disconnect the phone call suddenly the music resumes on the same loud volume that tends to be disturbing sometimes... is there any way to change that to a "fade in from silent to loud" like on the n95 [ out of the box ] ??
i considered putting this up on brainstorm but i dont know anything about coding so i had no possible solutions...

Sphinx780 2010-02-17 16:52

Re: I'll Say It Again: The Media Player Stinks
 
Quote:

Originally Posted by Ali_rshojakhani (Post 532441)
while listening to some loud music... someone calls, after u disconnect the phone call suddenly the music resumes on the same loud volume

Are you on headphones when you are listening to the music? If so, there is a Headphone Daemon in the repository (either extras or extras-testing, can't remember which) that will pause the media player when the headphones are disconnected. It's worked great for me so I don't run into that issue when a call comes in any longer.

On another note, I've noticed since the update that the media player doesn't stutter any longer when receiving emails/sms or im in the background...unfortunately it still stutters when switching from wifi to 3g...

Ali_rshojakhani 2010-02-17 17:06

Re: I'll Say It Again: The Media Player Stinks
 
Quote:

Originally Posted by Sphinx780 (Post 532534)
Are you on headphones when you are listening to the music? If so, there is a Headphone Daemon in the repository (either extras or extras-testing, can't remember which) that will pause the media player when the headphones are disconnected. It's worked great for me so I don't run into that issue when a call comes in any longer.

On another note, I've noticed since the update that the media player doesn't stutter any longer when receiving emails/sms or im in the background...unfortunately it still stutters when switching from wifi to 3g...

yeah thnx i know [ and am using ] headphoned
bu thats not the PROBLEM... im using the headet to talk althrough....
the problem is that i want it to resume playback but not at the same loud volume ... after disconnecting THE PHONE CALL it would be much better if the volume would RESUME AND rise from silent to the sme volum set before the call [just like on the n95 - out of the box feature]

Sphinx780 2010-02-17 17:11

Re: I'll Say It Again: The Media Player Stinks
 
Sorry I couldn't be of more help, unfortunately I don't have an answer for that problem, figured I'd clarify whether you were using w/ or w/o headphones just in case it might help. :)

daperl 2010-02-23 18:52

Re: I'll Say It Again: The Media Player Stinks
 
2 Attachment(s)
It took me a while to figure out the UPnP thing. If I had carefully read this MAFW-UPnP-Control-Source notification sooner, I would have saved myself a few hours:

Attachment 7447

I was then wondering how many UPnP sources Nokia's mediaplayer could handle; so I fired up 9 of them. :eek: As you can see, it looks like 8 is the limit. I've witnessed these UPnP sources displaying icons, but I haven't searched this out yet. Without me having to look through code, if anyone knows how to get those icons to display, please share.

Attachment 7448

Also, as a mediatomb FYI, you have to make changes like this if you want mediaplayer to see your UPnP vorbis - ogg files. At the moment, I can't find the link that explains this, but it has to do with mediatomb defaulting the mime-type to application/ogg, and mediaplayer only handles audio and video or something.

Code:

      ...
      <extension-mimetype ignore-unknown="no">
        ...
        <map from="ogg" to="audio/x-vorbis+ogg"/>
        ...
      </extension-mimetype>
      ...
      <mimetype-contenttype>
        ...
        <treat mimetype="audio/x-vorbis+ogg" as="ogg"/>
        ...
      </mimetype-contenttype>
      ...

And lastly, if anyone wants to know how to run 9 mediatombs on their linux box, I can share those notes later, but everything starts with something like this:

Code:

sudo ifconfig add eth0:0 192.168.6.66

val580 2010-02-24 18:06

Re: I'll Say It Again: The Media Player Stinks
 
I got a bug with media player , sometimes when I get a missed call , the music start to play by itself !
I already had the bug before last weeks update , but I got the phone from december and I only noticed it now. Have you ever had this ?

gddhthrhrhr@yahoo.com 2010-02-24 20:17

Re: I'll Say It Again: The Media Player Stinks
 
username is perfect, i love it

val580 2010-02-24 21:27

Re: I'll Say It Again: The Media Player Stinks
 
who r u talkin to

daperl 2010-03-06 21:03

Re: I'll Say It Again: The Media Player Stinks
 
I've spent the last week and a half studying all-things-mediaplayer as much as I've been hacking. I have a bunch of stuff working, but I'm about to tear it all apart again. I've been spending a good deal of time moving magic numbers out to JSON config files and to GtkBuilder UI files. Because of the simplicity of media rendering concepts, I hope I can avoid using binary plugins of my own. MAFW is holding up for the time being.

I got to a point where I wanted to start playing videos, and from staring at the code I came across a cooler thing on top of the already cool thing I mentioned earlier. If you tap the little 120x100 video window, it goes fullscreen by creating a new window! Tap on the new fullscreen window and it disappears. And that reminded me of a movie quote.

Forrest Gump: Lieutenant Dan got me invested in some kind of fruit company. So then I got a call from him, saying we don't have to worry about money video no more. And I said, that's good! One less thing.

Also, I discovered one of those "why didn't I think of that" optimization techniques mafw-test-gui is using:

Turn Off Double-Buffering

Just another lesson learned. More as I know, but so much to do.

SAABoy 2010-03-11 19:33

Re: I'll Say It Again: The Media Player Stinks
 
i wish i could be as happy as daperl :P i like that quote :P

i am getting really frustrated with media player right now... almost everytime i got a message or or refresh one of the two webpages i have open, my music will stutter. it gets old pretty quick and soon im thinking "wtFFFFFFFFFFFFFFFFFFFF"...

is this media player getting shafted when it comes to prioritizing ram? is the n900 ALWAYS gonna have this junky skipping from the media player because its an internet tablet at heart?

p.s. i experience the "bug" that people are talking about above when ending a call, but its not a big deal as im hoping it will be fixed...

daperl 2010-03-11 21:40

Re: I'll Say It Again: The Media Player Stinks
 
Quote:

Originally Posted by SAABoy (Post 564191)
i am getting really frustrated with media player right now... almost everytime i got a message or or refresh one of the two webpages i have open, my music will stutter. it gets old pretty quick and soon im thinking "wtFFFFFFFFFFFFFFFFFFFF"...

is this media player getting shafted when it comes to prioritizing ram? is the n900 ALWAYS gonna have this junky skipping from the media player because its an internet tablet at heart?

I posted something that might be interesting here. If I understand things correctly, Nokia has the process that renders multimedia set at a low priority. It would be "nice" if someone that has repeatable mediaplayer problems to do some tests with different nice values. But if Nokia didn't pull that number out of thin air, then changing it could adversly affect something else. The phone not ringing, for instance. That's probably FUD, yet I said it anyway; go figure. :)


All times are GMT. The time now is 15:31.

vBulletin® Version 3.8.8