Display the number of tracks in a list next to the list name

Bug #991938 reported by x
26
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Mixxx
Fix Released
Wishlist
RJ Skerry-Ryan

Bug Description

I would like to see the number of tracks in a given list next to that list's name. There is currently no way to see how many songs you have in a given list.

RJ Skerry-Ryan (rryan)
Changed in mixxx:
importance: Undecided → Wishlist
jus (jus)
Changed in mixxx:
status: New → Confirmed
Revision history for this message
mutil (mutil) wrote :

Total playlist time would be a nice addition, too.

Revision history for this message
Daniel Schürmann (daschuer) wrote :

Displaying playlist time is tracked in
Bug #1014951 WISHLIST: running total time of playlist Edit

jus (jus)
summary: - Wishlist: Number of tracks in a list next to list name
+ Display the number of tracks in a list next to the list name
tags: added: library usability
tags: added: easy
weixin (weixindlut)
Changed in mixxx:
assignee: nobody → weixin (weixindlut)
assignee: weixin (weixindlut) → nobody
assignee: nobody → weixin (weixindlut)
Revision history for this message
weixin (weixindlut) wrote :

which lists do the "given list" refer to? playlists, crates, or Auto DJ? I don't think all of them need numbers added next to their names. I have add numbers for the playlists, but is it enough?

Revision history for this message
Max Linke (max-linke) wrote :

I would also like to have it next to auto-DJ because their the number goes down everytime a new song is loaded into a deck and to make it complete we can also just show it for the crates. You should also think of a way that makes it easy to recognize when a playlist name ends and the number of track start to show, with your current solution I have problems to quickly see that.

Could you also please post your screenshot and the code you have so far here.

Changed in mixxx:
status: Confirmed → In Progress
Revision history for this message
weixin (weixindlut) wrote :

Hi,
Here is my screenshot:
http://xiaoxinxin-wordpress.stor.sinaapp.com/uploads/2013/06/playlistswithnum.png
And here is my code:
https://github.com/weixindut/mixxx/commit/78643b4dfe3829c50fd35525054731c2691272d8

I will try to add numbers to crates and Auto DJ. And before that the current code maybe need some optimizations because I fix the bug not based on the newest version and I can not do a update for the reason of my network. Athough the newest version changes a lot on library, my codes now also work.

Revision history for this message
Daniel Schürmann (daschuer) wrote :

The skin issue is tracked in Bug #1187090

Revision history for this message
Daniel Schürmann (daschuer) wrote :

To make it complete. +1 for adding the number to crates as well.
I would also like to have a blank between the name and (3).
Just my two cents.

Revision history for this message
Daniel Schürmann (daschuer) wrote :

Hi 魏欣,

thank you for your patch!

I have some objections in the way it works. If I get it right, you store the name with the count addition as new name into the Mixxx db right? While this is a good straight forward solution, I would prefer a solution to add the count of tracks to the name on the fly when displaying in the tree view. We may discuss if we should count the tracks on every Mixxx startup or if we should store it in a separate database column. This would finally avoid the use of reg-ex and gives more freedom in a possible library view re-layout.

Kind regards,

Daniel

Revision history for this message
weixin (weixindlut) wrote :

Hi Daniel,
You're right. Now I just rewrite the playlist name by using reg-ex because it is so straight forward as you said. And Currently it is the easiest way for me fixing my first bug for Mixxx. I have also thought about the way storing the shown name in a separate database column, and I agree with you. I will try to optimize my code in this way later.

Best Regards

RJ Skerry-Ryan (rryan)
tags: added: polish
Revision history for this message
RJ Skerry-Ryan (rryan) wrote :
Changed in mixxx:
assignee: weixin (weixindlut) → RJ Ryan (rryan)
milestone: none → 1.12.0
status: In Progress → Fix Committed
RJ Skerry-Ryan (rryan)
Changed in mixxx:
status: Fix Committed → Fix Released
Revision history for this message
Swiftb0y (swiftb0y) wrote :

Mixxx now uses GitHub for bug tracking. This bug has been migrated to:
https://github.com/mixxxdj/mixxx/issues/6385

lock status: Metadata changes locked and limited to project staff
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.