smart playlist is not loading when selecting songs by location

Bug #1056314 reported by Vojtěch Polášek
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Exaile
Confirmed
Medium
Unassigned

Bug Description

I have collection of my songs, separated into several folders. I want to create smart playlist of files based on their location.
I have managed to create such a playlist but there are mixed conditions - interpret and location. Now it doesn't work - If i try to create playlists using just location condition, the playlist is created but when I press enter on it, it doesn't do anything and prints traceback(see attached log).
I am blind user, but this shouldn't matter here.
I am running exaile 3.3.0 dev from your PPA on ubuntu 12.04 32 bit fully upgraded.
I expect playlist to be created :-)

Revision history for this message
Vojtěch Polášek (krecoun) wrote :
Revision history for this message
Dustin Spicuzza (dustin-virtualroadside) wrote :

I don't believe your traceback is related to the issue you are reporting -- though I will look into fixing that as well.

After some experimentation, it looks like the location must be specified in the form of a URI. So for example, on Windows the URI would be like this:

    file:///C:/Music/Other

Or on a *nix system, it probably looks like this:

    file:///home/user/Music

Additionally, you have to use 'contains', and not 'is' for the matching condition, as the matched path is matching against the full file URI -- so location would be matching against file:///home/user/Music/filename.ogg

This is definitely unintuitive, and should be fixed to use paths that users are more used to, and the terminology should be adjusted so that it makes sense. Let me know if changing the location as suggested above works for you for now, and we'll try to make it more intuitive soon.

Changed in exaile:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Vojtěch Polášek (krecoun) wrote :

I use "contains" not "is". Still not working. When I use interpret "contains" something, it works. But not with location. I don't use any special characters.

Revision history for this message
Vojtěch Polášek (krecoun) wrote :

Well, sometimes even if I select interpret "contains" something, the list refuses to open. Should I submit another log? I don't know for what to search.

Revision history for this message
Vojtěch Polášek (krecoun) wrote :

This happened to me again when trying to add songs based on artist. I guess there is some problem with song tags? maybe... I got similar traceback with missing split attribute.

Revision history for this message
Dustin Spicuzza (dustin-virtualroadside) wrote :

The split() error is a separate error, and I've placed it in https://bugs.launchpad.net/exaile/+bug/1060021 and fixed it. I will keep this bug open because the file search behavior is unintuitive and should be fixed.

Changed in exaile:
milestone: none → 3.x
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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