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)

StocChr 2011-09-21 06:07

Re: [ANNOUNCE] Alpha release of Open Media Player
 
the problem is not a track number or the metadata
i fixed the sorting problem in the Qt Creator...
- singlealbumview.ui
- singleplaylistview.ui
i enabled the option "sortingEnabled" in Object: songList -> Class: QListWidget
- singleartistview.ui
- singleplaylistview.ui
i enabled the option "sortingEnabled" in Object: albumList -> Class: QListWidget

after this modifications all files ( albums, artists, songs, etc. ) are sorted correctly

gidzzz 2011-09-21 12:38

Re: [ANNOUNCE] Alpha release of Open Media Player
 
No, they're not. It causes the lists to be sorted alphabetically, thus it only works if you have a number in every title. If you have correct metadata, it actually breaks the proper order.

Moreover, I've got 5 files: "101.mp3", "102.mp3", "103.mp3", "201.mp3", "202.mp3". They have no metadata and in the browser they are displayed in the correct order (it's only 5 files, might be random ;) ). Maybe it's not just that you don't have track numbers assigned, but rather have them assigned incorrectly.

So, I'd rather say check your metadata.

Edit: Yep, it was random. :p

StocChr 2011-09-21 13:19

Re: [ANNOUNCE] Alpha release of Open Media Player
 
short mp3 file description:

filename:
101 Artist - Titel.mp3
metadata:
titel: 101 Artist - Titel.mp3
interpret: Albumname
album: Albumname
genre: Pop
no Tracknumbers are defined in metadata

the quintessence is, that he sorts the songs acc. the metadata "titel" from 1, 2, 3, ... till z ( my experience with no assigned tracknumbers )

MohammadAG 2011-09-21 14:12

Re: [ANNOUNCE] Alpha release of Open Media Player
 
I've fixed that locally but my git setup is messed up right now (for qt-mediaplayer at least).

Anyway, QListWidget shouldn't do the sorting to match the stock player, MAFW should, you can pass "+title" in mafw_source_browse's sorting parameter to get a sorted reply (one of the lists does this already, singlealbumwindow.cpp I think)

gidzzz 2011-09-21 14:21

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

gidzzz 2011-09-21 20:49

Re: [ANNOUNCE] Alpha release of Open Media Player
 
1 Attachment(s)
There were some good things brewing on git and I think it's about time to post a build for people who don't like compiling. ;)
  • Option to enable/disable lyrics (I decided to disable by default, as this is a feature depending on Internet connection).
  • Smarter playlist (re)loading and small bugfixes in "Now playing".
  • Smooth cover art and thumbnails.
  • Changing cover art also generates a thumbnail for album browser.
  • Cover art detection supports "cover.jpg" and "front.jpg".
  • Fixed lyrics reloading.
  • Fixed shuffle always starting with the same item.
  • Fixed playback not starting after shuffling an album.
  • Improved sorting order when browsing an album.
  • More bugfixes, this list is already too long. :p
And one last thing... There was a strange bug when choosing a song from "All songs". I'm not sure if I really fixed it, so I've got a request for people with big libraries (about 3000 songs, more is better): go to "All songs", scroll to the very end, select one of the songs and see if playback starts correctly.

ironm8 2011-09-21 21:22

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

Originally Posted by gidzzz (Post 1093466)
There were some good things brewing on git and I think it's about time to post a build for people who don't like compiling. ;)
  • Option to enable/disable lyrics (I decided to disable by default, as this is a feature depending on Internet connection).
  • Smarter playlist (re)loading and small bugfixes in "Now playing".
  • Smooth cover art and thumbnails.
  • Changing cover art also generates a thumbnail for album browser.
  • Cover art detection supports "cover.jpg" and "front.jpg".
  • Fixed lyrics reloading.
  • Fixed shuffle always starting with the same item.
  • Fixed playback not starting after shuffling an album.
  • Improved sorting order when browsing an album.
  • More bugfixes, this list is already too long. :p
And one last thing... There was a strange bug when choosing a song from "All songs". I'm not sure if I really fixed it, so I've got a request for people with big libraries (about 3000 songs, more is better): go to "All songs", scroll to the very end, select one of the songs and see if playback starts correctly.

Thanks alot for investing your time in this :)

Is it possible to make OMP take CD Number Sorting in the IDv3 tags under consideration? it messed up quite a few of my albums.

gidzzz 2011-09-21 22:14

Re: [ANNOUNCE] Alpha release of Open Media Player
 
Does stock player do that? Unless I overlooked something, MAFW doesn't support fetching such metadata and things get a bit complicated. It would have to be extracted manually and slow things down. Although one album might have not enough songs to make it noticable.

datjomp 2011-09-21 23:02

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

Originally Posted by TMavica (Post 1091484)
Put omp_20110917.tar.gz in MyDocs, then unzip it to there

X terminal:
1. root
2. cd /home/user/MyDocs/omp_20110917
3. sh install_mediaplayer.sh --desktop-file

Done

Sorry for asking but is --desktop-file suppose to add an icon to the desktop?
When I run sh install_mediaplayer.sh --desktop-file i get this --->
NowPlayingIndicator::autoSetVisibility
Is the omp.png supposed to be entered somwhere in the command?

Thanks, looks really promising :)

gidzzz 2011-09-21 23:13

Re: [ANNOUNCE] Alpha release of Open Media Player
 
"--desktop-file" installs a file that can be picked up by the menu system, so OMP is available from the applications menu or can placed as a shortcut on the desktop, just like any other shortcut. "omp.png" icon is copied automatically to its destination if you use "--desktop-file".


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

vBulletin® Version 3.8.8