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)

luketanti 2011-09-03 19:23

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Thanks for the great work. Are there any updates??

gidzzz 2011-09-06 00:12

Re: [ANNOUNCE] Alpha release of Open Media Player
 
1 Attachment(s)
I was so desperate to fix that missing radio icon, that I started messing with the source. After I went as far as compiling the code, I suddenly felt an irresistible urge to fix more annoyances and did some more hacking. ;) Point your eyes to the list below if you want to know what I came up with.
  • Radio icon for the default theme is back, ha!
  • Catogory names in the playlist browser are nice and green.
  • Squashed a bug that caused songs from 'now playing' to appear in the playlist browser.
  • Original MohammadAG's entertainment view and paiburio's car view (http://talk.maemo.org/showpost.php?p...&postcount=254) live in peace, side by side.
  • Disabled context menu for category names in the playlist browser and enabled for songs in the single playlist view.
  • 'Add to now playing' in context menu of the playlist browser now really does what it says.

You can grab the binary from the attachment. MAG's installer, modified to reflect changes in this version, is inside too. I couldn't stand confusion from two identical icons on my desktop, thus I made a new one. It's installed together with .desktop file if you run the installer with "--desktop-file".

Source: http://gitorious.org/~gidzzz/qt-medi...qt-mediaplayer

neboja 2011-09-06 07:54

Re: [ANNOUNCE] Alpha release of Open Media Player
 
OK, so i was not able to run install it (don't know why) but i was able to run it via "sh Install_mediaplayer.sh
everything is good... works.... but OMP doesn't stop playback if it is closed.
another interesting thing is that it opened my current playlist (but i think that is what it suppose to happen)
great work from everyone evolved in this project, but i must ask all devs here: why building separate git projects, instead working one just ONE! ???????

gidzzz 2011-09-06 12:19

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

Originally Posted by neboja (Post 1082663)
OK, so i was not able to run install it (don't know why) but i was able to run it via "sh Install_mediaplayer.sh

Do you mean that you couldn't type "./install_mediaplayer.sh"? I think I made it executable, but It might have been lost if you extracted the archive to MyDocs, for example.


Quote:

Originally Posted by neboja (Post 1082663)
everything is good... works.... but OMP doesn't stop playback if it is closed.

It's configurable: click on home screen's title bar and go to settings.

Quote:

Originally Posted by neboja (Post 1082663)
why building separate git projects, instead working one just ONE! ???????

MAG said in this thread over a month ago that he's going to merge cepiperez's changes, but todaty I can see no sign of it. And yeah, fork of a fork might look funny, but I was so eager to make some changes that I couldn't wait for cepiperez's work to appear in the original repo. :) However, I think I might ask MAG what's up, as I'm working on even more updates (I've got a fix for shuffling and playlist editing partilly working, yay!).

neboja 2011-09-06 12:29

Re: [ANNOUNCE] Alpha release of Open Media Player
 
keep up the good work! ;)

Carlito 2011-09-06 12:41

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Repeat one song maybe an option?

helloct 2011-09-06 23:07

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Hello,
can someone tell me how to install this? I use to install app with .deb file.
help me please.

gidzzz 2011-09-07 01:44

Re: [ANNOUNCE] Alpha release of Open Media Player
 
1 Attachment(s)
Quote:

Originally Posted by helloct (Post 1083167)
Hello,
can someone tell me how to install this? I use to install app with .deb file.
help me please.

1. Place the archive somewhere on your N900.
2. Open the terminal and navigate to the directory where the archive resides (for example "cd /home/user/MyDocs" if you placed it in the main storage).
3. Extract the archive ("tar -xf omp_xxx.tar.gz").
4a. Navigate to the extracted directory ("cd omp_xxx") and run the installer as root ("sudo sh install_mediaplayer.sh --desktop-file").
4b. If it doesn't work (I'm not sure if sudo is configured out of the box), try "root", then "cd /home/user/MyDocs/omp_xxx", and finally "sh install_mediaplayer.sh --desktop-file".
5. Installer tries to start the player automatically, so you should hopefully see the result right away.

Quote:

Originally Posted by Carlito (Post 1082833)
Repeat one song maybe an option?

I think I'm going to look into the what's needed for the implementation, but if turns out to be too much hassle, It'll probably have to wait. Moreover, I'm not sure where to put the icon, as I'd prefer not to clutter the interface excessively.

Today I did not have as much time as I'd like, but I managed to put together quite usable playlist editor. It's not available for the current playlist yet, but you can fiddle with it in the playlist browser. To do so, select a playlist and choose "Edit playlist" from the titlebar menu and rearrange the songs by simple drag-and-drop or remove with a longer press. To store the result of your efforts, choose "Save playlist" from the menu. If you save an imported playlist, it will be imported even deeper, to "Saved playlists". Editing can be cancelled simply by closing the window.

Among other changes, shuffling a playlist from the browser finally works and useless "Delete playlist" button has been removed from automatic playlists.

neboja 2011-09-08 14:56

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

one USEFUL thing for playlists: to add an option for creating playlist from folder...
if you think you can manage to do so, it will be awesome!

and one more thing for all who participate in developing OMP: to add option to type and search to current playlist (like in playlist editor) for quicker finding a track to put on play!

again: great work folks ;)

