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)

mase 2012-07-17 20:03

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Thanx!
Opening audio streams work now, also resuming. The gpodder
interaction works great again!

When opening the settings, there are always the defaults. The
changes made seem not to be saved.

I think, scolling should be made better. When scrolling repeatly
through a large list, the player often takes it as a double click
and changes the song. Maybe it should be implemented, that
I hold long, a context opens, where I can choose to play this song.

Searching in playlists is not possible.

I think, OMP is ready for CSSU. When will it be included?

Vlad_on_the_road 2012-07-17 20:10

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

Awesome player of course. It is getting better and better after every update.
Still, I have a quite basic question, sorry if it has already been asked but : how can I update the media library of OMP ? I have mp3 file stored on my external media card. Some of those got "synchronised" with OMP, but some didn't. So, is there a way to get my remaining files readable by OMP ? Apart from opening them through Filebox ?

Vlad

Joseph9560 2012-07-17 23:36

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Any plans to change buffer time for streaming radios? When I play internet radios in computer, all streams well but when playing in mobile, most of those stops streaming after a while. I am using same internet connectivity and same station, so I guess, different buffer time is the reason for the problem.

Thanks for such a great work.

HELLASISGREECE 2012-07-17 23:58

Re: [ANNOUNCE] Alpha release of Open Media Player
 
OMP is so awesome it's not even funny.

I have it locked to portrait (awesome option imo) and it beats my N8's & N9's mp3 player.

Even on loudness.

Necrofenser 2012-07-19 19:50

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Tag editing and cover changing will be nice feature, since MussOrgsky isnt working anymore :D

sixwheeledbeast 2012-07-19 20:12

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

Originally Posted by Necrofenser (Post 1239941)
Tag editing and cover changing will be nice feature, since MussOrgsky isnt working anymore :D

MussOrgsky works fine for me.

Anyway IMO wouldn't it be better to fix the possible small problem in an existing app, than write a load of code in an app that's not for purpose.

HELLASISGREECE 2012-07-20 03:52

Re: [ANNOUNCE] Alpha release of Open Media Player
 
as I said, it's fantastic and it must become a "core" application sooner or later. : )

The only drawback (imo) so far is that it is somewhat "slow".

It does not ruin the xperience ,of course, but there is some room for improvement.

Other that that ---> AAA stuff!

sixwheeledbeast 2012-07-20 19:52

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

Originally Posted by gidzzz (Post 1238754)
  • Reconnecting a headset does not resume playback if it was paused manually in the meantime.

Sorry to be a pain but is there any chance of making this optional.

I leave OMP open all the time now so when it's plugged into my van, play resumes on connection.
The issue is due to having an alarm clock setup (Alarmed) to resume OMP in a morning this requires pressing pause when I get up.
Due to the recent update this now stops automatic resume working on first connection.

Although I agree it's a good feature, the option not to use it would be nice.


Also since you have a useful Sleep timer feature how easy would it be to implement the opposite, a "wake timer" or "exponential increase in volume wake me up feature".
IMO useful features would be:-
  • Start Time
  • Start Days
  • Time (minutes) till Stop
  • Action at Stop (None/Close app/Pause Playback/Stop Playback)
  • Volume Level Start
  • Volume Level End
  • Volume Increase Type (None/Linear/Exponential)

Thanks.

bocephus 2012-07-21 12:48

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Any settings changes I attempt in the latest version don't stick. Could it be a permissions problem with the configuration file? If so, where is it located?

sixwheeledbeast 2012-07-21 14:10

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

Originally Posted by bocephus (Post 1240804)
Any settings changes I attempt in the latest version don't stick.

I can't reproduce your problem.
Do you mean won't save at all or only on restarting OMP?

junieboi 2012-07-21 15:57

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

Originally Posted by vijays (Post 1228671)
Have almost stopped using the stock player especially after the tweaks that made searching and playing music, loading video thumbnails almost instantaneous..Thanks a lot for that and the regular updates!
If someone could plz clarify, am not able to use the physical keyboard to search for videos while the same works for audio..Makes it cumbersome to browse thru hundreds of vids..
Sorry if someone already raised this earlier as I cldnt find the answer..

