Bug 146531 - Playlist filter on "length" unexpected behaviour
Summary: Playlist filter on "length" unexpected behaviour
Status: RESOLVED UNMAINTAINED
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 1.4.5
Platform: FreeBSD Ports FreeBSD
: NOR normal
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-08 11:14 UTC by James Seward
Modified: 2009-08-03 04:06 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Seward 2007-06-08 11:14:25 UTC
Version:           1.4.5 (using KDE KDE 3.5.6)
Installed from:    FreeBSD Ports
Compiler:          gcc version 3.4.6 [FreeBSD] 20060305 
OS:                FreeBSD

Adding a "length" filter to the playlist filter does not produce expected behaviour.

If I have a playlist with a selection of tracks, some between 3 and 10 mins long, and some an hour or two, trying to filter to 'length:<300' or 'length:<05:00' (the former generated by clicking the [...] button by the filter box, the latter suggested in #amarok on freenode) the playlist does not get filtered to only tracks less than five minutes.

Instead, it contains a combination of (say) three minute tracks and 1- and 2-hour tracks.

Here's the original playlist (in this case it's a Suggested Songs playlist, but this behaviour exists with a "regular" playlist too):
http://sakaki.jamesoff.net/~james/amarok1.png

Here's the result of filtering:
http://sakaki.jamesoff.net/~james/amarok2.png

The songs <1h but >5m have been filtered, but the >1h tracks remain!

This is a vanilla install of Amarok from FreeBSD ports; I am using the default SQLite backend, a replaygain script, and moodbar.
Comment 1 Torsten Dörschel 2007-07-09 16:38:16 UTC
I can confirm a similar behaviour: clicking on [...] and using the filter dialog gives an expression in seconds (e.g. length:<300), but this number is minutes, so it should be length:<5

The collection search however works with seconds.

Amarok 1.4.6-1 from Debian testing, on Kubuntu 7.04 with SQLite 3.3.13 and some scripts (e.g. replaygain)
Comment 2 Casey Link 2008-06-16 00:29:53 UTC
Confirmed in Amaork 1.4.9.1.

Filtering does not work yet in Amarok 2.
Comment 3 Matt Rogers 2009-08-03 04:06:56 UTC
Thank you for taking the time to report this bug for Amarok. Amarok 1.4 is now unmaintained and will no longer see any improvements. Because of this, and the massive amount of changes Amarok has undergone throughout the 2.x series of releases, we are closing bugs that no longer apply to the 2.x series due to changes in functionality, the underlying architecture, or a conflict for the vision of Amarok 2.

We appreciate the time you took to provide feedback about Amarok 1.4 and will look forward to any feedback you may provided about Amarok 2. Thanks.