maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   [ANNOUNCE] Alpha release of Open Media Player (https://talk.maemo.org/showthread.php?t=72156)

pali 2012-04-15 08:51

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Quote:

Originally Posted by Estel (Post 1192310)
Would love to, but I don't have bluetooth headset (yet) and I can't force my notebook bluetooth module to appear as A2DP device to N900. So, You must count on others here ;)

/Estel

if you have notebook with bluetooth module and some modern linux distribution with bluez 4 and pulseaudio, I can help you to configure notebook as A2DP headphones. write me email for more info.

retsaw 2012-04-15 13:21

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Quote:

Originally Posted by pali (Post 1192301)
Who tested my new autopause implementation for bluetooth headsets? I'd like to know if this implementation is better or not.

Not a feature I'm interested in TBH, but I tested it for you anyway. It does stop the playback pretty quickly, only a fraction of a second after disconnecting my bluetooth headphones. However it also stops playback when switching back to my bluetooth headphones, and also a couple of times when I had the daemon running the audio didn't actually switch to my bluetooth headphones after they connected.

I couldn't find the option for the feature in openmediaplayer to compare it against, I'm running what appears to be the latest version in the repo (20120326-1), is it only in a newer version available elsewhere, or am I just being blind and can't see it.

pali 2012-04-15 17:17

Re: [ANNOUNCE] Alpha release of Open Media Player
 
New version of OMP with auto pause was not released yet. You can compare it only with headphoned application from extras-devel.

If you think that my daemon pausing playback when shouldnt, write output of daemon when paused playback. Before my daemon pausing playback it should write reason.

retsaw 2012-04-15 18:47

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Ok, I installed headphoned; if anything, headphoned stops playback quicker than your daemon does.

Your daemon doesn't give any output for stopping playback, just the messages about switching audio sinks which happens whether anything is playing or not. Heres a sample with the MAC of of bluetooth headphone removed
Code:

Master device changed from 'sink.hw0' to 'bluez_sink.<mac>'
Master device changed from 'bluez_sink.<mac>' to 'sink.hw0'
Master device changed from 'sink.hw0' to 'bluez_sink.<mac>'
Master device changed from 'bluez_sink.<mac>' to 'sink.hw0'
Master device changed from 'sink.hw0' to 'bluez_sink.<mac>'


pali 2012-04-15 18:54

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Quote:

Originally Posted by retsaw (Post 1192505)
Ok, I installed headphoned; if anything, headphoned stops playback quicker than your daemon does.

The way how headphoned pausing playback is now implemented in OMP git and will be in next extras-devel version.

If my daemon is slower then headphoned, then currently implemented version in OMP will be enought.

Quote:

Originally Posted by retsaw (Post 1192505)
Your daemon doesn't give any output for stopping playback, just the messages about switching audio sinks which happens whether anything is playing or not. Heres a sample with the MAC of of bluetooth headphone removed
Code:

Master device changed from 'sink.hw0' to 'bluez_sink.<mac>'
Master device changed from 'bluez_sink.<mac>' to 'sink.hw0'
Master device changed from 'sink.hw0' to 'bluez_sink.<mac>'
Master device changed from 'bluez_sink.<mac>' to 'sink.hw0'
Master device changed from 'sink.hw0' to 'bluez_sink.<mac>'


Yes, daemon write reason when stopping playback (device changed). If you think that my daemon stopped playback when it shouldnt, show line which daemon written when stopped playback.

retsaw 2012-04-15 19:19

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Quote:

Originally Posted by pali (Post 1192508)
Yes, daemon write reason when stopping playback (device changed). If you think that my daemon stopped playback when it shouldnt, show line which daemon written when stopped playback.

It writes those lines whether or not anything is playing, so I guess it always tries to stop playback when the output device changes to or from the bluetooth device, so a more specific answer to your question I don't think it should stop playback on this line
Code:

Master device changed from 'sink.hw0' to 'bluez_sink.<mac>'
It does not make sense to me to stop playback on connection to bluetooth headphones since you connect them when you want to use them.