Hi I get the text window in audio but the keyboard does not appear, help pls.

bocephus 2012-07-21 16:11

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

Originally Posted by sixwheeledbeast (Post 1240831)
I can't reproduce your problem.
Do you mean won't save at all or only on restarting OMP?

They won't save at all. Doesn't matter if I change every single setting and hit save - if I go straight back into settings again, everything is back to default.

sixwheeledbeast 2012-07-21 17:52

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

Originally Posted by bocephus (Post 1240864)
They won't save at all. Doesn't matter if I change every single setting and hit save - if I go straight back into settings again, everything is back to default.

I definitely don't have this problem.
Have you tried opening OMP via a terminal
Code:

/usr/bin/openmediaplayer
Then try to reproduce your problem, see if the terminal has errors in?

bocephus 2012-07-21 18:39

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Yes, and I get no errors - other than possibly this:

Code:

State request denied: state request change denied by policy
Is it related?

From where are the settings read? I should check whether somehow something has happened to permissions for that file.

michaaa62 2012-07-21 22:24

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Try
Code:

ls -al /home/user/.config/MohammadAG/mediaplayer.conf

bocephus 2012-07-22 09:57

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

Originally Posted by michaaa62 (Post 1240982)
Try
Code:

ls -al /home/user/.config/MohammadAG/mediaplayer.conf

Is that the config directory for openmediaplayer? I had no such file in that directory, so I created a blank one, and now my settings are saved, and present as long as I don't exit the program. They are not saved to that file, however - it is still blank. And if I exit, all settings are back to defaults again next time I open.

A small step forward, but still not solved.

michaaa62 2012-07-22 11:19

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Why do you not just use the command in X-Terminal to look for permissions?

bocephus 2012-07-22 13:07

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Directory permissions:
Code:

drwxr-xr-x    2 root    root          4096
drwxr-xr-x  37 user    users        4096

What should owner/permissions be for the non-existant mediaplayer.conf?

michaaa62 2012-07-22 13:51

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Not the right permissions to save anything as user!
Try to correct your permissions for /home/user
Code:

sudo gainroot
chown -R user:users /home/users


Estel 2012-07-22 15:57

Re: [ANNOUNCE] Alpha release of Open Media Player
 
@gdizzz
What about small cleanup, of placing openmediaplayer configs in something like "/home/user/.config/openmediaplayer", instead of current place? AFAIK, such cleanups are part of preparing packages for CSSU (ade did same thing for worldclock replacement). Not to mention frustration, when one need to find that config - don't even start without dpkg -L ;)

Of course, it's such minor thing, that it could be bundled with any update, that You're preparing, without any haste.

/Estel

bocephus 2012-07-22 18:59

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

Originally Posted by michaaa62 (Post 1241232)
Not the right permissions to save anything as user!
Try to correct your permissions for /home/user
Code:

sudo gainroot
chown -R user:users /home/users


I posted the output of ls -al for the MohammadAG directory, which was the faulty one. My /home/user has the right permissions. But thanks for the help anyway - after changing owner of /MohammadAG the configuration file will save properly and settings remain applied. I suspected all along it was a permissions problem, I just couldn't find the conf dir.

Thus, although MohammadAG is a legend around here (and rightfully so!), I second Estel's suggestion to change the name of the conf dir to make it easier to find.

Edit: I just saw post #938 from back in April that deals with this very question and directory. Hanging my head in shame for asking questions first and reading later... Sorry.

michaaa62 2012-07-22 19:17

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Chances are that if one directory has wrong permissions, that there are more files and folders somewhat borked, therefore the command to get them all...

D@vIcHoJD 2012-07-23 05:44

Re: [ANNOUNCE] Alpha release of Open Media Player
 
1 Attachment(s)
When I use Gpodder for streaming videos, I get an error; please can correct this error, thanks for these great improvements in the media player.:D

Regards.

