Notices


Reply
Thread Tools
gidzzz's Avatar
Posts: 282 | Thanked: 2,387 times | Joined on Sep 2011
#1171
To add more to the good news, I've got an update.
  • Support for pluggable, dynamically loaded lyrics providers.
  • Plugins for AZLyrics, ChartLyrics, LyricsDB (the old integrated provider, now improved), LyricsWiki.
  • Increased the space for lyrics in the lyrics editor.
  • Added a shortcut to save changes in the lyrics editor (Ctrl+S).
  • Saving empty lyrics in the lyrics editor deletes the lyrics file.
  • Changed the lyrics cache format and location ("/home/user/.cache/openmediaplayer/lyrics/"), and added a plugin to read lyrics from the previous directory.
  • Moved the configuration file to "/home/user/.config/openmediaplayer/openmediaplayer.conf".
  • "Open whole folders" option works for videos.
  • Fixed the endless loading icon after opening a whole folder.
  • Added a note in the settings dialog to warn about libplayback conflicting with the wired headset button.

There are two things that I'd like to say something about. First of all, if you want to keep your settings, move them to the new location:
Code:
mkdir /home/user/.config/openmediaplayer/;
mv /home/user/.config/MohammadAG/mediaplayer.conf /home/user/.config/openmediaplayer/openmediaplayer.conf
Secondly, you might remember that some time ago MohammadAG proposed plugins as a way of supplying lyrics. Finally that idea comes to life and the repositories too.

Lyrics providers can be configured in the main settings window. If you enable more than one provider, the first one in the list will be queried first, if it fails then the second, and so on.