trisha02 2011-09-08 16:10

Re: [ANNOUNCE] Alpha release of Open Media Player
 
y was it not included in the cssu?

Keneraali 2011-09-08 16:17

Re: [ANNOUNCE] Alpha release of Open Media Player
 
It's still buggy enough not to be a proper replacement for the stock media player

br1zer 2011-09-08 17:15

Re: [ANNOUNCE] Alpha release of Open Media Player
 
@trishia02 because the rest of the community were so busy dealing with your multiple posts.

trisha02 2011-09-08 18:06

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

Originally Posted by br1zer (Post 1084448)
@trishia02 because the rest of the community were so busy dealing with your multiple posts.

hahahaha...very funny. this is a forum.i will ask questions.everyone does. so y do u care? jst stop wat u r doing.and mind ur <removed> business

don_falcone 2011-09-08 18:10

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

Originally Posted by trisha02 (Post 1084494)
hahahaha...very funny. this is a forum.i will ask questions.everyone does. so y do u care? jst stop wat u r doing.and mind ur fcking business

You should be very happy that it looks like no moderator actually cares enough to swipe™ your stup*d litte a55 out of this forum.

ivgalvez 2011-09-08 18:12

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Put him in your ignore lists please.

br1zer 2011-09-08 18:39

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

Originally Posted by ivgalvez (Post 1084497)
Put him in your ignore lists please.

grand Idea. Thanks!!

gazza_d 2011-09-08 18:39

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Getting this thread back on topic...

Has the random library play speed improved any as initially it was very slow.?

T4UR14N 2011-09-08 18:58

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

Originally Posted by trisha02 (Post 1084494)
hahahaha...very funny. this is a forum.i will ask questions.everyone does. so y do u care? jst stop wat u r doing.and mind ur fcking business

so your posting on a PUBLIC FORUM and tellin us to mind our business....lol ur funny

so i guess when u need help an we ignore you its probably becuase were minding our business lol

anybody about putting up donations to the forum to ban this chic i would donate $2

bltcool 2011-09-08 19:06

Re: [ANNOUNCE] Alpha release of Open Media Player
 
i don't know if this is mention but if u make OMP the main launch media player and use cutetube-QML to stream youtube video to the media player in settings, then the video doesn't play in OMP but rather it play the last "played" song u listen

ThePooBurner 2011-09-08 19:09

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

Originally Posted by gidzzz (Post 1082581)
I was so desperate to fix that missing radio icon, that I started messing with the source. After I went as far as compiling the code, I suddenly felt an irresistible urge to fix more annoyances and did some more hacking. ;) Point your eyes to the list below if you want to know what I came up with.
  • Radio icon for the default theme is back, ha!
  • Catogory names in the playlist browser are nice and green.
  • Squashed a bug that caused songs from 'now playing' to appear in the playlist browser.
  • Original MohammadAG's entertainment view and paiburio's car view (http://talk.maemo.org/showpost.php?p...&postcount=254) live in peace, side by side.
  • Disabled context menu for category names in the playlist browser and enabled for songs in the single playlist view.
  • 'Add to now playing' in context menu of the playlist browser now really does what it says.

You can grab the binary from the attachment. MAG's installer, modified to reflect changes in this version, is inside too. I couldn't stand confusion from two identical icons on my desktop, thus I made a new one. It's installed together with .desktop file if you run the installer with "--desktop-file".

Source: http://gitorious.org/~gidzzz/qt-medi...qt-mediaplayer

Does this included the fixes/changes by Cepiperez?

towhatend 2011-09-08 19:18

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

Originally Posted by ThePooBurner (Post 1084515)
Does this included the fixes/changes by Cepiperez?

Yes it does.

gidzzz 2011-09-08 19:32

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

Originally Posted by gazza_d (Post 1084504)
Has the random library play speed improved any as initially it was very slow.?

Nope, there are still no speed optimizations, but there should be more stability soon, as I tracked down two segfaults and I'm fixing them at the moment.

helloct 2011-09-08 20:37

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

Originally Posted by gidzzz (Post 1083219)
1. Place the archive somewhere on your N900.
2. Open the terminal and navigate to the directory where the archive resides (for example "cd /home/user/MyDocs" if you placed it in the main storage).
3. Extract the archive ("tar -xf omp_xxx.tar.gz").
4a. Navigate to the extracted directory ("cd omp_xxx") and run the installer as root ("sudo sh install_mediaplayer.sh --desktop-file").
4b. If it doesn't work (I'm not sure if sudo is configured out of the box), try "root", then "cd /home/user/MyDocs/omp_xxx", and finally "sh install_mediaplayer.sh --desktop-file".
5. Installer tries to start the player automatically, so you should hopefully see the result right away.