pali 2012-07-25 07:25

Re: [ANNOUNCE] Alpha release of Open Media Player
 
After libplayback code was added wired headset button not working anymore...

Problem is that libplayback & ohm disabling jack bias switch (which disable headset button).

Now I'm trying to find way how to enable libplayback & jack bias together...

gidzzz 2012-07-25 18:23

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

Originally Posted by mase (Post 1238931)
I think, OMP is ready for CSSU. When will it be included?

There are still some flaws and missing details, and OMP can be easily installed and live peacefully next to the stock player, so I don't want to rush anything. It also might be a good idea to upload it to extras-testing for more extensive testing and feedback before forcing a faulty or inferior replacement on every CSSU user.



Quote:

Originally Posted by Vlad_on_the_road (Post 1238937)
Still, I have a quite basic question, sorry if it has already been asked but : how can I update the media library of OMP ? I have mp3 file stored on my external media card. Some of those got "synchronised" with OMP, but some didn't. So, is there a way to get my remaining files readable by OMP ? Apart from opening them through Filebox ?

The simplest solution could be to reset Tracker database with "tracker-processes -r" and hope that this time it picks up those files (keep in mind that you'll lose the history of recently added tracks, most played, etc.).

Sometimes I encounter a problem with Tracker not reading metadata properly in a few tracks (they show up in unknown artists) and then I force Tracker to recheck them by executing "touch /path/to/file". Perhaps that works also for omitted files.



Quote:

Originally Posted by Joseph9560 (Post 1239039)
Any plans to change buffer time for streaming radios?

MAFW doesn't allow such adjustment and I'm currently not planning to modify MAFW.



Quote:

Originally Posted by Necrofenser (Post 1239941)
Tag editing and cover changing will be nice feature, since MussOrgsky isnt working anymore :D

There's no automatic searching, but you can manually change covers by selecting an appropriate option after long-clicking the cover in Now Playing.



Quote:

Originally Posted by D@vIcHoJD (Post 1241454)
When I use Gpodder for streaming videos, I get an error; please can correct this error, thanks for these great improvements in the media player.:D

Are you connected to the Internet at the time of starting the video? If so, what podcast is that?



Quote:

Originally Posted by pali (Post 1242594)
After libplayback code was added wired headset button not working anymore...

Problem is that libplayback & ohm disabling jack bias switch (which disable headset button).

Hmmm, I spent 5 minutes today trying to reproduce it with various combinations of headset and playback states, but it it worked flawlessly for me.

pali 2012-07-25 18:30

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

Originally Posted by gidzzz (Post 1242897)
Hmmm, I spent 5 minutes today trying to reproduce it with various combinations of headset and playback states, but it it worked flawlessly for me.

original n900 wired headet with enabled libplayback.

gidzzz 2012-07-25 19:15

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Alright, I just tried a bit harder and finally after a reboot I've got this problem too.

freemangordon 2012-07-25 19:49

Re: [ANNOUNCE] Alpha release of Open Media Player
 
@gidzzz: is there any chance when lyrics server is down, to just show the message "Lyrics server is down" instead of this ugly backtrace?

gidzzz 2012-07-25 21:33

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Sure, I can't believe I haven't come up with this by myself after so much confusion caused by downtime. :)

bennypr0fane 2012-07-25 23:22

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

Originally Posted by bennypr0fane
How do I make Tracker ignore that directory?
Aren't ALL the standard folders in MyDocs on emmc hidden by default (which has always struck me as totally weird)? If so, I don't think they'd get ignored, because the file manager does show them (Maemo stock fm shows them without a period, in Filebox it's there).

really, the dot is already there! It's shown in Filebox, or in a PC's file manager, when hooking N900 up to a PC in mass storage mode. Tracker does not ignore these folders inspite of the dot in front. Therefore I'm pretty sure it wouldn't do so if I added a second one.
Maemo filemanager does not show the folder names with a dot, but I also don't know of a way to rename them in the Maemo fm.

Quote:

