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)

n900-dk 2011-12-19 17:54

Re: [ANNOUNCE] Alpha release of Open Media Player
 
I use the mediaplayer as alarm clock, where it is started from commandline by this:
dbus-send --dest=com.nokia.mafw.renderer.Mafw-Gst-Renderer-Plugin.gstrenderer /com/nokia/mafw/renderer/gstrenderer com.nokia.mafw.renderer.play

Is it also possible to start OMP from commandline, and start playing last played song?

gidzzz 2011-12-19 20:44

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

Originally Posted by marmistrz (Post 1139546)
I've found a bug in omp
Sometimes I get lots of blank "album slots"
It'd be about 4 pages or more
Reproducibility is veeery low (1/25) so I couldn't make a log.
But I'll post the screenshots soon

A log probably won't be too useful, but who knows... A screenshot might give me a clue. Do those 'slots' appear in the main album browser, or after selecting an artist?

Quote:

Originally Posted by marmistrz (Post 1139546)
about the shuffle order: I've got a proposal of additional algorithms. They could be set in settings.

First of all, OMP doesn't do the actual shuffling, it relies on MAFW instead. I prefer to leave it this way for the same reason why one-repeat is still not there and why I'm reluctant to implement the queue system requested by FireyFly: it would either require watching the playback progress all the time, or wait for another song to start and then change the song again. Both solutions are ugly, vulnerable to delays and not in the spirit of the original media player (remember, it's just a replacement).

Second, is the current way of shuffling really that bad? In my opinion it's really nice. You can use next/previous button to travel through a randomized playlist, so it's possible to go back to one of the songs played before. Whenever you become bored with it, press the button to turn shuffling off and then press it again to randomize a new order.

Quote:

Originally Posted by n900-dk (Post 1139577)
I use the mediaplayer as alarm clock, where it is started from commandline by this:
dbus-send --dest=com.nokia.mafw.renderer.Mafw-Gst-Renderer-Plugin.gstrenderer /com/nokia/mafw/renderer/gstrenderer com.nokia.mafw.renderer.play

Is it also possible to start OMP from commandline, and start playing last played song?

You could use that command together with "dbus-send --print-reply --dest=com.nokia.mediaplayer /com/nokia/mediaplayer com.nokia.mediaplayer.open_mp_now_playing".

n900-dk 2011-12-19 20:52

Re: [ANNOUNCE] Alpha release of Open Media Player
 
[QUOTE=gidzzz;1139644
You could use that command together with "dbus-send --print-reply --dest=com.nokia.mediaplayer /com/nokia/mediaplayer com.nokia.mediaplayer.open_mp_now_playing".[/QUOTE]

Thanks gidzzz - it nearly works. It opens OMP and find last played song, but it doesn't start playing automatically. What did I miss?

gidzzz 2011-12-19 21:08

Re: [ANNOUNCE] Alpha release of Open Media Player
 
It's impossible in one D-Bus call. If you have to enter a one-liner somewhere, you can probably use a semicolon:
Code:

dbus-send --dest=com.nokia.mafw.renderer.Mafw-Gst-Renderer-Plugin.gstrenderer /com/nokia/mafw/renderer/gstrenderer com.nokia.mafw.renderer.play; dbus-send --print-reply --dest=com.nokia.mediaplayer /com/nokia/mediaplayer com.nokia.mediaplayer.open_mp_now_playing
You can also specify a file to open and play, if that's of any use to you:
Code:

dbus-send --print-reply --dest=com.nokia.mediaplayer /com/nokia/mediaplayer com.nokia.mediaplayer.mime_open string:"/path/to/file.mp3"

n900-dk 2011-12-19 21:17

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Works perfect! Thank you very much! Now OMP can wake me up every morning :)

vetsin 2011-12-19 22:11

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

Originally Posted by gidzzz (Post 1139644)
Second, is the current way of shuffling really that bad? In my opinion it's really nice. You can use next/previous button to travel through a randomized playlist, so it's possible to go back to one of the songs played before. Whenever you become bored with it, press the button to turn shuffling off and then press it again to randomize a new order.

I also like the current way of shuffling. Sometimes there are songs in a randomized playlist that I want to hear again, pressing previous would take me back to that song instead of having to search for it after pulling the phone from my pocket. :) The only player that doesn't behave like this is the one in my other Nokia phone and I don't like it.

