abhay123lp / tunesremote-plus

Automatically exported from code.google.com/p/tunesremote-plus
0 stars 0 forks source link

Playlist Track counter displays wrong number #57

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Q. What Android hardware device do you own?  (HTC Hero, Samsung Galaxy,
etc)

A: Samsung Galaxy S i9000

Q. On what Android operating system version? (2.1, 2.2, Honeycomb 3.0.1
etc)

A: 2.2

Q. What DACP server, OS, and version? (OSX iTunes 10.1.2, Windows 7
MonkeyTunes 1.5.1 etc)

A: Windows 7, MonkeyTunes

Q. What TunesRemote+ version? (found on Menu->More->About)

A: latest from the market.

Please provide any additional information below.

When Looking at the Playlists, it displays under the playlist name the number 
of Tracks in the Folder. Most of the Track numbers are wrong. For example:
Favorites - Top 50 shows: '1 tracks'
When selecting the Playlist, it will however show all 50 tracks. The same goes 
for quite a few other Playlist Track counters.

Original issue reported on code.google.com by cramermaurice@gmail.com on 20 Jun 2011 at 9:04

GoogleCodeExporter commented 8 years ago
Rejecting this defect as won't fix because this is a MonkeyTunes specific issue 
and not an iTunes or TunesRemote+ issue

This was done on purpose as a performance enhancement. For example if you 
create a playlist called "My List" and add 10 tracks to it then you will see 
the track count 10 in TunesRemote+. However if it is an "AutoPlaylist" such as 
Recently Added that is a dynamic playlist that actually searches your whole 
catalog where "Date < 30 days" for example. Well since that number can be large 
and takes time for MM to execute the query we display the track count as 1. 
Because it is way too expensive an operation to do a huge database query just 
to find out the track count for display so we default to 1. This was done early 
on in MonkeyTunes development to increase performance and responsiveness to the 
mobile apps (TunesRemote or Apple Remote). 

Original comment by mellowaredev on 20 Jun 2011 at 12:10