Originally Posted by vi_ (Post 1226947)
To edit tracker ignore list in a nice easy way install 'trackercfg' by nicolai. Through it you can set all trackers options.

Where would I find trackercfg? Is it in extras-devel?

Quote:

Originally Posted by vi_
If you stop tracker from indexing one of your sources, then you will have to rebuild the database evertime you want to switch sources.

Is "making it ignore a directory" (by adding a . to the dir name in the front) the same as "stopping it from indexing one of your sources"? If yes, does that mean I get slowed down if I do it?
thanks, Ben

gidzzz 2012-07-27 01:35

Re: [ANNOUNCE] Alpha release of Open Media Player
 
I have prepared a small update and it just hit the repositories. Nothing really interesting, but it should crash less often. :)
  • Fixed some random crashes.
  • Fixed refreshing of saved playlists after deleting one of them.
  • Fixed song counting after deleting an album in artist's window.
  • When the lyrics server gives a backtrace, display an error message instead of taking it for the actual lyrics.
  • Various cleanups.

michaaa62 2012-07-27 05:44

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

but it should crash less often.
These are the most important of all updates!
Thanks a lot for your continuous work on the bugs and crashes.

malkavian 2012-07-27 06:47

Re: [ANNOUNCE] Alpha release of Open Media Player
 
I would love to have an option to load an entire folder with all subfolders and songs/videos to playlist. With this and an option to say the default medias folder where begin navigation I wouldn't need trackerd at all. I really prefer to navigate and charge folders of music instead of using id3 tags. Could be possible?

Estel 2012-07-28 20:39

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Guys, I'm still experiencing my problem with playing .ogg music and theora video files. It's really strange and troubling.

As said before, .ogg and theora is registered with tracker. Furthermore, tracker *does* index albums from .ogg files, and know their playtime! If I make playlist out of .ogg files, it know it's total playing time, and play time of any individual file. Yet, when trying to play it, it just skips through whole list. Non- ogg. files are not affected.

As for theora, the problem seems to be of different nature. Tracker also *does* know playtime of theora files, but when I try to play any, this pop-up appear:

http://lorienart.pl/theora.png

Translation is: "Can't open file. Unable to find codec: <rest is in english on screenshot>

Oddly enough,m .flac files are working without any problem.

Any ideas, how to fix it? I'm really getting desperate, help *much* appreciated.

/Estel

Crawliano 2012-07-29 07:17

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

Long time listener, first time caller.

So, I downloaded this last night (as well as finally getting with the program and downloading the cssu firware patch) and firstly, the media player is absolute mustard, well done.

The only bug-bear is the fact that there still remains track gaps which between tracks on mixes etc sounds so annoying. So, my question is, are there any plans to fix this or is this just something to live with as it's the hardware that causes it? I hope it's the former as even my eternally old BlackBerry can transition tracks seamlessly!

Ta!

vi_ 2012-07-29 08:16

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

Originally Posted by Crawliano (Post 1244402)
Hello,

Long time listener, first time caller.

So, I downloaded this last night (as well as finally getting with the program and downloading the cssu firware patch) and firstly, the media player is absolute mustard, well done.

The only bug-bear is the fact that there still remains track gaps which between tracks on mixes etc sounds so annoying. So, my question is, are there any plans to fix this or is this just something to live with as it's the hardware that causes it? I hope it's the former as even my eternally old BlackBerry can transition tracks seamlessly!

Ta!

The real media player is MAFW. Openmediaplayer is just the front end as it were. AFAIK MAFW cannot provide the gapless playback you desire.

I am afraid that is the way MAFW works.

Implementing gapless playback on MAFW is outwith the scope of openmediaplayer development.

Android_808 2012-07-29 10:32

Re: [ANNOUNCE] Alpha release of Open Media Player
 
i think i asked about gapless playback or something else earlier in the thread. as i stated then, this project is about the getting the media player working/completed but there will become a point where other projects may need updating to cater for fixes or features. MAFW is a prime candidate as it underpins omp.