megaexer 2011-12-20 00:42

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Gidzzz,

I've tried to use that following command to play internet radio but I see black and internet connection has to be active.
Code:

dbus-send --print-reply --dest=com.nokia.mediaplayer /com/nokia/mediaplayer com.nokia.mediaplayer.mime_open string:YOUR_HTTP_RADIO_LINK > /dev/null
I saw some empty slots at the end of playlists when I tried to open songs with FileBox.

I found another bug too, to reproduce it, scroll a playlist on Now Playing view and note the song you touched in the meanwhile. Now go press the elapsed/remaining time label and the song changes to the one you touched before.

As for choosing between elapsed and remaining time, will you make the label a bit easier to tap on?

My embedded album art still gets replaced by the placeholder image when I reset it.

Regarding the lyrics view, I think auto-scrolling and highlighting current line would be a nice addition.

Those are my somewhat important suggestions...

gidzzz 2011-12-23 10:49

Re: [ANNOUNCE] Alpha release of Open Media Player
 
I just uploaded a small update:
  • Fixed songs being changed when toggling the time label mode.
  • Fixed (probably) a crash when opening the player through a desktop widget.
  • Updated translations.
The crash was vary hard to reproduce, that's why I'm not sure. Please report here if it still occurs.


Quote:

Originally Posted by megaexer (Post 1139719)
I've tried to use that following command to play internet radio but I see black and internet connection has to be active.
Code:

dbus-send --print-reply --dest=com.nokia.mediaplayer /com/nokia/mediaplayer com.nokia.mediaplayer.mime_open string:YOUR_HTTP_RADIO_LINK > /dev/null

OMP currently doesn't differentiate between audio and video streams, so it always opens the video window.

Quote:

Originally Posted by megaexer (Post 1139719)
I saw some empty slots at the end of playlists when I tried to open songs with FileBox.

But it doesn't happen every time, right? I stumbled upon this in some other cases, but unfortunately it's very rare for me, so I'm still waiting for an opportunity to take a good look at it.

Quote:

Originally Posted by megaexer (Post 1139719)
I found another bug too, to reproduce it, scroll a playlist on Now Playing view and note the song you touched in the meanwhile. Now go press the elapsed/remaining time label and the song changes to the one you touched before.

Fixed, thanks.

Quote:

Originally Posted by megaexer (Post 1139719)
As for choosing between elapsed and remaining time, will you make the label a bit easier to tap on?

I'll try, but enlarging it vertically is probably all I can do.

Quote:

Originally Posted by megaexer (Post 1139719)
My embedded album art still gets replaced by the placeholder image when I reset it.

If Tracker is too slow with extracting the image, OMP doesn't wait for it and leaves the placeholder image. However, as soon as Tracker is finished and you change a song, the proper art should be there. If that's not the case, I don't know what's going on.

Quote:

Originally Posted by megaexer (Post 1139719)
Regarding the lyrics view, I think auto-scrolling and highlighting current line would be a nice addition.

This would require a karaoke-like format for lyrics. I think it's too much hassle for just a few songs, as those files are much harder to find.

zifis 2011-12-23 11:55

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Hello to the brilliant OMP team.

I hadn't played with the settings or the playlist editing lately, until today, when I noticed two things:

1. I cannot change any of the settings! I ticked "enable lyrics" and saved. Going back to settings "enable lyrics" was unticked again. Same thing happened with all the settings parameters