pali 2012-04-15 19:21

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Quote:

Originally Posted by retsaw (Post 1192520)
It writes those lines whether or not anything is playing, so I guess it always tries to stop playback when the output device changes to or from the bluetooth device, so a more specific answer to your question I don't think it should stop playback on this line
Code:

Master device changed from 'sink.hw0' to 'bluez_sink.<mac>'
It does not make sense to me to stop playback on connection to bluetooth headphones since you connect them when you want to use them.

Yes, you are right. I see. Daemon should not stop when master device is changed from sink.hw0

seanmcken 2012-04-16 04:41

Re: [ANNOUNCE] Alpha release of Open Media Player
 
how to change background of entertainment view??

Estel 2012-04-16 08:58

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Get source code, edit it, and compile ;) You can also make it customizable and send patches/merge requests.

/Estel

seanmcken 2012-04-16 11:17

Re: [ANNOUNCE] Alpha release of Open Media Player
 
im sorry im noob plz tell me how to do it exactly

sbock 2012-04-19 05:15

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Quote:

Originally Posted by seanmcken (Post 1192725)
im sorry im noob plz tell me how to do it exactly

I think Estel want to say to you that this function is not yet implemented. So there is no way for a normal user to change it.

LavaCroft 2012-04-19 05:53

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Is there a way to disable the annoying rotating to portrait mode?

pusak gaoq 2012-04-19 05:53

Re: [ANNOUNCE] Alpha release of Open Media Player
 
@pali....

before you release latest version on OMP might i suggest you fixed two main bug in OMP....

1. Video playback bug (video files will become unknown song after you press the playback button on the bottom right)....

2. Album Playlist bug (keep showing the same playlist album even if you have change to listen to other album...the album art change but the list not)...

Estel 2012-04-19 14:08

Re: [ANNOUNCE] Alpha release of Open Media Player
 
