Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'beet list -p path::' does not work with characters like 'ç', 'ö' #1482

Closed
sakoula opened this issue May 30, 2015 · 2 comments
Closed

'beet list -p path::' does not work with characters like 'ç', 'ö' #1482

sakoula opened this issue May 30, 2015 · 2 comments

Comments

@sakoula
Copy link

sakoula commented May 30, 2015

Hi my configuration:

OSX 10.10.3
Python 2.7.6 (default, Sep  9 2014, 15:04:36)
#beet version
beets version 1.3.13
plugins: embedart, fetchart, importadded, info, lastgenre, lyrics, web

import like: beet import --timid '/data/MusicLib/Röyksopp/Late Night Tales - Röyksopp'

/data/MusicLib/Röyksopp/Late Night Tales - Röyksopp (19 items)
Tagging:
    Röyksopp - Late Night Tales: Röyksopp
URL:
    http://musicbrainz.org/release/e3929e5c-2287-43e9-879d-adc155e910c6
(Similarity: 100.0%) (CD, 2013, GB, LateNightTales)
 * Daddy’s Groove
...
...
...
[A]pply, More candidates, Skip, Use as-is, as Tracks, Group albums,
Enter search, enter Id, aBort? A
#>

Now I am having problems quering using the word 'Röyksopp'

This works:

#>beet -v ls -p path::'Late'
user configuration: /Users/xxx/.config/beets/config.yaml
data directory: /Users/xxx/.config/beets
plugin paths:
Sending event: pluginload
library database: /Volumes/data/Beets/library.blb
library directory: /Volumes/data/Beets
Sending event: library_opened
/Volumes/data/Beets/Röyksopp/Late Night Tales_ Röyksopp/11 Stranger on the Shore.mp3
Now I cannot list the files using the word 'Röyksopp'
...
/Volumes/data/Beets/Röyksopp/Late Night Tales_ Röyksopp/16 The Somnabulist.mp3
Sending event: cli_exit
#>

The following do not work:

#>beet -v ls -p path::'/Volumes/data/Beets/Röyksopp'
user configuration: /Users/xxx/.config/beets/config.yaml
data directory: /Users/xxx/.config/beets
plugin paths:
Sending event: pluginload
library database: /Volumes/data/Beets/library.blb
library directory: /Volumes/data/Beets
Sending event: library_opened
Sending event: cli_exit
#>

A similar query works:

#>beet -v ls -p path::'/Volumes/data/Beets/Hawkwind'
user configuration: /Users/xxx/.config/beets/config.yaml
data directory: /Users/xxx/.config/beets
plugin paths:
Sending event: pluginload
library database: /Volumes/data/Beets/library.blb
library directory: /Volumes/data/Beets
Sending event: library_opened
/Volumes/data/Beets/Hawkwind/Space Ritual/01 Earth Calling.mp3
...
/Volumes/data/Beets/Hawkwind/Space Ritual/20 Born to Go.mp3
Sending event: cli_exit
#>

I assume is something related to pattern matching in python. Is there a way to fix it?

Thanks!!!

@sakoula sakoula changed the title 'beet list -p path::' does not work with non ascii characters 'beet list -p path::' does not work with characters like 'ç', 'ö' May 30, 2015
@sampsyo
Copy link
Member

sampsyo commented May 30, 2015

Thank you for the thorough report! This should be fixed above.

@sakoula
Copy link
Author

sakoula commented May 31, 2015

thanks for the fix and the great software!!!!

LordSputnik pushed a commit to LordSputnik/beets that referenced this issue Jul 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants