Notices


Reply
Thread Tools
Posts: 306 | Thanked: 38 times | Joined on Dec 2009 @ Austria
#351
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's Avatar
Posts: 282 | Thanked: 2,387 times | Joined on Sep 2011
#352
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.

Last edited by gidzzz; 2011-09-21 at 12:59.
 

The Following User Says Thank You to gidzzz For This Useful Post:
Posts: 306 | Thanked: 38 times | Joined on Dec 2009 @ Austria
#353
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 )

Last edited by StocChr; 2011-09-21 at 13:24.
 

The Following User Says Thank You to StocChr For This Useful Post:
MohammadAG's Avatar
Posts: 2,473 | Thanked: 12,265 times | Joined on Oct 2009 @ Jerusalem, PS/IL
#354
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)
 

The Following 5 Users Say Thank You to MohammadAG For This Useful Post:
gidzzz's Avatar
Posts: 282 | Thanked: 2,387 times | Joined on Sep 2011
#355
Exactly.
 

The Following User Says Thank You to gidzzz For This Useful Post:
gidzzz's Avatar
Posts: 282 | Thanked: 2,387 times | Joined on Sep 2011
#356
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.
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.
Attached Files
File Type: gz omp_20110921.tar.gz (329.3 KB, 135 views)
 

The Following 24 Users Say Thank You to gidzzz For This Useful Post:
Posts: 183 | Thanked: 113 times | Joined on Jun 2010
#357
Originally Posted by gidzzz View Post
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.
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's Avatar
Posts: 282 | Thanked: 2,387 times | Joined on Sep 2011
#358
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.
 

The Following User Says Thank You to gidzzz For This Useful Post:
Posts: 168 | Thanked: 56 times | Joined on Mar 2010 @ Sweden
#359
Originally Posted by TMavica View Post
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's Avatar
Posts: 282 | Thanked: 2,387 times | Joined on Sep 2011
#360
"--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".
 

The Following 2 Users Say Thank You to gidzzz For This Useful Post:
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 22:29.