Thank you for your help ;)
I've installed and the portrait option is really cool.
But where is the icone for the Open Media Player???
I cant reopen it once I close it, I have to reinstalled to open it. help please.

gidzzz 2011-09-08 20:56

Re: [ANNOUNCE] Alpha release of Open Media Player
 
if you ran the installer with "sh install_mediaplayer.sh --desktop-file", there should be an "OMP" entry in the applications menu. You can run "ls /usr/share/applications/hildon/omp.desktop" from the terminal to make sure it's there.

helloct 2011-09-08 21:20

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

Originally Posted by gidzzz (Post 1084560)
if you ran the installer with "sh install_mediaplayer.sh --desktop-file", there should be an "OMP" entry in the applications menu. You can run "ls /usr/share/applications/hildon/omp.desktop" from the terminal to make sure it's there.

THANK, it work nice. It load album FAST (no lag).

Though when I load the albums in portrait mode, they are not well arranged when I turn the phone in landscape mode. Seems to be a bug.

And one request, JUST ONE ;) : Add an equalizer.

corduroysack 2011-09-08 22:02

Re: [ANNOUNCE] Alpha release of Open Media Player
 
bit late in the day and probably someones already asked but could gapless playback be implemented like in rockbox?

TomJ 2011-09-09 01:15

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

Originally Posted by corduroysack (Post 1084585)
bit late in the day and probably someones already asked but could gapless playback be implemented like in rockbox?

Yep, someone's already asked and MAG's already answered... The Search this Thread button up above is your friend!

neboja 2011-09-09 08:02

Re: [ANNOUNCE] Alpha release of Open Media Player
 
ok furthermore I've been using it, some bugs occur:

slider is not so responsive, so sometimes it react on touch, but don't go to desired time...
current time... when it passes 60eth min (when you play some live sets or long mp3-s...), it starts form 0...
and there is more for improvement... but, these are my observations so far ;)

corduroysack 2011-09-09 08:22

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

Originally Posted by TomJ (Post 1084641)
Yep, someone's already asked and MAG's already answered... The Search this Thread button up above is your friend!

cheers repeated posts is a pet hate of mine and i did it! never had to use search this thread before, wouldn't mind i've been following the thread for a while now must've missed/forgotten that post cheers again :)

Carlito 2011-09-11 10:31

Re: [ANNOUNCE] Alpha release of Open Media Player
 
does the carview support portrait mode?

neboja 2011-09-14 19:50

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

Originally Posted by Carlito (Post 1086017)
does the carview support portrait mode?

no, it does not
but you don't need a portrait car mode, because it is meant to be used when a n900 is put in a holding rack, and it is usually horizontally (am i wright?)

gazza_d 2011-09-14 21:15

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Depends. My car mount rotates, and I prefer Twimgo in portrait. The stock media player struggles in portrait mode.

Does the OMP portrait mode not suffice though?

neboja 2011-09-14 21:35

Re: [ANNOUNCE] Alpha release of Open Media Player
 
omp portrait is ok, but buttons are small for use in car (for example)... :P

Carlito 2011-09-15 06:20

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

Originally Posted by neboja (Post 1088462)
no, it does not
but you don't need a portrait car mode, because it is meant to be used when a n900 is put in a holding rack, and it is usually horizontally (am i wright?)

Usually yes, but not in my case. My car holder supports the phone of my girlfriend and my n900, but only portrait.