I know that Pali is one-man-army (with freemangordon, so it's two-man-army ;) ), but AFAIK gdizzz is current maintainer of OMP.

As for bugs You've mentioned, they were reported and acknowledged (+explained) many times already.

/Estel

MohammadAG 2012-04-21 22:40

Re: [ANNOUNCE] Alpha release of Open Media Player
 
I probably need some time to re-familiarise myself with the code, but may I suggest using plugins to handle lyrics? Even for local storage.

Here's an example project that uses .so files for "providers":
https://gitorious.org/qt-mediaplayer/lyricsviewer

(GPLv3)

osmanayman 2012-04-22 06:24

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Quote:

Originally Posted by MohammadAG (Post 1195597)
I probably need some time to re-familiarise myself with the code, but may I suggest using plugins to handle lyrics? Even for local storage.

Here's an example project that uses .so files for "providers":
https://gitorious.org/qt-mediaplayer/lyricsviewer

(GPLv3)

Thanks... I really wait...

romiiio 2012-04-22 12:06

Re: [ANNOUNCE] Alpha release of Open Media Player
 
hi ive noticed a bug recently thought i'll let you guys know. when using OMP and playing music if i try to select a certain song from the file manager to play it doesnt open in OMP basically nothing happens! can someone double check to see if its not just my N900 which is doing this!

Harick 2012-04-23 15:38

Re: [ANNOUNCE] Alpha release of Open Media Player
 
hi, i don't like to bump post, nor either quote myself, but, is there any chance to implement the features sugested by me previously in this post

Quote:

Originally Posted by Harick (Post 1049129)
hi, i have to tell you MAG, you already know this, but you are one of the few that keeps our little old device out of being obsolete

thank you very very much for this

anyway, i use a lot my mediaplayer, and even when i'm full of curiosity about this open media player, i don't want to tempt fate and spend a few days without music, that's why i didn't try this app yet

but there are a two features that i would like to see and i think (for what i read in this thread and in gitorious) that are not present yet (please ignore them if they are already present, but as i said, i didn't test it yet)

1- a "now playing" notification, yes, i know there is already an app for this, but it's really slow and IMHO an "email like" is not the proper way to display a notification.
what i want to see it's something like this (quoting your own post)
http://i46.tinypic.com/2eppq14.jpg

2- an open, customizable, and embedded version of locked media player control, the last gift from qwerty12, it's really useful and i guess you could do it configurable and for those who don't want it could be even disabled

so, that are the 2 features i think they are a must, again, please ignore if they are already present, and if are not, could you implement them?


also, another bug fix/request. when we create a playlist greater than 24 hours, for example, 26hours and 30 minutes. the original media player shows 1day 2:30hs, but omp shows 26:30hs.

sorry for my bad english.

gidzzz 2012-04-28 22:07

Re: [ANNOUNCE] Alpha release of Open Media Player
 
To everyone having problems with configuration not being saved: post the output of "ls -ld /home/user/.config/MohammadAG/" and "ls -l /home/user/.config/MohammadAG/mediaplayer.conf".


Quote:

Originally Posted by K9999 (Post 1186753)
gidzzz mate! is it possible to add rotation option in the setting? (Portrait/Landscape/Auto). thanx for keeping this application alive.

The last time I tried, I had little success with. Maybe I forgot to turn off Hildon's forced rotation, or maybe I didn't know what I was doing, I think it was late at night. ;) But I'll try again for sure.


Quote:

Originally Posted by BrX (Post 1187125)
It is possible to add auto-closing or pausing OMP after chosen period of time, for example 15 minutes? It is smth like sleeper feature in OMP. That would be nice to include it in OMP, especially auto-close.

Yes, maybe in the next release.


Quote:

Originally Posted by pusak gaoq (Post 1194194)
1. Video playback bug (video files will become unknown song after you press the playback button on the bottom right)....

2. Album Playlist bug (keep showing the same playlist album even if you have change to listen to other album...the album art change but the list not)...

Number one should be fixed now. I'm chasing number two for quite some time, unfortunately it always gets me with my pants down. If you find a way to reproduce it reliably, let me know, as I'd have a bigger chance of tracking down the reason.


Quote:

Originally Posted by MohammadAG (Post 1195597)
I probably need some time to re-familiarise myself with the code, but may I suggest using plugins to handle lyrics? Even for local storage.

Looks like the best way to make everyone happy. I'll give it a try sometime in the future (unless you pick it up by then, so let me know if there's some work in progress).


Quote:

Originally Posted by romiiio (Post 1195811)
hi ive noticed a bug recently thought i'll let you guys know. when using OMP and playing music if i try to select a certain song from the file manager to play it doesnt open in OMP basically nothing happens! can someone double check to see if its not just my N900 which is doing this!

Maybe you've got something strange in "/usr/share/dbus-1/services/com.nokia.mediaplayer.service". Run "openmediaplayer" from terminal and see if it spits out anything interesting after an attempt to open a file.

Or maybe you've got "Append opened songs" checked in the settings? But that would at least cause OMP's window to take focus...


Just uploaded a new version to the repositories:
  • Added support for pausing/resuming when headset is connected/disconnected.
  • Added a notification for library updates.
  • Massive speed improvements for some lists (no more lag when searching).
  • Implemented resuming a video by clicking the playback indicator.
  • Somehow more reliable way of getting metadata when playing videos.
  • Fixed a problem with keyboard grabbing.
  • Fixed playback indicator sometimes not reappearing.
  • Fixed null objects being added to the playlist when selecting a video from the categories view.
  • Updated translations. Thanks to new contributors: qingxianhao for Chinese and hobarrera for Spanish.

romiiio 2012-04-29 15:09

Re: [ANNOUNCE] Alpha release of Open Media Player
 
HI gidzzz thanks for your reply i did unchecked the appendopened songs and now its working fine!
I have a request is it possible to have auto playback starting when headphones are plugged in and OMP opens up! similarly how we have headphone removing stops playback could be extended to remove headphones closes OMP!
Just a little idea i had as i plug in and out headphone alot but then i have to manually start and close everytime but if we can do above it would be brilliant!

sixwheeledbeast 2012-05-01 20:10

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Found a small problem I have never noticed before.

