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)

panjgoori 2012-06-03 05:42

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

Originally Posted by Shinigamijim (Post 1216647)
I just updated it and none of my videos seem to play at all.

nor the ones i recored, the ones i download from cutetube.

I get unsupported media :eek:

am i the only one ?

i also faced this error but a restart solved it. give your phone a restart and it will be fine.

marmistrz 2012-06-03 08:44

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

Originally Posted by marmistrz (Post 1210589)
I had this problem recently too. Maybe it's trackname-connected, as this appeared on a tracks "Frozen Will / Legacy" and "Underdogs" by Armored Saint

It's the whole code (If you press edit lyrics youll see it too)

Code:

<body bgcolor="#f0f0f8">
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#6622aa">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>&lt;class '_mysql_exceptions.OperationalError'&gt;</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial">Python 2.6.6: <br>Tue May 22 10:22:08 2012</font></td></tr></table>
   
<p>A problem occurred in a Python script.  Here is the sequence of
function calls leading up to the error, in the order they occurred.</p>
<table width="100%" cellspacing=0 cellpadding=0 border=0>
<tr><td bgcolor="#d8bbff"><big>&nbsp;</big><a href="file:///usr/lib/pymodules/python2.6/flup/server/fcgi_base.py">/usr/lib/pymodules/python2.6/flup/server/fcgi_base.py</a> in <strong>run</strong>(self=&lt;flup.server.fcgi_base.Request object&gt;)</td></tr>
<tr><td><font color="#909090"><tt><small>&nbsp;&nbsp;556</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"""Runs&nbsp;the&nbsp;handler,&nbsp;flushes&nbsp;the&nbsp;streams,&nbsp;and&nbsp;ends&nbsp;the&nbsp;request."""<br>
</tt></font></td></tr>
<tr><td><font color="#909090"><tt><small>&nbsp;&nbsp;557</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;try:<br>
</tt></font></td></tr>
<tr><td bgcolor="#ffccee"><tt><small>&nbsp;&nbsp;558</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;protocolStatus,&nbsp;appStatus&nbsp;=&nbsp;self.server.handler(self)<br>
</tt></td></tr>
<tr><td><font color="#909090"><tt><small>&nbsp;&nbsp;559</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;except:<br>
</tt></font></td></tr>
<tr><td><font color="#909090"><tt><small>&nbsp;&nbsp;560</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;traceback.print_exc(file=self.stderr)<br>
</tt></font></td></tr>
<tr><td><small><font color="#909090">protocolStatus <em>undefined</em>, appStatus <em>undefined</em>, <strong>self</strong>&nbsp;= &lt;flup.server.fcgi_base.Request object&gt;, self.<strong>server</strong>&nbsp;= &lt;flup.server.fcgi.WSGIServer object&gt;, self.server.<strong>handler</strong>&nbsp;= &lt;bound method WSGIServer.handler of &lt;flup.server.fcgi.WSGIServer object&gt;&gt;</font></small></td></tr></table>
<table width="100%" cellspacing=0 cellpadding=0 border=0>
<tr><td bgcolor="#d8bbff"><big>&nbsp;</big><a href="file:///usr/lib/pymodules/python2.6/flup/server/fcgi_base.py">/usr/lib/pymodules/python2.6/flup/server/fcgi_base.py</a> in <strong>handler</strong>(self=&lt;flup.server.fcgi.WSGIServer object&gt;, req=&lt;flup.server.fcgi_base.Request object&gt;)</td></tr>
<tr><td><font color="#909090"><tt><small>&nbsp;1118</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;result&nbsp;=&nbsp;self.application(environ,&nbsp;start_response)<br>
</tt></font></td></tr>
<tr><td><font color="#909090"><tt><small>&nbsp;1119</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;try:<br>
</tt></font></td></tr>
<tr><td bgcolor="#ffccee"><tt><small>&nbsp;1120</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for&nbsp;data&nbsp;in&nbsp;result:<br>
</tt></td></tr>
<tr><td><font color="#909090"><tt><small>&nbsp;1121</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;data:<br>
</tt></font></td></tr>
<tr><td><font color="#909090"><tt><small>&nbsp;1122</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;write(data)<br>
</tt></font></td></tr>
<tr><td><small><font color="#909090">data <em>undefined</em>, <strong>result</strong>&nbsp;= &lt;generator object app&gt;</font></small></td></tr></table>
<table width="100%" cellspacing=0 cellpadding=0 border=0>
<tr><td bgcolor="#d8bbff"><big>&nbsp;</big><a href="file:///var/www/lyrics/cgi-bin/lyrics2.fcgi">/var/www/lyrics/cgi-bin/lyrics2.fcgi</a> in <strong>app</strong>(env={'DOCUMENT_ROOT': '/var/www/lyrics/', 'GATEWAY_INTERFACE': 'CGI/1.1', 'HTTP_ACCEPT_ENCODING': 'gzip', 'HTTP_ACCEPT_LANGUAGE': 'pl-PL,en,*', 'HTTP_CONNECTION': 'Keep-Alive', 'HTTP_HOST': 'lyrics.mirkforce.net', 'HTTP_USER_AGENT': 'Mozilla/5.0', 'PATH': '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin', 'PATH_INFO': '/armoredsaint/frozenwilllegacy.txt', 'QUERY_STRING': 'artist=armoredsaint&amp;title=frozenwilllegacy', ...}, start_response=&lt;function start_response&gt;)</td></tr>
<tr><td><font color="#909090"><tt><small>&nbsp;&nbsp;&nbsp;39</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>
</tt></font></td></tr>
<tr><td><font color="#909090"><tt><small>&nbsp;&nbsp;&nbsp;40</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>
</tt></font></td></tr>
<tr><td bgcolor="#ffccee"><tt><small>&nbsp;&nbsp;&nbsp;41</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;db&nbsp;=&nbsp;webinc.dbl(addr)&nbsp;#oh&nbsp;my...<br>
</tt></td></tr>
<tr><td><font color="#909090"><tt><small>&nbsp;&nbsp;&nbsp;42</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;context['db']&nbsp;=&nbsp;db<br>
</tt></font></td></tr>
<tr><td><font color="#909090"><tt><small>&nbsp;&nbsp;&nbsp;43</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>
</tt></font></td></tr>
<tr><td><small><font color="#909090">db <em>undefined</em>, <em>global</em> <strong>webinc</strong>&nbsp;= &lt;module 'webinc' from '/var/www/lyrics/cgi-bin/webinc.py'&gt;, webinc.<strong>dbl</strong>&nbsp;= &lt;class webinc.dbl&gt;, <strong>addr</strong>&nbsp;= '95.49.36.148'</font></small></td></tr></table>
<table width="100%" cellspacing=0 cellpadding=0 border=0>
<tr><td bgcolor="#d8bbff"><big>&nbsp;</big><a href="file:///var/www/lyrics/cgi-bin/webinc.py">/var/www/lyrics/cgi-bin/webinc.py</a> in <strong>__init__</strong>(self=&lt;webinc.dbl instance&gt;, addr='95.49.36.148')</td></tr>
<tr><td><font color="#909090"><tt><small>&nbsp;&nbsp;&nbsp;34</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;def&nbsp;__init__(self,&nbsp;addr):<br>
</tt></font></td></tr>
<tr><td><font color="#909090"><tt><small>&nbsp;&nbsp;&nbsp;35</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;self.addr&nbsp;=&nbsp;addr<br>
</tt></font></td></tr>
<tr><td bgcolor="#ffccee"><tt><small>&nbsp;&nbsp;&nbsp;36</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;self.connect()<br>
</tt></td></tr>
<tr><td><font color="#909090"><tt><small>&nbsp;&nbsp;&nbsp;37</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>
</tt></font></td></tr>
<tr><td><font color="#909090"><tt><small>&nbsp;&nbsp;&nbsp;38</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;def&nbsp;sql(self,&nbsp;s,&nbsp;params&nbsp;=&nbsp;''):<br>
</tt></font></td></tr>
<tr><td><small><font color="#909090"><strong>self</strong>&nbsp;= &lt;webinc.dbl instance&gt;, self.<strong>connect</strong>&nbsp;= &lt;bound method dbl.connect of &lt;webinc.dbl instance&gt;&gt;</font></small></td></tr></table>
<table width="100%" cellspacing=0 cellpadding=0 border=0>
<tr><td bgcolor="#d8bbff"><big>&nbsp;</big><a href="file:///var/www/lyrics/cgi-bin/webinc.py">/var/www/lyrics/cgi-bin/webinc.py</a> in <strong>connect</strong>(self=&lt;webinc.dbl instance&gt;)</td></tr>
<tr><td><font color="#909090"><tt><small>&nbsp;&nbsp;&nbsp;20</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;def&nbsp;connect(self):<br>
</tt></font></td></tr>
<tr><td><font color="#909090"><tt><small>&nbsp;&nbsp;&nbsp;21</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#log('pre&nbsp;connect...')<br>
</tt></font></td></tr>
<tr><td bgcolor="#ffccee"><tt><small>&nbsp;&nbsp;&nbsp;22</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;self.db&nbsp;=&nbsp;MySQLdb.connect(host="localhost",&nbsp;user="lyrics",&nbsp;passwd="lalala",&nbsp;db="lyrics",&nbsp;charset='utf8')&nbsp;<br>
</tt></td></tr>
<tr><td><font color="#909090"><tt><small>&nbsp;&nbsp;&nbsp;23</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#log('post&nbsp;connect...')<br>
</tt></font></td></tr>
<tr><td><font color="#909090"><tt><small>&nbsp;&nbsp;&nbsp;24</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>
</tt></font></td></tr>
<tr><td><small><font color="#909090"><strong>self</strong>&nbsp;= &lt;webinc.dbl instance&gt;, self.<strong>db</strong>&nbsp;= None, <em>global</em> <strong>MySQLdb</strong>&nbsp;= &lt;module 'MySQLdb' from '/usr/lib/pymodules/python2.6/MySQLdb/__init__.pyc'&gt;, MySQLdb.<strong>connect</strong>&nbsp;= &lt;function Connect&gt;, host <em>undefined</em>, user <em>undefined</em>, passwd <em>undefined</em>, db <em>undefined</em>, charset <em>undefined</em></font></small></td></tr></table>
<table width="100%" cellspacing=0 cellpadding=0 border=0>
<tr><td bgcolor="#d8bbff"><big>&nbsp;</big><a href="file:///usr/lib/pymodules/python2.6/MySQLdb/__init__.py">/usr/lib/pymodules/python2.6/MySQLdb/__init__.py</a> in <strong>Connect</strong>(*args=(), **kwargs={'charset': 'utf8', 'db': 'lyrics', 'host': 'localhost', 'passwd': 'lalala', 'user': 'lyrics'})</td></tr>
<tr><td><font color="#909090"><tt><small>&nbsp;&nbsp;&nbsp;79</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;"""Factory&nbsp;function&nbsp;for&nbsp;connections.Connection."""<br>
</tt></font></td></tr>
<tr><td><font color="#909090"><tt><small>&nbsp;&nbsp;&nbsp;80</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from&nbsp;connections&nbsp;import&nbsp;Connection<br>
</tt></font></td></tr>
<tr><td bgcolor="#ffccee"><tt><small>&nbsp;&nbsp;&nbsp;81</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;Connection(*args,&nbsp;**kwargs)<br>
</tt></td></tr>
<tr><td><font color="#909090"><tt><small>&nbsp;&nbsp;&nbsp;82</small>&nbsp;<br>
</tt></font></td></tr>
<tr><td><font color="#909090"><tt><small>&nbsp;&nbsp;&nbsp;83</small>&nbsp;connect&nbsp;=&nbsp;Connection&nbsp;=&nbsp;Connect<br>
</tt></font></td></tr>
<tr><td><small><font color="#909090"><strong>Connection</strong>&nbsp;= &lt;class 'MySQLdb.connections.Connection'&gt;, <strong>args</strong>&nbsp;= (), <strong>kwargs</strong>&nbsp;= {'charset': 'utf8', 'db': 'lyrics', 'host': 'localhost', 'passwd': 'lalala', 'user': 'lyrics'}</font></small></td></tr></table>
<table width="100%" cellspacing=0 cellpadding=0 border=0>
<tr><td bgcolor="#d8bbff"><big>&nbsp;</big><a href="file:///usr/lib/pymodules/python2.6/MySQLdb/connections.py">/usr/lib/pymodules/python2.6/MySQLdb/connections.py</a> in <strong>__init__</strong>(self=&lt;_mysql.connection closed at 9a199f4&gt;, *args=(), **kwargs={'charset': 'utf8', 'db': 'lyrics', 'host': 'localhost', 'passwd': 'lalala', 'user': 'lyrics'})</td></tr>
<tr><td><font color="#909090"><tt><small>&nbsp;&nbsp;168</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;kwargs2['client_flag']&nbsp;=&nbsp;client_flag<br>
</tt></font></td></tr>
<tr><td><font color="#909090"><tt><small>&nbsp;&nbsp;169</small>&nbsp;<br>
</tt></font></td></tr>
<tr><td bgcolor="#ffccee"><tt><small>&nbsp;&nbsp;170</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;super(Connection,&nbsp;self).__init__(*args,&nbsp;**kwargs2)<br>
</tt></td></tr>
<tr><td><font color="#909090"><tt><small>&nbsp;&nbsp;171</small>&nbsp;<br>
</tt></font></td></tr>
<tr><td><font color="#909090"><tt><small>&nbsp;&nbsp;172</small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;self.encoders&nbsp;=&nbsp;dict([&nbsp;(k,&nbsp;v)&nbsp;for&nbsp;k,&nbsp;v&nbsp;in&nbsp;conv.items()<br>
</tt></font></td></tr>
<tr><td><small><font color="#909090"><em>builtin</em> <strong>super</strong>&nbsp;= &lt;type 'super'&gt;, <em>global</em> <strong>Connection</strong>&nbsp;= &lt;class 'MySQLdb.connections.Connection'&gt;, <strong>self</strong>&nbsp;= &lt;_mysql.connection closed at 9a199f4&gt;, ).<strong>__init__</strong>&nbsp;= &lt;bound method Connection.__init__ of &lt;_mysql.connection closed at 9a199f4&gt;&gt;, <strong>args</strong>&nbsp;= (), <strong>kwargs2</strong>&nbsp;= {'client_flag': 196608, 'conv': {0: &lt;class 'decimal.Decimal'&gt;, 1: &lt;type 'int'&gt;, 2: &lt;type 'int'&gt;, 3: &lt;type 'long'&gt;, 4: &lt;type 'float'&gt;, 5: &lt;type 'float'&gt;, 7: &lt;function mysql_timestamp_converter&gt;, 8: &lt;type 'long'&gt;, 9: &lt;type 'int'&gt;, 10: &lt;function Date_or_None&gt;, ...}, 'db': 'lyrics', 'host': 'localhost', 'passwd': 'lalala', 'user': 'lyrics'}</font></small></td></tr></table><p><strong>&lt;class '_mysql_exceptions.OperationalError'&gt;</strong>: (1040, 'Too many connections')
<br><tt><small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</small>&nbsp;</tt>args&nbsp;=
(1040, 'Too many connections')
<br><tt><small>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</small>&nbsp;</tt>message&nbsp;=
''


<!-- The above is a description of an error in a Python program, formatted
    for a Web browser because the 'cgitb' module was enabled.  In case you
    are not reading this in a Web browser, here is the original traceback:

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/flup/server/fcgi_base.py", line 558, in run
    protocolStatus, appStatus = self.server.handler(self)
  File "/usr/lib/pymodules/python2.6/flup/server/fcgi_base.py", line 1120, in handler
    for data in result:
  File "/var/www/lyrics/cgi-bin/lyrics2.fcgi", line 41, in app
    db = webinc.dbl(addr) #oh my...
  File "/var/www/lyrics/cgi-bin/webinc.py", line 36, in __init__
    self.connect()
  File "/var/www/lyrics/cgi-bin/webinc.py", line 22, in connect
    self.db = MySQLdb.connect(host="localhost", user="lyrics", passwd="lalala", db="lyrics", charset='utf8')
  File "/usr/lib/pymodules/python2.6/MySQLdb/__init__.py", line 81, in Connect
    return Connection(*args, **kwargs)
  File "/usr/lib/pymodules/python2.6/MySQLdb/connections.py", line 170, in __init__
    super(Connection, self).__init__(*args, **kwargs2)
OperationalError: (1040, 'Too many connections')

-->


It's for sure trackname connected. This problem appeared with tracks which names contain special characters, such as '/', '?'. sometimes problem is caused by '\'' (using c++ char notation)

Shinigamijim 2012-06-03 12:44

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

Originally Posted by panjgoori (Post 1216658)
i also faced this error but a restart solved it. give your phone a restart and it will be fine.

Yeah it fixed, after unexpected reboot all seems to work again.

sixwheeledbeast 2012-06-03 17:22

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Thanks for the update.
One thing I noticed, why is there a save playlist option in saved playlists?
Surely this should be rename playlist like in the playlist menu.

vi_ 2012-06-03 17:48

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

Originally Posted by seanmcken (Post 1216649)
dude u did awsome job for open media player but now only one thing is left that is ''equilizer''

Nah, software equaliser is for d-bags who do not know how to listen to music.

BertvanDorp 2012-06-03 23:44

Re: [ANNOUNCE] Alpha release of Open Media Player
 
I guess I found a bug. When watching a video (XVID), the tracker reports in every 15 minutes or so, reporting it has 0 files left to index.. have to press the notification for it to go away. Did not change tracker settings and also did not change anything else, just installed the update!

sixwheeledbeast 2012-06-04 09:04

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

Originally Posted by BertvanDorp (Post 1217005)
I guess I found a bug. When watching a video (XVID), the tracker reports in every 15 minutes or so, reporting it has 0 files left to index.. have to press the notification for it to go away. Did not change tracker settings and also did not change anything else, just installed the update!

I have had this when using the camera with OMP open, I assumed the tracker was at fault.
Was happening in the previous update if that helps.

BertvanDorp 2012-06-04 11:59

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Another thing that maybe should be looked into. Using Conky I noticed the mafw-dbus-wrapper mafw-gst-renderer process taking up lots of CPU time, even without using the media player. So, if I just boot the phone and do not use Media Player, this process still tops the rankings on CPU time. I do not have any Media Player widget in use, however, both of them (FOSS and closed one) are installed.

Zoin 2012-06-06 10:35

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Hello. Glad to see OMP is still being actively developed.

But there is a very annoying bug introduced recently: pressing Left or Right buttons on the keyboard on n900 no longer goes to previous/next track. It just unsuccessfully tries to scroll seeking bar. I use OMP mostly while driving a car so pressing Left/Right buttons on the keyboard is easy while still looking on the road. I also tried to rollback to earlier version to avoid this behavior, but repository.maemo.org gives me 404 :( I think this bug was introduced about a month ago.

UPD: I think davdav also mentioned the same issue

romiiio 2012-06-06 13:29

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Hi Gidzzz thanks for another great update but i really dont like the pop up notification which says its updating the new songs its quite annoying as it keeps popping up every few minutes! Could you please limit it to just on startup or when changes have taken place and not not every few minutes! thanks in advance!

gidzzz 2012-06-06 16:26

Re: [ANNOUNCE] Alpha release of Open Media Player
 
1 Attachment(s)
About "Retrieving information on the new media files" notification: MAFW sends notifications about updates quite often and OMP already ignores some of them (with 0 items remaining), but apparently it's not enough. If you have a problem with the notifications popping up without a good reason, run "openmediaplayer" from terminal and if one of those notification appears, look for MainWindow::onSourceUpdating and post here your values of progress, processed_items, remaining_items and remaining_time (or the whole terminal output).



Quote:

Originally Posted by xXxTJxXx (Post 1216174)
And, actuallyi did read the wiki and did it, but when i tab the desktop widget it niether open the default media player, nor Open Media Player!

I can't see anything wrong with your screenshot. Did it also disable launching the default player by its icon? What's the output of
Code:

ls -l /usr/bin/openmediaplayer
entered in the terminal?



Quote:

Originally Posted by Android_808 (Post 1216281)
does m3u support mean tvcatchup will work without mplayer now? i think there was a unicode playlist issue somewhere previously was only met by mplayer.

I guess the only way to know is to try. AFAIK the stock player does unicode right, so there might be a different cause.



Quote:

Originally Posted by freemangordon (Post 1216298)
@gidzzz: Had a SIGSEGV a couple of minutes after start, here is the link to the coredump and a backtrace:

Code:

#0  MusicWindow::browseAutomaticPlaylists (this=0x2c9658, browseId=<value optimized out>,
    remainingCount=<value optimized out>, objectId=..., metadata=0x4b7200, error=...)
    at ../../src/musicwindow.cpp:906
#1  0x000c38b0 in MusicWindow::qt_metacall (this=0x2c9658, _c=<value optimized out>, _id=15,
    _a=0xbefa5004) at moc_musicwindow.cpp:164