The new offline cache is incompatible with the old one, but worry not. If you don't want to start afresh, go to the settings and enable the lyrics provider called "OMP pre-20120803 offline cache". Otherwise you can delete the old lyrics directory:
Code:
rm -r /home/user/.lyrics/
New sources of lyrics can be added quite easily (and only enabled plugins stay in the memory), so if there's a source that you'd like to see in OMP, let me know (or add it yourself: https://gitorious.org/qt-mediaplayer.../master/lyrics). Only online sources are cleanly supported for now, but another update might also enable importing cache of your favorite media player from PC, for example.



Originally Posted by sixwheeledbeast View Post
Having an issue with the media player which I am sure it's MAFW, but I'd like to confirm.

I can listen to a playlist on shuffle for a number of days, normally either "Most Played" or "Never Played".
After say roughly 5 days, OMP takes ages to open and when it does, magically I am back at the start of the playlist with all the same songs in the same order.
I know it's not got to the end of the list as I currently have 2457 never played tracks.
I am guessing this has nothing to do with OMP, correct?
If you mean that a random playlist does not span all songs and creates a loop, that's probably MAFW, because OMP only tells it to enable the shuffle mode and doesn't care what MAFW does with it. I don't know where the prolonged startup comes from.
__________________
My Thumb mini-repository: http://gidzzz.mooo.com/maemo/.
 

The Following 12 Users Say Thank You to gidzzz For This Useful Post:
Posts: 1,100 | Thanked: 2,797 times | Joined on Apr 2011 @ Netherlands
#1172
He gidzzz,
Thanks for another update. I wanted to update the translation I maintain, but the term like "Lyrics providers/Only local cache" are not translatable (yet)?
 

The Following 3 Users Say Thank You to ade For This Useful Post:
gidzzz's Avatar
Posts: 282 | Thanked: 2,387 times | Joined on Sep 2011
#1173
Sorry, I forgot to push changes to Transifex, give me a minute.

Edit: done!
__________________
My Thumb mini-repository: http://gidzzz.mooo.com/maemo/.

Last edited by gidzzz; 2012-08-03 at 17:01.
 

The Following 3 Users Say Thank You to gidzzz For This Useful Post:
sbock's Avatar
Posts: 103 | Thanked: 162 times | Joined on Jan 2010 @ Germany
#1174
Gidzzz I sometimes get the message "="en" dir="ltr"> after OMP tries to fetch the lyrics. I tried both German and English translation. Any clue?
 

The Following 3 Users Say Thank You to sbock For This Useful Post:
Posts: 2,290 | Thanked: 4,134 times | Joined on Apr 2010 @ UK
#1175
Playing a shuffled playlist before the playlist has complied the songs list, causes OMP some trouble.

Code:
Updating saved playlists 
NowPlayingIndicator::autoSetVisibility 
handing out new NPW instance 
State request denied: state request change denied by policy 
NowPlayingIndicator::autoSetVisibility 
NowPlayingIndicator::autoSetVisibility 
NowPlayingIndicator::autoSetVisibility 
NowPlayingWindow::updatePlaylist | 0 2420 0 
NowPlayingIndicator::autoSetVisibility 
NowPlayingIndicator::autoSetVisibility 
NowPlayingIndicator::autoSetVisibility 
NowPlayingWindow::updatePlaylist | 0 0 325 
0 - 99 0x8ef730 
NowPlayingWindow::updatePlaylist | 0 0 0 
query 0x8ef730 complete 
0 - 99 0xb31b68 
query 0xb31b68 complete 
100 - 199 0xadc2f8 
query 0xadc2f8 complete 
200 - 299 0xb42088 
query 0xb42088 complete 
300 - 324 0xb50b80 
query 0xb50b80 complete 
handing out running NPW instance 
NowPlayingIndicator::autoSetVisibility 
handing out running NPW instance 
NowPlayingIndicator::autoSetVisibility 
NowPlayingIndicator::autoSetVisibility 
NowPlayingIndicator::autoSetVisibility 
NowPlayingWindow::updatePlaylist | 0 325 0 
NowPlayingIndicator::autoSetVisibility
Tried this a few times, either ...
*the player locks up with grey text
*starts playing with grey text (but no buttons work)
*playlist starts fine but doesn't completely complie the playlist so only some of the songs "325" of the 2420 are included in the playlist.

If either option 1 or 2 only a restart will fix.
__________________

Wiki Admin
sixwheeledbeast's wiki
Testing Squad Subscriber
- mcallerx - tenminutecore - FlopSwap - Qnotted - zzztop - Bander - Fight2048 -


Before posting or starting a thread please try this.
 

The Following 3 Users Say Thank You to sixwheeledbeast For This Useful Post:
gidzzz's Avatar
Posts: 282 | Thanked: 2,387 times | Joined on Sep 2011
#1176
Originally Posted by sbock View Post
Gidzzz I sometimes get the message "="en" dir="ltr"> after OMP tries to fetch the lyrics. I tried both German and English translation. Any clue?
Looks like the LyricWiki plugin failing to detect that lyrics don't exist. I will fix that for an update later today or tomorrow.


Originally Posted by sixwheeledbeast View Post
Tried this a few times, either ...
*the player locks up with grey text
*starts playing with grey text (but no buttons work)
*playlist starts fine but doesn't completely complie the playlist so only some of the songs "325" of the 2420 are included in the playlist.

If either option 1 or 2 only a restart will fix.
Do the lockups happen often compared to just incomplete playlist? I tried a dozen times and couldn't reproduce any fatal case. Does it depend on the playlist type (automatic/saved)? How long did you wait before restarting the player?
__________________
My Thumb mini-repository: http://gidzzz.mooo.com/maemo/.
 

The Following 7 Users Say Thank You to gidzzz For This Useful Post:
Posts: 2,290 | Thanked: 4,134 times | Joined on Apr 2010 @ UK
#1177
Originally Posted by gidzzz View Post
Do the lockups happen often compared to just incomplete playlist? I tried a dozen times and couldn't reproduce any fatal case. Does it depend on the playlist type (automatic/saved)? How long did you wait before restarting the player?
Less often.

Just tried it now and got the more often "option 3" now

Code:
$ /usr/bin/openmediaplayer
Your locale is "en_GB" (detected) 
Translator successfully loaded 
source added: "upnpcontrolsource" 
source added: "iradiosource" 
Updating automatic playlists 
Updating saved playlists 
Updating imported playlists 
source added: "localtagfs" 
NowPlayingIndicator::autoSetVisibility 
NowPlayingIndicator::autoSetVisibility 
Updating saved playlists 
"Browse id 31 does not exist" 
NowPlayingIndicator::autoSetVisibility 
"Browse id 33 does not exist" 
handing out new NPW instance 
State request denied: state request change denied by policy 
NowPlayingIndicator::autoSetVisibility 
NowPlayingIndicator::autoSetVisibility 
NowPlayingIndicator::autoSetVisibility 
NowPlayingWindow::updatePlaylist | 0 2417 0 
NowPlayingIndicator::autoSetVisibility 
NowPlayingIndicator::autoSetVisibility 
NowPlayingIndicator::autoSetVisibility 
NowPlayingWindow::updatePlaylist | 0 0 325 
0 - 99 0x8efda8 
NowPlayingWindow::updatePlaylist | 0 0 0 
query 0x8efda8 complete 
0 - 99 0xb197e0 
query 0xb197e0 complete 
100 - 199 0x9af7a0 
query 0x9af7a0 complete 
200 - 299 0xb26198 
query 0xb26198 complete 
300 - 324 0xaa6b08 
query 0xaa6b08 complete 
MainWindow::onSourceUpdating( progress = 0 , processed_items = 0 , remaining_items = 0 , remaining_time = -1 ) 
MainWindow::onSourceUpdating( progress = 100 , processed_items = 0 , remaining_items = 0 , remaining_time = 0 )
Open OMP
Select playlist
Select Never Played
Select Shuffle
Only 325 songs out of 2417 in the playlist.

If I get the not responsive "grey text of doom" issue I normally wait one track (3 minutes or so) then give up and restart.

Hope this helps.
__________________

Wiki Admin
sixwheeledbeast's wiki
Testing Squad Subscriber
- mcallerx - tenminutecore - FlopSwap - Qnotted - zzztop - Bander - Fight2048 -


Before posting or starting a thread please try this.
 

The Following 2 Users Say Thank You to sixwheeledbeast For This Useful Post:
gidzzz's Avatar
Posts: 282 | Thanked: 2,387 times | Joined on Sep 2011
#1178
I tried again and again, and again with different settings... and still there's no grey text. :<


As promised, I just uploaded an update that should fix LyricWiki, but it takes care of some other bugs as well.
  • Fixed LyricWiki plugin not recognizing missing lyrics properly and made it ignore incomplete lyrics.
  • Fixed a crash that could occur when rapidly switching songs with online lyrics active.
  • Somewhat faster (mainly more responsive when searching) radio browser, video browser and UPnP browser.
  • Headers in the video browser are not displayed if there's only one category.
  • Made playlist browser headers immune to filtering.
  • Got rid of the imported playlists header and an empty playlist appearing even if there are no imported playlists.
  • Restored seamless refreshing in the radio browser that probably got lost a few updates ago.
  • Updated translations.
__________________
My Thumb mini-repository: http://gidzzz.mooo.com/maemo/.
 

The Following 10 Users Say Thank You to gidzzz For This Useful Post:
Posts: 2,290 | Thanked: 4,134 times | Joined on Apr 2010 @ UK
#1179
Originally Posted by gidzzz View Post
I tried again and again, and again with different settings... and still there's no grey text. :<
Okay so I can't reproduce grey text only happen when you least expect it
Still have to wait for the playlist to load the 2417 songs before pressing shuffle or the complete list is not played.

I have all my music on uSD but I can't see that making a difference.
All settings checked (except lyrics and continuous video)


I have modified OMP's .desktop so it always runs a terminal if I get any more silly things happening I'll let you know (with debug info).

/usr/share/applications/hildon/openmediaplayer.desktop

Code:
Exec=osso-xterm -e openmediaplayer
Is there any other way to get debug information to help?
__________________

Wiki Admin
sixwheeledbeast's wiki
Testing Squad Subscriber
- mcallerx - tenminutecore - FlopSwap - Qnotted - zzztop - Bander - Fight2048 -


Before posting or starting a thread please try this.
 

The Following 2 Users Say Thank You to sixwheeledbeast For This Useful Post:
Posts: 896 | Thanked: 978 times | Joined on Feb 2011 @ Greece, Athens
#1180
wooow!!!!

omp indeed became faster with todays update!!
very noticable mostly in bootup time.

awesome!!!
 
Reply

Tags
libplayback, mag 4 prez, media, open source, player, portrait mode, re-write, remake, reverse


 
Forum Jump


All times are GMT. The time now is 01:24.