If OMP is running in the background, and you try to open media player (eithier via a QBW or app menu etc) a window opens and tries to load. Eventually after it giving up you end up at the task switcher.

Surely the desired outcome is to switch to the OMP that is running?

-
Thank you for adding in the pause/resume feature for headphones, works very well.

Mr.bot 2012-05-01 20:18

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Quote:

Originally Posted by sixwheeledbeast (Post 1200410)
Found a small problem I have never noticed before.

If OMP is running in the background, and you try to open media player (eithier via a QBW or app menu etc) a window opens and tries to load. Eventually after it giving up you end up at the task switcher.

Surely the desired outcome is to switch to the OMP that is running?

-
Thank you for adding in the pause/resume feature, works very well.

same problem here

there are window show and hide fast and it hard to close the open media player when this problem happen

sixwheeledbeast 2012-05-06 09:52

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Quote:

Originally Posted by romiiio (Post 1199091)
I have a request is it possible to have auto playback starting when headphones are plugged in and OMP opens up! similarly how we have headphone removing stops playback could be extended to remove headphones closes OMP!

I think I would perfer pulling the headphones to lock the screen.
I would use the media player widget than open/close OMP myself.

brad112358 2012-05-07 16:35

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Quote:

Originally Posted by gidzzz (Post 1182426)

Sorry for removing "Delete" from "Now playing". I added it because of a feature request, but I didn't quite like it there and looks like I'm not alone in this. In such case I think it's better to just stick with the ways of the stock player for now.

I just noticed this useful feature was removed. (I think I was the one who requested it). I really do find this useful since I tend to add music to my phone a large directory tree at a time from other sources and then want to remove a song I hate when I encounter it later while randomly playing an artist or my entire collection. Is there another easy way to find and delete the song in this situation?

Since you and others object to it (for safety reasons I assume?). Can we make it an optional feature disabled by default in settings? Please?

BTW, I love the new pause on bluetooth headset disconnect feature!

As always, thanks for all your hard work!

--Brad

davdav 2012-05-07 22:55

Re: [ANNOUNCE] Alpha release of Open Media Player
 
1 Attachment(s)
When i press CTRL + Shift + N
it is known that this shortcut turns ti fullscreen :)

sixwheeledbeast 2012-05-08 18:55

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Quote:

Originally Posted by davdav (Post 1203266)
When i press CTRL + Shift + N
it is known that this shortcut turns ti fullscreen :)

Seems to be similar problem in all QT apps.
I think QT has something to do with the Default Lockscreen rotating as mentioned here, too!

MohammadAG 2012-05-08 20:39

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Quote:

Originally Posted by davdav (Post 1203266)
When i press CTRL + Shift + N
it is known that this shortcut turns ti fullscreen :)

It's a hildon-desktop shortcut which turns off desktop composition, the status bar is therefore not redrawn until you change windows or toggle the key again, and it might mess up the current active window till it redraws.

gidzzz 2012-05-11 15:31

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Quote:

Originally Posted by sixwheeledbeast (Post 1200410)
Found a small problem I have never noticed before.

If OMP is running in the background, and you try to open media player (eithier via a QBW or app menu etc) a window opens and tries to load. Eventually after it giving up you end up at the task switcher.

Surely the desired outcome is to switch to the OMP that is running?

I tried with an older build and it works as it's supposed to, so looks like it's OMP's fault. I'll try to track down when the regression was introduced.

If someone already knows which version was the last working, please share here or help by installing a few older versions and trying them out (downloads are at http://maemo.org/packages/view/openmediaplayer/; look for "Package imported" events).


Quote:

Originally Posted by brad112358 (Post 1203098)
Since you and others object to it (for safety reasons I assume?). Can we make it an optional feature disabled by default in settings?

I was thinking about adding some configuration for context menus (and extending them with a few other options), but I have not yet been enlightened with the simplest way to organize settings. If it keeps taking so long, I think I'll just throw in a checkbox soon. ;)


An update has just arrived to the repositories:
  • Title of "Now playing" window is set to the current song when switching to the task navigator.
  • Added an option to lock the player in portrait or landscape.
  • Fixed the video window not staying in landscape.
  • New translation: Ukrainian by int_ua.
  • Updated translations.
Orientation locking might look innocent, but it required modification of almost all files, so look out for strange behaviors. ;) If you're using Hildon's forced rotation, don't forget to blacklist openmediaplayer.