2. I wanted to edit my playlist but the "edit playlist" option was not in the rollout anymore. There is only "add to now playing" "delete playlist and "save playlist"

Forgive me if those cases have been already solved in previous posts, but they are way too many to browse through

Thanks :D

TransTech 2011-12-23 14:19

Re: [ANNOUNCE] Alpha release of Open Media Player
 
I have noticed a bug all the time I open a file from the file manager i.e. the first time I open a file it just doesnt play (it show the name of the first file in the folder). and then when I open it the second time it works...

Please confirm the problem or is it only with me.

Thanks a lot... :)

Note: I'm using the latest version.. hope this might help.

Edit:
Request: Is it possible to select multiple files from the library (or all songs) and add them to the Now playing playlist/ new playlist...

I did this all the time on my old N80 ;) ... thank you

CepiPerez 2011-12-23 14:36

Re: [ANNOUNCE] Alpha release of Open Media Player
 
who's playing with the source?
I have chartlyrics, liryc wiki, az-lyrics and lyricsdb on flowplayer for harmattan. PM me and I'll send you the source

megaexer 2011-12-23 17:22

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

Originally Posted by gidzzz (Post 1141116)
But it doesn't happen every time, right? I stumbled upon this in some other cases, but unfortunately it's very rare for me, so I'm still waiting for an opportunity to take a good look at it.

That's right. It happens in other cases indeed, e.g. when switching albums. Looks like the slots are some remnants of a previously played album.

Quote:

Originally Posted by gidzzz (Post 1141116)
I'll try, but enlarging it vertically is probably all I can do.

Fine, it'd be more finger-friendly. The same height as the progress bar is good.

Quote:

Originally Posted by gidzzz (Post 1141116)
If Tracker is too slow with extracting the image, OMP doesn't wait for it and leaves the placeholder image. However, as soon as Tracker is finished and you change a song, the proper art should be there. If that's not the case, I don't know what's going on.

The embedded cover is there for a fraction of a second when I change a song. I'll try to find out what's causing it.

Quote:

Originally Posted by gidzzz (Post 1141116)
This would require a karaoke-like format for lyrics. I think it's too much hassle for just a few songs, as those files are much harder to find.

You mean you don't know where's a large database to download from? What about taking a look at either Minilyrics or Tunewiki, or maybe at some open source lyrics plugin that grabs lyrics from those databases.

ed_boner 2011-12-23 19:41

Re: [ANNOUNCE] Alpha release of Open Media Player
 
uau..just tried it..constant crashes are gone!..finally..really good work..only one thing is weird..when i clic on the widget and nothing is playing OMP opens in the album i was listening...so if i just clicked it to start an action..like seing a video..i have to go back and finally i am in the menu screen..same way if i touch the widget when sometging is playing is morle likely i want it to open in the album view to see what i am listening and edit it if i can...but OMP opens in main menu this time...i find it really weird and upside down...

mase 2011-12-23 21:34

Re: [ANNOUNCE] Alpha release of Open Media Player
 
OMP is pretty stable now and more useful than the stock player.
What about a new desktop widget? The stock widget stopped
working after a reboot. Readding it made all the other widgets
deleted from the desktops. The alternative widget works, but is
a littel bit buggy. It does not refresh the titles from time to time.
Also it does not react to AVRCP when OMP is not opened.

Estel 2011-12-24 02:12

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Maybe Nicolai (autor of open source media player widget replacement) would be interested in updating it?

ed_boner 2011-12-24 12:24

Re: [ANNOUNCE] Alpha release of Open Media Player
 
ok, so i can confirm today...for me desktop widget works 100%, and clicking on it operns stable OMP 100% of the times now...just a bug: i am on desktop and start playing a music from the widget...with the music laying i click on the widget to open OMP, it opens flawlessly, but i cannot change track from the list, or even put the song back and forward with the slider, as the music is still playing but the slider appears disabled...