#2  0x41881af0 in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) ()
  from /usr/lib/libQtCore.so.4
#3  0x4188b600 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) ()
  from /usr/lib/libQtCore.so.4
#4  0x4188b600 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) ()
  from /usr/lib/libQtCore.so.4


I'm quite puzzled by this one. musicwindow.cpp:906 resolves to
Code:

playlistModel->item(2)->setData(tr("%n song(s)", "", recentlyPlayedCount), UserRoleValueText);
so the first thing that comes to mind is that there's no item at row 2, but upon examining the core dump it looks like it was already accessed 8 times and it suddenly failed the 9th time.

Although I have not yet determined the root of the problem, I have improved playlist listing and as a result the problematic line will be called many times less often (once per update of automatic playlists, and those are now triggered in a smarter way).



Quote:

Originally Posted by marmistrz (Post 1216690)
It's for sure trackname connected. This problem appeared with tracks which names contain special characters, such as '/', '?'. sometimes problem is caused by '\'' (using c++ char notation)

Unless I missed something, everything that is not a letter or a digit gets stripped before being looked up. "OperationalError: (1040, 'Too many connections')" at the end also makes me think it's just an overloaded server.



Quote:

Originally Posted by sixwheeledbeast (Post 1216887)
Thanks for the update.
One thing I noticed, why is there a save playlist option in saved playlists?
Surely this should be rename playlist like in the playlist menu.