neboja 2011-09-15 07:42

Re: [ANNOUNCE] Alpha release of Open Media Player
 
hmm... didn't see that kind of holders, but ok! :)

back on topic: than it would be ok to have portrait mode for car view... :)

ok, one more thing, i don't know why, but all ui is unresponsive in some way... i need to tap twice something and scrolling is sometime... well, not scrolling, etc....

Carlito 2011-09-15 07:59

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

Originally Posted by neboja (Post 1088707)
hmm... didn't see that kind of holders, but ok! :)

back on topic: than it would be ok to have portrait mode for car view... :)

ok, one more thing, i don't know why, but all ui is unresponsive in some way... i need to tap twice something and scrolling is sometime... well, not scrolling, etc....

It's called universal holder ;)

Would like to have it in portrait mode.

gidzzz 2011-09-15 14:50

Re: [ANNOUNCE] Alpha release of Open Media Player
 
1 Attachment(s)
Quote:

Originally Posted by neboja (Post 1088707)
ok, one more thing, i don't know why, but all ui is unresponsive in some way... i need to tap twice something and scrolling is sometime... well, not scrolling, etc....

That's strange, does it happen all the time and is it only OMP that is unresponsive? Although I didn't experience anything like that, it's possible that it's been accidentally fixed, as there were lots of changes under the hood since the last build. ;)

I wanted to finish up a few things before posting this, but that report of unresponsiveness keeps me wondering if it still occurs. Here goes the simplified changelog (full is always here):
  • Indicator in the bottom right hides when the playlist is empty (but from time to time it appears when it shouldn't, overlapping the searchbox).
  • Instant opening of Now Playing window after the first time.
  • Song time counter goes higher than 59:59.
  • Fixed Now Playing window sometimes not displaying metadata in the list.
  • It seems rock stable. If you can crash it, make sure you let me know. :)

neboja 2011-09-15 16:38

Re: [ANNOUNCE] Alpha release of Open Media Player
 
mmmm in now playing, it doesn't show playlist... i don't know if some one else is experiencing this....

still some parts are nor responsive enough.... (maybe it is something to do with a way it is executed as an app - via sh ....)

ThePooBurner 2011-09-15 18:21

Re: [ANNOUNCE] Alpha release of Open Media Player
 
On first load the playlist was blank, but after tapping through the lyrics and single display it was populated. The program is stil lvery slow and laggy when dealing with large lists of songs. When first opening the music section of the player, if i select "all songs" from the menu and then start typing the name of a song to search for it, it is incredibly slow and laggy. the "all songs" list contains ~4600 mp3s. I don't expect miracles, but it is much faster and more responsive in the original media player. Once my list of filtered music comes up, the UI is slow to display the hold-menu for adding a single track to the now playing list.

On the plus side, searching for a song no longer makes the app complete unresponsive and require a forced close from the power key. So progress is being made. It's just still very laggy if you have a large library in general. Heaven help you if you accidentally add all 4600 songs to "now playing". It takes several minutes before it does anything and begins playing. And after that if it is on random it can pause for as much as 20 seconds before playing the next song.

In the "now playing" playlist, tapping a song does not play the song, as in mediaplayer. I have to select it, then press play. double tapping, triple, etc. doesn't get it to start. i have to hit the play button. Making a double tap to play would be fine (as sometime i get annoyed in mediaplayer by it thinking a scroll swipe is a tap and starting a song), but i don't like having to select the song and then move my finger to another button to get it to start playing.

sakya 2011-09-15 19:09

Re: [ANNOUNCE] Alpha release of Open Media Player
 
I also noticed a higher cpu usage than the stock media player.
Play a track, stay in the now playing window, execute top: the mediaplayer uses 7-10% of the cpu (the stock media player is at 2-3%).
Leaving the player on the list window drops the % usage of the cpu to 3-4%

I don't know if this is the cause (I didn't make any test):
Code:

connect(positionTimer, SIGNAL(timeout()), mafwrenderer, SLOT(getPosition()));
Tha player is asking for the current time every second. It would be probably better to just add one second to the current position on the timer timeout and ask the renderer for the current position only when the state changes (play/pause/stop).

For the music window performance: I think that using a ListView/TableView and QAbstractListModel/QAbstractTableModel would be a lot faster than a QListWidget.

Just my two cents. ;)

Other than that, many thanks for all the work and efforts in developing this player.


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

vBulletin® Version 3.8.8