marmistrz 2011-12-24 12:51

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

Originally Posted by ed_boner (Post 1141418)
ok, so i can confirm today...for me desktop widget works 100%, and clicking on it operns stable OMP 100% of the times now...just a bug: i am on desktop and start playing a music from the widget...with the music laying i click on the widget to open OMP, it opens flawlessly, but i cannot change track from the list, or even put the song back and forward with the slider, as the music is still playing but the slider appears disabled...

I've opened about 12 tracks and can't change a track. even if e.g. 3rd is opened in the player, it's playing the first instead

Please fix it the sooner the better!

wow23 2011-12-24 13:09

Re: [ANNOUNCE] Alpha release of Open Media Player
 
so, guys.

"Append opened songs"

what is it? (what this setting do ? )

(need for translation on my language - russian).

TransTech 2011-12-24 17:54

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

Originally Posted by wow23 (Post 1141432)
so, guys.

"Append opened songs"

what is it? (what this setting do ? )

(need for translation on my language - russian).

I think it says..." Add song (you open or select) to the current playlist "

sheng0729 2011-12-25 11:54

Re: [ANNOUNCE] Alpha release of Open Media Player
 
can i know what is "lazy slider" for?

pawelstryju 2011-12-25 12:27

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

Originally Posted by sheng0729 (Post 1141676)
can i know what is "lazy slider" for?

Quote:

Originally Posted by gidzzz (Post 1123152)
When sliders aren't lazy, song/movie progress is adjusted immediately to the slider position. With the lazy option, playback position is changed after releasing the slider. The latter is smoother, but some people prefer immediate preview.

several pages back :)

known 2011-12-26 03:33

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Hi! I've been using Open Media Player for a while now, and it's a very solid replacement for the stock media player. Thanks to the developers (gidzzz, MAG) for making this a reality. :)

I registered here in the forums because I think I have found a bug in OMP. I just have recently re-ripped my music into FLAC and loaded it into my phone. Whenever I am in the Now Playing view, I am not able to switch to another song by choosing a song from the playlist. I have to return to the Playlist view (the one with the Shuffle Songs button on the top of the list) just to change to my preferred song. Before, this was not a problem when I was using MP4 AAC and WMA as the file format for my music.

If it helps for debugging (and repeating the bug), I have kernel-power42 and CSSU Stable installed in my system. I also have the latest version of OMP (20111223) installed. I have tried rebooting the system to solve it, but to no avail. I ripped my music using Exact Audio Copy in Windows 7 using it the included FLAC codec from this application.

Cheers.

Estel 2011-12-26 04:59

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Welcome known, and thanks for such nice start with verbose report :)

I've checked it using playlist with FLACs from EAC, and from "playing now", changing tracks via "forward" and "back" does work. Ho ever, changing any song by single or double clicking on song name (while watching son list, not lyrics, or slider with single sound, obviously) does not work. highlight just goes back to currently played track, without any effect. So, kinda confirming.

Kinda, cause it doesn't seem to be related to FLAC format - same happens with ogg and mp3 tracks. So, it seems that it's general bug, not only affecting FLAC.

/Estel

// Edit

I also got impression, that it was working in OMP before (regardless of format), so it may be bug introduced during fixing something else. gdizzz, we need Your help ;)

known 2011-12-26 06:20

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

Originally Posted by Estel (Post 1141896)
Welcome [b)known[/b], and thanks for such nice start with verbose report :)

I've checked it using playlist with FLACs from EAC, and from "playing now", changing tracks via "forward" and "back" does work. Ho ever, changing any song by single or double clicking on song name (while watching son list, not lyrics, or slider with single sound, obviously) does not work. highlight just goes back to currently played track, without any effect. So, kinda confirming.

Kinda, cause it doesn't seem to be related to FLAC format - same happens with ogg and mp3 tracks. So, it seems that it's general bug, not only affecting FLAC.