"Save playlist" in the playlist browser has a different purpose. "Save changes" might be a better name, because if you modify a playlist, changes are discarded unless you choose to save them using that button (BTW I'm planning to make it automatic or at least show a confirmation on exit).



Quote:

Originally Posted by Zoin (Post 1218324)
But there is a very annoying bug introduced recently: pressing Left or Right buttons on the keyboard on n900 no longer goes to previous/next track. It just unsuccessfully tries to scroll seeking bar. I use OMP mostly while driving a car so pressing Left/Right buttons on the keyboard is easy while still looking on the road. I also tried to rollback to earlier version to avoid this behavior, but repository.maemo.org gives me 404 :( I think this bug was introduced about a month ago.

It should be fixed in the next release. If you can't wait, I have attached the last version without this bug.

Temporal 2012-06-08 06:52

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Hi, I'm trying to use the m3u video list feature, but with no success. It tries to play the video as it was an audio (sometimes the first frame of the video appear in a new window that closes soon after), then fails, goes to the next and the process repeats until I give up.
I make my playlists with VLC from easydebian (scanning a podcasts folder created with gpodder) and it works perfect with kmplayer, except it doesn't recognize keystrokes from my bluetooth headset as mp does.

Thanks.

gidzzz 2012-06-08 11:51

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Are you trying to open the playlist directly in OMP? Currently video playlists can be opened only with a dbus call, so to make use of it, you need an appropriate application (like a file manager or gPodder).

Another thing worth mentioning might be that OMP doesn't detect media type when streaming and it defaults to audio in case of M3U.

gidzzz 2012-06-11 21:36

Re: [ANNOUNCE] Alpha release of Open Media Player
 
I've been closely watching the update notifications and sometimes they were indeed appearing unnecessarily. If they're still annoying you after today's update, let me know and include the part of the terminal output which contains MainWindow::onSourceUpdating.

Nothing big and shiny this time, but enough improvements, bug-fixes and updated translations have accumulated to provide a new package.
  • Holding previous/next in the video window rewinds the movie.
  • More efficient updates of the playlist list.
  • Keyboard shortcuts for next/previous should work again.
  • Added an option to add all songs from one playlist to another.
  • Autosaving after editing a playlist.
  • Made library update notifications less sensitive.
  • Disabled removing and rearranging songs in uneditable playlists.
  • Fixed "Add songs to a playlist" adding one duplicate song.
  • Fixed rearranging songs in the playlist browser causing songs in now playing to be moved at the same time.
  • New translation: Portuguese (Portugal) by joaoheitormarques.
  • Updated translations.

ed_boner 2012-06-12 01:25

Re: [ANNOUNCE] Alpha release of Open Media Player
 
hi guys, installed latest update and everything is working very well so far..only two remarks about the translation to portuguese: i am really thankfull to the person who did this, its very well made, only imo as a portuguese native speaker from Portugal, the string «Tocando agora» is corect portuguese, but not common, it should be «A tocar agora», or as it appears in all players that i can remember, «Em reprodução»; but its just a detail, teh other is the text «Adicionar músicas à lista de reprodução actual» doesnt fit the button either in portrait or landscape, as well as «limpar lista de reprodução actual» does not fim inm landscape its button, so i suggest changing «lista de reprodução actual» only by «lista» or «lista actual». just some sugestions, anyway thank you very much and well done!

hobarrera 2012-06-12 04:25

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

I've been using OMP for several weeks now and I keep having the same problem; flac files aren't indexed (over 80% of my music is flac), so I need to play those through the file manager.

I've tried resetting the tracker and rebooting, but the issue persists.

Thanks, keep up the good work!

romiiio 2012-06-12 05:34

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Hi Gidzzz any chance of auto playback and auto stop when headphone is plugged in and removed??!! We already have deamon which pause/stops the music when headphones are removed any chance we can have when headphones plugged in music starts playing please!

sixwheeledbeast 2012-06-12 09:24

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

Originally Posted by romiiio (Post 1220775)
Hi Gidzzz any chance of auto playback and auto stop when headphone is plugged in and removed??!! We already have deamon which pause/stops the music when headphones are removed any chance we can have when headphones plugged in music starts playing please!

AFAIR you don't need the headphone daemon any more, OMP has this built in. Also unpauses the player on connection.
I uninstalled the headphone daemon when this arrived three or so updates ago...


---

Also the update seems to have fixed the tracker messages.
I don't get the notification, while saving Leafpad files or taking pictures.
Thanks.

pali 2012-06-12 09:37

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

Originally Posted by romiiio (Post 1220775)
Hi Gidzzz any chance of auto playback and auto stop when headphone is plugged in and removed??!! We already have deamon which pause/stops the music when headphones are removed any chance we can have when headphones plugged in music starts playing please!

I implemented auto pause OMP when bluetooth or wired headset is disconnected. This feature working without external daemons (like headphoned) and is already included in last OMP.

gidzzz 2012-06-12 11:22

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

Originally Posted by ed_boner (Post 1220739)
teh other is the text «Adicionar músicas à lista de reprodução actual» doesnt fit the button either in portrait or landscape, as well as «limpar lista de reprodução actual» does not fim inm landscape its button, so i suggest changing «lista de reprodução actual» only by «lista» or «lista actual»

And if it's hard to make a line short enough for its button, it can be also broken into two lines.


Quote:

Originally Posted by hobarrera (Post 1220765)
I've been using OMP for several weeks now and I keep having the same problem; flac files aren't indexed (over 80% of my music is flac), so I need to play those through the file manager.

I've tried resetting the tracker and rebooting, but the issue persists.

A few days ago I reset my database and Vorbis files were ignored until I reinstalled Extra Decoders Support (if it doesn't work after that, make sure Ogg Support was reinstalled in the process too). I'm not sure about the cause, but I blame an update for Tracker a few CSSUs back.

xXxTJxXx 2012-06-12 11:46

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

Originally Posted by gidzzz (Post 1218482)
I can't see anything wrong with your screenshot. Did it also disable launching the default player by its icon? What's the output of
Code:

ls -l /usr/bin/openmediaplayer
entered in the terminal?

Thanks gidzzz for the reply :)

This a screenshot from X Terminal of the output of:
Code:

ls -l /usr/bin/openmediaplayer

So, what is the diagnosis? :D

funkmunk 2012-06-12 11:57

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Will openmedia player incorporate the coverflow view for albums like in flowplayer by Cepri??

saponga 2012-06-12 12:45

Re: [ANNOUNCE] Alpha release of Open Media Player
 
just got OPM updated but the portuguese translation didn't work.
Code:

$ openmediaplayer
Your locale is "pt_BR"
Translator failed to load
Falling back to English
Translator successfully loaded

Is there anything that can i do to fix this ?
Thanks.

ade 2012-06-12 13:00

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

Originally Posted by saponga (Post 1220907)
just got OPM updated but the portuguese translation didn't work.
Code:

$ openmediaplayer
Your locale is "pt_BR"
Translator failed to load
Falling back to English
Translator successfully loaded

Is there anything that can i do to fix this ?
Thanks.

Is see there is a Portuguese-Brazilian translation for OMP, but it is only 67% completed and not included in the OMP release.
You could volunteer to complete it (https://www.transifex.net/projects/p...t-mediaplayer/) and ask gidzzz to be the language maintainer.

ed_boner 2012-06-12 13:02

Re: [ANNOUNCE] Alpha release of Open Media Player
 
pt_BR...keep forgetting that though in portugal we obviously speak the correct and original portuguese we are in fact so few people compared to brazilian..:D..anyway really happy with the translation, hope you can just fix the exessive amount of text in some labels then.

saponga 2012-06-12 13:43

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

Originally Posted by ade (Post 1220914)
Is see there is a Portuguese-Brazilian translation for OMP, but it is only 67% completed and not included in the OMP release.
You could volunteer to complete it (https://www.transifex.net/projects/p...t-mediaplayer/) and ask gidzzz to be the language maintainer.

Ohhh sh*t... Sorry about the dumb question :(
Thanks man... I'll take a look at this link althought i'm pretty sure that i don't have english skills to do that.

Quote:

Originally Posted by ed_boner (Post 1220916)
pt_BR...keep forgetting that though in portugal we obviously speak the correct and original portuguese we are in fact so few people compared to brazilian..:D

LOL :D
Your portuguese is uglly like hell :D

EDIT: I looked at the link but the translation pt_br of OMP already has a maintainer. In any case, if i could help just let me know.
Thanks again !

ed_boner 2012-06-12 19:29

Re: [ANNOUNCE] Alpha release of Open Media Player
 
ugly??..heheh..probably..i couldnt say..anyway i installed latest omp and automaticaly the hole program is transalted to pt_br..i see no 67%...seem more 100%translated and it works well...but if you want to be of assist..could youmake a pt_pt translaton only with the recomendations i gave?:D

jendrju 2012-06-16 13:31

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Seems to work nice on my device,


although I would love to see an option to choose what hardware keys control between volume or tracks (like in some player)

a long press of camera button to skip a track seems to be useless according to fact that it doesn't work when the device is locked.

mr_pingu 2012-06-16 13:38

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

Originally Posted by jendrju (Post 1222758)
Seems to work nice on my device,


although I would love to see an option to choose what hardware keys control between volume or tracks (like in some player)

a long press of camera button to skip a track seems to be useless according to fact that it doesn't work when the device is locked.

I have seen a solution to enable cam-button when the device is locked. This solution is posted here on the board somewhere. Only thing I know, is that Vi_ posted it.


Edit: see here and here

Temporal 2012-06-16 15:45

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Why does it rely so strongly on tracker?

Now it just plain doesn't work. If I want to see videos I'm forced to use KMplayer(which doesn't support BT) and if I want to listen to music I'm forced to use SomePlayer.

Uninstall, reinstall, downgrade, rebuilding DB on tracker with different configs and etc, nothing works anymore. I don't know why, but it is always the same thing every time OMP is updated. Then I have to wait for some time (usually 1 week) to see the things not "work" but at least it sees my music files and videos (but it plays only audio, the video part is somewhat a lucky hit here and there).

Is there some way to incorporate BT support into KMplayer? This would be perfect, mainly because it supports any kind of list(video, audio, m3u, m3u8, vcl, etc)

I'm sorry for anything, but now my media player is useless...

PS: Reflash is not an option. I don't know how you guys use your phone, but mine has too many customizations for that to be an option.

gidzzz 2012-06-16 17:55

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

Originally Posted by xXxTJxXx (Post 1220876)
So, what is the diagnosis? :D

I can't see anything wrong with that screenshot either (BTW, you don't have to run everything as root). My ideas have run out. If you still haven't double-checked if /usr/share/dbus-1/services/com.nokia.mediaplayer.service was saved correctly, I guess that's the last chance (besides sitting with dbus-monitor).



Quote:

Originally Posted by funkmunk (Post 1220882)
Will openmedia player incorporate the coverflow view for albums like in flowplayer by Cepri??

Not before everything else mostly works. Later -- maybe if I'm bored (but rather unlikely).



Quote:

Originally Posted by ed_boner (Post 1220916)
hope you can just fix the exessive amount of text in some labels then.

I made two lines out of one where you pointed out that the text is too wide and changed «Tocando agora» to «Em reprodução».



Quote:

Originally Posted by saponga (Post 1220929)
I looked at the link but the translation pt_br of OMP already has a maintainer. In any case, if i could help just let me know.

It has a maintainer, but you can still join the team. It doesn't look like that translation is moving forward, so if you want to see it in OMP soon, you should give it a try.



Quote:

Originally Posted by Temporal (Post 1222813)
Why does it rely so strongly on tracker?

Because Tracker is used by MAFW, MAFW is used by the stock player and the stock player is reimplemented by OMP.

Quote:

Originally Posted by Temporal (Post 1222813)
Uninstall, reinstall, downgrade, rebuilding DB on tracker with different configs and etc, nothing works anymore. I don't know why, but it is always the same thing every time OMP is updated. Then I have to wait for some time (usually 1 week) to see the things not "work" but at least it sees my music files and videos (but it plays only audio, the video part is somewhat a lucky hit here and there).

I don't know why updating OMP has an effect on how Tracker works. It doesn't do anything special on the first start and there are no installation scripts. It looks like your Tracker is broken, but for a reason to me unknown.



I've been playing with streaming and a sleep timer lately. The results are in the repository and the changelog below.
  • Added a sleep timer.
  • Media type detection for streams.
  • Buffering info for video streams.
  • Minor visual touch-ups in the radio window.
  • Mark video radio stations with "[VIDEO]".
  • Working progress slider in the radio window for streams which support seeking.
  • Fixed determining stream duration in the radio window.
  • Updated translations: German, Portuguese.

The sleep timer can pause playback, stop playback or close OMP (with respect to the closing action selected in the main settings) after the specified number of minutes. It also supports two variants of volume reduction.
  • Linear reduction decreases volume level in equal intervals.
  • Exponential reduction starts gently and speeds up as it approaches timer's timeout.
Volume level can be changed freely when the sleep timer is in effect -- reduction rate will be adjusted in a way that keeps the chosen characteristic and reaches 0 at the end (but in reality the sound already goes mute at ~4%).

Stream type detection should work no matter if you feed OMP a raw URL or a playlist, but it can jump only from video to audio, meaning that if you've got a mixed M3U, it might not work very well.

Marking video stations may sound intriguing, but all it does is it tells you that the marked station doesn't work in OMP. ;) If you wonder how such station got there, it might be a video stream bookmarked in by stock player.

marmistrz 2012-06-16 18:19

Re: [ANNOUNCE] Alpha release of Open Media Player
 
gidzzz, could you please improve the disconnect headset to pause with the next update?

For me the resumed playback is not always a good idea. I disconnect phone from the hifi playback system (90% volume bar) and when I connect the headphones... bang!!

But it's a good way when you're in the city and the cars make noise. So my suggestions (all of them at one time):
1. disable/enable resume on reconnect at all
2. set time on which resume should be automatically on (e.g. Mo-Fr, 7:30-8:00)
3. enable resume after reconnect for some time ( e.g. for 30 mins from now )

thanks for you hard work on the omp!

xXxTJxXx 2012-06-16 18:32

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

Originally Posted by gidzzz (Post 1222888)
I can't see anything wrong with that screenshot either
My ideas have run out. If you still haven't double-checked if /usr/share/dbus-1/services/com.nokia.mediaplayer.service was saved correctly, I guess that's the last chance (besides sitting with dbus-monitor).

i just solved the problem by placing OMP icon above media player widget :cool:

Quote:

(BTW, you don't have to run everything as root)
I think root is just programed in my subconsious :) my fault

You are THE ONE, and the sleep timer update is AWESOME!!!
I salute you :cool:

gidzzz 2012-06-16 19:09

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Ha ha, sometimes simple solutions are the best. :)


Quote:

Originally Posted by marmistrz (Post 1222908)
1. disable/enable resume on reconnect at all
2. set time on which resume should be automatically on (e.g. Mo-Fr, 7:30-8:00)
3. enable resume after reconnect for some time ( e.g. for 30 mins from now )

Speaking of simple solutions, I think the second suggestion is an overkill, but you've got a good point and I like those two other options, so expect at least 1. to appear with the next release.

Edit: If that helps you, playback is resumed only if it's paused by disconnecting, so you can pause it manually and then reconnect to avoid the undesired resume.

saponga 2012-06-17 00:08

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

Originally Posted by gidzzz (Post 1222888)
It has a maintainer, but you can still join the team. It doesn't look like that translation is moving forward, so if you want to see it in OMP soon, you should give it a try.

Actually, AFA i remember, the last update of the pt_br translation was uploaded just last week. So i think its on the way. Anyway, despite my bad english, i've finished the translation but couldn't update it at the transifex since i'm not a member. Im registered there as "saponga".
Thanks fot that update !

gidzzz 2012-06-17 00:45

Re: [ANNOUNCE] Alpha release of Open Media Player
 
I don't know how big was that upload, but if I remember correctly, I was surprised by not seeing the percentage go up after it. Anyway, it's been already about 2.5 months since it was created and there are some obvious errors in its current state (like translating "%n song" to "Um: %n song"), so it certainly could use your help (I have added you to the team).

marmistrz 2012-06-17 05:41

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

Originally Posted by gidzzz (Post 1222995)
I don't know how big was that upload, but if I remember correctly, I was surprised by not seeing the percentage go up after it. Anyway, it's been already about 2.5 months since it was created and there are some obvious errors in its current state (like translating "%n song" to "Um: %n song"), so it certainly could use your help (I have added you to the team).

I don't know how good the pl_pl translation is (using en_us anyway) but if it's not good, I may help

gazza_d 2012-06-17 12:29

Re: [ANNOUNCE] Alpha release of Open Media Player
 
doesnt look like anyone else has experienced this or at least reported it. with the build from last night (16/06) when I shuffle all songs, they are being played as if they are internet radio stations. If i browse though and select the same track from the music button, then it plays as a music track.

seanmcken 2012-06-17 14:49

Re: [ANNOUNCE] Alpha release of Open Media Player
 
everything is good in OMP. needed thing is only equilizer. im not forcing anyone

sixwheeledbeast 2012-06-17 15:10

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

Originally Posted by vi_ (Post 1216899)
Nah, software equaliser is for d-bags who do not know how to listen to music.

Quote:

Originally Posted by seanmcken (Post 1223233)
everything is good in OMP. needed thing is only equilizer. im not forcing anyone

This really isn't important, I completely argee with vi_

Artists/Producers adjust the EQ. Listeners ...um listen.


All times are GMT. The time now is 09:10.

vBulletin® Version 3.8.8