The best example of this at the moment is ogg/theora playback like Estel is facing. Finding the fault involves checking omp, tracker, mime-type registration/db and codecs. The more that is checked, the more people will become familiar with the other projects. This may then spur development of these projects.

So, if you want gapless playback, start reading up on MAFW, find the source, if available, and familiarise yourself with it. If not, do some research on MAFW and see how feasible a rewrite is.

edit: source https://garage.maemo.org/plugins/scm...afw/?root=mafw

Crawliano 2012-07-29 12:00

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

Originally Posted by Android_808 (Post 1244493)
i think i asked about gapless playback or something else earlier in the thread. as i stated then, this project is about the getting the media player working/completed but there will become a point where other projects may need updating to cater for fixes or features. MAFW is a prime candidate as it underpins omp.

The best example of this at the moment is ogg/theora playback like Estel is facing. Finding the fault involves checking omp, tracker, mime-type registration/db and codecs. The more that is checked, the more people will become familiar with the other projects. This may then spur development of these projects.

So, if you want gapless playback, start reading up on MAFW, find the source, if available, and familiarise yourself with it. If not, do some research on MAFW and see how feasible a rewrite is.

edit: source https://garage.maemo.org/plugins/scm...afw/?root=mafw

afraid the extent of my coding is VBA, Dimensions Basic and SPSS Syntax! Thanks for confirming tho. The new version is such an improvement tho! Just looking forward to putting my 64gb card in this week and getting a chunky 90gb of music on here!

Estel 2012-07-30 01:05

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Resolved! See edit at the end of post.
--------------

I've made some progress. After installing gstreamer0.10-ogg and reinstalling ogg-support 3432423 time (mandatory, without it, installing gstreamer0.10-ogg doesn't do anything!), I got .ogg playback through mafw. OTOH, Theora still doesn't work, and tracker lost ability to see playtime of theora files. This time, error while trying to play Theora files is different - it complains that:
"can't find codec: Application/octet-stream".

This is very strange, as I'm almost sure, that before problems started, I had .ogg playback *without* gstreamer0.10-ogg package, and gstreamer0.10-maemo-xiph was sufficient. During IRC conversation, kerio confirmed, that .ogg is working for him, without -ogg and with -maemo-xiph. Could anyone else, who have working .ogg playback check own setup?

Generally, still no idea WTF...

http://i.iflip.im/2bb1.jpg

Also, during the process of (re)installing everything back and forth, somehow, tracker again lost ability to see my .ogg and .flac files (despite both of them playing fine). Even better - while playing .ogg files, they work, but playback time isn't known and seeking is disabled. Even during playback, total time of track is shown as -00:01 second.

/Estel

// Edit
gdizzz, sorry for hijack thread ;) As it's definitely mafw-related problem, not openmediaplayer one, I can move this discussion to separate thread, if it irritates You. I tried to ask here, as, You know, biggest chance of people knowing something about decoders on N900 (and initially, it wasn't sure if it's not OMP problem).
----------
Resolved!

// Edit

After 6 hours of fighting with it, I decided to nuke everything related to gstreamer, ogg, xipg, vorbis, theora, etc. After purging dozens of packages (as many others depended on xiph things, for example Marble), and reinstalling back again affected programs + ogg-support + extra decoders support, I've got perfectly working .ogg and .flac playback, with correct times, tags, etc, also visible by tracker. Theora wasn't playing yet (but playback time was visible), yet this time, responded with sane message about "lack of Theora decoder". Installing gstreamer0.10-theora and re-installing ogg-support again (to register it), enabled flawless Theora playback.

So, everything is working as it should :) Thanks to everyone trying to help. I have no freakin' idea, why it refused to work before - it seems that nuking this or that, sometimes, isn't bad idea, at all.

Shinigamijim 2012-07-30 03:00

Re: [ANNOUNCE] Alpha release of Open Media Player
 
I think I've read it somewhere.... where does the OMP get the lyrics from ?

I have many many songs that cant show lyrics for some odd reason, nevertheless they are from Cd Albums. :confused:


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

vBulletin® Version 3.8.8