/Estel

// Edit

I also got impression, that it was working in OMP before (regardless of format), so it may be bug introduced during fixing something else. gdizzz, we need Your help ;)

Thanks a lot Estel, for confirming this bug. That is what exactly happening to me. Concerning your last statement that this [event/operation] works before in previous OMP versions, I have no idea since I do not use the following music formats before. You can only presume, I guess. :)

Let's hope gidzzz can solve this in the next upcoming update. More power to OMP! :)

pursueky 2011-12-26 07:42

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Why does it alway show ' there is no active internet connection '

While My gprs ( wcdma 3.5g ) has been established already.

gidzzz 2011-12-26 12:32

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

Originally Posted by Estel (Post 1141896)
I also got impression, that it was working in OMP before (regardless of format), so it may be bug introduced during fixing something else. gdizzz, we need Your help ;)

Indeed, it's broken only in 20111223. An update addressing this issue will land in the repositories within a few minutes. It's also got updated translations and enlarged area for toggling song progress display mode.


Quote:

Originally Posted by wow23 (Post 1141432)
so, guys.

"Append opened songs"

what is it? (what this setting do ? )

When checked and you open a song (or songs, works with "Open whole folders" too) with an external file browser, OMP will append those songs to the playlist, instead of replacing it (like in stock MP and OMP before).


Quote:

Originally Posted by pursueky (Post 1141943)
Why does it alway show ' there is no active internet connection '

While My gprs ( wcdma 3.5g ) has been established already.

For some reason I can't connect through GPRS at the moment, so I'm unable to verify the problem.


Quote:

Originally Posted by zifis (Post 1141130)
1. I cannot change any of the settings! I ticked "enable lyrics" and saved. Going back to settings "enable lyrics" was unticked again. Same thing happened with all the settings parameters

Make sure you have write permissions for "/home/user/.config/MohammadAG/mediaplayer.conf". Or simply delete that file (or even the whole directory "home/user/.config/MohammadAG/", to be sure), it should be recreated with proper attributes.

Quote:

Originally Posted by zifis (Post 1141130)
2. I wanted to edit my playlist but the "edit playlist" option was not in the rollout anymore. There is only "add to now playing" "delete playlist and "save playlist"

It works a bit different than it used to. You can move items in the same way as in "Now playing" (press, release, press, hold and move, release). The rest is like before: cancel changes by closing the window or save from the menu.

megaexer 2011-12-26 15:41

Re: [ANNOUNCE] Alpha release of Open Media Player
 
It seems with MiniLyrics you'll get the auto-scrolling lyrics for most songs. If it was only for some songs, I wouldn't have requested this.

Here you can find MiniLyrics coding: http://www.google.com/#q=http:%2F%2F...ics.com%3A1212

I kind of miss this feature after using it on LCG Jukebox for Symbian S60 and TuneWiki widget (that no longer works) for N900. It's good to use when you can't make out what the vocals are about. You don't have to search for the current line after doing something else.

Gidzzz are you going to implement this feature? Anyone else? Who's with me?

marmistrz 2011-12-27 14:57

Re: [ANNOUNCE] Alpha release of Open Media Player
 
I've had an error fetching lyrics:

Code:

Class '_mysql_exceptions.Operational error'
A problem occuered in thepython script. Heres the sequence of ... in order they occured
(...) - some code
class '_mysql_exceptions.9perationalError:(1040, too may connections)'


bsdmaniak 2011-12-27 19:54

Re: [ANNOUNCE] Alpha release of Open Media Player
 
With latest Open Media Player, my collection wasn't updated. When i had Musics in my N900, I can't listen to it because musics doesn't appear in playlist.

merlin1991 2011-12-27 23:24

Re: [ANNOUNCE] Alpha release of Open Media Player
 
@gidzzz:
It would be great if you could use the XB-Maemo-Upgrade-Description in the control file so when upgrading one can see a small changelog in ham.

