The %asciify{text} path template function and asciify_paths global option
are useful for these situations.http://beets.readthedocs.io/en/v1.4.6/reference/pathformat.html?highlight= asciify#template-functions http://beets.readthedocs.io/en/v1.4.6/reference/config. html?highlight=asciify_paths#asciify-paths On Thu, Apr 12, 2018 at 11:30 PM, Adrian Sampson <[email protected]> wrote: > A-ha! That’s very wise, Michael. > > Adrian > > On Apr 12, 2018, at 11:11 PM, Michael Quaintance < > [email protected]> wrote: > > I'm pretty sure this is because MusicBrainz has the artist ID for a-ha as > not a regular dash between the a and the ha. > > According to MusicBrainz: https://musicbrainz.org/ws/2/release/ > 181b9a01-0446-4601-99be-b011ab615631?inc=aliases% > 2Bartist-credits%2Bdiscids%2Blabels%2Brecordings > > 000001f0: 6234 3461 6430 6431 3938 3937 223e 3c6e b44ad0d19897"><n > > 00000200: 616d 653e 61e2 8090 6861 3c2f 6e61 6d65 ame>a...ha</name > > 00000210: 3e3c 736f 7274 2d6e 616d 653e 61e2 8090 ><sort-name>a... > > 00000220: 6861 3c2f 736f 7274 2d6e 616d 653e 3c61 ha</sort-name><a > > "a-ha" is 0x61e2 8090 6861 > > So "find" handles this perfectly because you are not specifying the > offending dash, but "ls" has a little more trouble, because you are and > what you are supplying is not the same. > > Similarly, "beets" is not matching what I guess to be an em-dash either. > > -Michael > > On Thu, Apr 12, 2018 at 7:14 PM, Bearcat Şándor <[email protected]> > wrote: > >> That was my first thought too, however this has been my main audio/beets >> library drive for a year now and the band "a-ha" is the *only* one affected >> out of 1,651 artists. It's certainly not the only file that i have with a >> hyphen in it, but it is the only file (band) that beets handles with a >> hyphen in the name. >> >> On Thursday, April 12, 2018 at 7:54:59 PM UTC-6, Adrian Sampson wrote: >>> >>> Weird. I’m at an utter loss to explain why `find` can see your files but >>> `ls` cannot. Could the drive be corrupted? >>> >>> On Apr 12, 2018, at 9:38 PM, Bearcat Şándor <[email protected]> wrote: >>> >>> Importing any songs from the band "a-ha" almost removes them from my >>> drive. They can't be found with ls or beets but they can be found via find: >>> >>> >>> a directory listing of the a-ha directory only shows one album >>> >>> moonwind@jaguarundi audio % ls a-ha >>> >>> 2004-the_singles__1984-2004 >>> >>> >>> The directory is empty to 'ls' >>> >>> moonwind@jaguarundi audio % ls a-ha/2004-the_singles__1984-2004 >>> >>> artwork >>> >>> >>> However, 'find' sees all 3 albums that i have in there >>> >>> audio % find ./ -name "*take_on_me*" >>> >>> ./a‐ha/1985-hunting_high_and_low/01-01-take_on_me.wv >>> ./a‐ha/2004-the_singles__1984-2004_[5050467-6225-2-4]/01-01- >>> take_on_me.wv >>> ./a‐ha/2017-mtv_unplugged_-_summer_solstice/02-10-take_on_me >>> _(mtv_unplugged).wv >>> >>> >>> beets doesn't see any even though all of them were imported by beets >>> >>> moonwind@jaguarundi audio % beet ls artist:a-ha >>> moonwind@jaguarundi audio % beet ls -a albumartist:a-ha >>> moonwind@jaguarundi audio % beet ls artist:"a-ha" >>> >>> moonwind@jaguarundi audio % >>> >>> >>> This drive is a regular usb drive with no special file systems (modern >>> ntfs as it came in the box) >>> >>> >>> >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "beets" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "beets" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to the Google Groups > "beets" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups > "beets" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "beets" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