Estel 2012-05-11 15:41

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Thanks for another great update, gdizzz!

BTW, small question. What about things like "subtitles support" for stock media player? Are they relevant to OMP in any way, or just totally incompatible? We have few specific, "mediaplayer support for <...>" packages in repos.

If they're compatible, how to use them properly with OMP (like subtitles)?

/Estel

gidzzz 2012-05-11 16:12

Re: [ANNOUNCE] Alpha release of Open Media Player
 
I think "mediaplayer support for <...>" is more like "MAFW/Tracker support for <...>", so those packages should simply work. If you happen to find some incompatible add-ons, I can take a closer look.

I just tested subtitles and they seem to do fine. Are you just asking for the future, or do you have troubles getting them to work?

Estel 2012-05-11 16:48

Re: [ANNOUNCE] Alpha release of Open Media Player
 
For the future - sorry for not moving my a** myself and checking that before asking. Somehow, I totally forget about MAFW, and correlated them only with mediaplayer<->openmediaplayer. So, it was unnecessary question.

Still, huge thanks for checking it so quickly :)

ivgalvez 2012-05-11 17:28

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Subtitles work perfectly fine. The only drawback is that they need to have the same name than video file so you can't choose between different subtitles files or choose a subtitle track from a .mkv video.

In any case, that is the same behaviour of original Media Player.

kent_autistic 2012-05-12 03:28

Re: [ANNOUNCE] Alpha release of Open Media Player
 
updated to the latest version of OMP. cssu installed.

bugs:

1. when OMP is locked to portait orientation then i tilt my phone to landscape, the bottom half part of the screen blinks (once) to black.

2. also, when on shuffle all songs mode, when i press forward to the next track, the song list beside the album which scrolls automatically to the next song, stutters. not sure if its just because of the long list as i have 900+ songs.

Alfred 2012-05-12 06:35

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Great. Haven't used OMP for a long time due to an exchange process(got a new replacement). So, i changed orientation to portrait only and the Entertainment view is also in portrait then, but it looks like it wasn't thought to be fitted in portrait orientation. Thanks again!

ed_boner 2012-05-12 09:38

Re: [ANNOUNCE] Alpha release of Open Media Player
 
this is getting better and better..tks a lot!

kent_autistic 2012-05-12 19:33

Re: [ANNOUNCE] Alpha release of Open Media Player
 
I suggest auto-off of transmitter and bluetooth when OMP is closed.

gazza_d 2012-05-13 14:03

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Just noticed that Open Media Player now auto pauses when it disconnects from my bluetooth stereo. Very cool! Thank you.

LavaCroft 2012-05-13 15:46

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Thank you very much for adding the option to fix the screen orientation.

davdav 2012-05-13 15:58

Re: [ANNOUNCE] Alpha release of Open Media Player
 
the arrows are not working like before..
the arrows were to skip or return a song..
also i suggest the up and down arrow could go up and down the list it would be nice :)
*thanks in advance :)

sandymahrok 2012-05-16 06:53

Re: [ANNOUNCE] Alpha release of Open Media Player
 
hi there its a good job for open media player its realy fast from stock media player but some function are missing which must be needed first is media player must have a resolution control button for those videos which are not showing in full screen so we can adjust resolution on full screen the second one is equilizer an equilizer must be needed in media player and third one is there is no search option in videos. seach function only works in audio hope u work on this to make omp batter. i have a problem in video playback this problem comes in both media player and open media player when i click to play a video file some time it plays after taking so much time but some time it do nothing just showing black screen if i try the other video same happens then i have to restar my phon and then it play smothley but after some time it do the same thing so plz help me to solve this. thaks in advance


All times are GMT. The time now is 05:57.

vBulletin® Version 3.8.8