The field is explained here: http://wiki.maemo.org/Packaging#Maem...de_description

pawelstryju 2011-12-29 01:23

Re: [ANNOUNCE] Alpha release of Open Media Player
 
One important question about upnp: why omp can't open any file using it?!

When I'm trying to open single file nothing happens, after using option to add all files to playlist, i'm getting popup that 0 files has been added.
I haven't seen anywhere information about upnp, so please tell me if it is already completed?

http://i1236.photobucket.com/albums/...enshot05-1.png

EDIT: I got it working but only with tversity server, with windows media player server it's not working. Possible solutions?

helloct 2012-01-14 02:07

Re: [ANNOUNCE] Alpha release of Open Media Player
 
2 Attachment(s)
Hello,
Can we have something like this (just an option for a bigger album art)?
Please:)

Estel 2012-01-14 02:16

Re: [ANNOUNCE] Alpha release of Open Media Player
 
How is it related with writing MP replacement? for such purposes, you have SomePlayer etc.

pawelstryju 2012-01-14 09:13

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

Originally Posted by Estel (Post 1150366)
How is it related with writing MP replacement? for such purposes, you have SomePlayer etc.

But it can be added as an option. Does original MP has Entertainment view or car view? No, OMP is just better than stock mp, it's not identical.

Estel 2012-01-14 19:01

Re: [ANNOUNCE] Alpha release of Open Media Player
 
As for adding it as entertainment view option, it's fine, if You can find someone interested to write it. Of course gdizzz can do whatever he want with his free time, but choosing between bugfixes, and making entertainment view prettier, guess what is preferred?

/Estel

gidzzz 2012-01-15 15:20

Re: [ANNOUNCE] Alpha release of Open Media Player
 
I consider features from the original player and bugs more important, but big album art is not an invasive change (especially considering that it's portrait mode, so its look is not precisely defined by the stock player). I might give it a try, but I have some doubts whether it's possible to squash the interface that much.


Quote:

Originally Posted by pawelstryju (Post 1142948)
I got it working but only with tversity server, with windows media player server it's not working. Possible solutions?

OMP queues only files recognized as audio, and judging from the question mark icons, WMP doesn't provide MIME (or MAFW cannot obtain it) for the files. If that's the case, the stock player probably has some kind of problem too. Maybe it's possible to disable the file type control, but in such case there would be nothing to prevent pictures being added to the playlist, for example. I don't have access to a Windows machine at the moment, so I cannot do any tests. Maybe there's an inconspicuous checkbox somewhere in WMP settings?


By the way, I just uploaded an update:
  • Working previous and next buttons in the video window.
  • Support for Bluetooth fast-forward and rewind (thanks to cybjit).
  • Video playback makes use of a playlist, which fixes some compatibility issues.
  • Updated translations.

megaexer 2012-01-17 23:18

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Can you please fix the bug when resetting album art? :/
There's something that removes it, I mean the album art appears just for a split second when you start playing a song.
I've gotten the impression it takes several plays for album art to appear again to corresponding songs.

trisha02 2012-01-18 04:46

Re: [ANNOUNCE] Alpha release of Open Media Player
 
is der any way to add album art to songs? would be great? and to add lyrics and save them so that it doesnot need internet connection evrytime

marmistrz 2012-01-18 15:19

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

Originally Posted by trisha02 (Post 1152168)
is der any way to add album art to songs? would be great?

Click the album art and hold. You'll get the popup

Mentalist Traceur 2012-01-21 03:20

Re: [ANNOUNCE] Alpha release of Open Media Player
 
So I get distracted from this forum for a couple of months, don't check this thread for a while, and suddenly - BAM - Open source recode of media player isn't just upgraded - it's significantly more usable, and in the repos too.

Gidzzz, sir, you're awesome.


All times are GMT. The time now is 23:25.

vBulletin® Version 3.8.8