#beets

/

      • axion
        sampsyo: i mean does scrub support selecting files?
      • sampsyo
        Yes, it takes a query parameter like most other commands.
      • Do the docs not say that?
      • axion
        good. i suck at regex. i'll try to figure it out
      • ered has quit
      • sampsyo
        Cool, good luck :)
      • ered joined the channel
      • kpj
        axion: What's the problem with regex?
      • maybe something like "^[W-Zw-z].*" ?
      • storrgie joined the channel
      • ered has quit
      • ered joined the channel
      • axion
        lemme try
      • i thought i tried something similar
      • beet ls "^[W-Zw-z].*" returns nothing
      • kpj: ^
      • storrgie has quit
      • hrehf has quit
      • sampsyo
        axion: that's because that's not a regex query; you need to say something like beet ls field::regex
      • (see the query page in the docs)
      • ered has quit
      • ered joined the channel
      • _nyloc_ joined the channel
      • nyloc has quit
      • axion
        ok i got it, thanks guys
      • sampsyo: still there?
      • sampsyo: i did a beet update after my partial scrub and it worked. just finished the regex scrub and went to update: http://pastebin.com/raw.php?i=E9Ftmhgn
      • sampsyo
        axion: That's a bug; thanks for the report. I'll look into it.
      • axion
        sampsyo: ok. in the meantime i'm doing -AWC again :D
      • sampsyo
        Fwiw, an update after scrub should be unnecessary
      • Since scrub does not affect tags that beets tracks
      • axion
        sampsyo: interestingly only files that were scrubbed are seen by update then
      • sampsyo
        Not sure if I get it; are you saying beets loses track of non-scrubbed files?
      • axion
        sampsyo: all i'm saying is say i do "beet scrub [some regex]"...
      • then a generic "beet update" will only display output for the files filtered through the scrub.
      • with something like "disctitle => none"
      • and a subsequent update produces no output
      • so it must be doing something, no?
      • sampsyo
        Ah, cool, yes -- it's doing something, but just barely
      • Replacing the empty string with a null value, which is unimportant and should probably be skipped
      • Just unpleasant implementation details -- nothing substantial gained
      • axion
        makes me wonder why update failed then :)
      • sampsyo
        I can explain more if you're interested, but long story short, it doesn't do much
      • axion
        with a python dictionary error on an _important_ field
      • ok
      • no prob
      • sampsyo
        It's just a cleanup that's part of the update when *any* field changes
      • The albumartist field is adjusted in the case when it's missing to match the majority artist
      • duailibe joined the channel
      • duailibe has quit
      • Mineo has quit
      • Mineo joined the channel
      • misterswag has quit
      • DonAman has quit
      • DonAman joined the channel
      • axion has quit
      • axion joined the channel
      • axion has quit
      • axion joined the channel
      • axion
        sampsyo: i think i found another bug (another traceback) if you're interested
      • lad1337 joined the channel
      • lad1337 has quit
      • sampsyo
        axion: I <3 tracebacks
      • axion
        sampsyo: give me 5 mins. in the middle of a beets operation and db is locked
      • sampsyo
        Cool, take your time
      • axion
      • there was a stray file called 00.mp3 in the root of my music dir. i removed it from disk and db with rm -d. and ran beet fetchart again and got a different traceback, but i cant produce that one at the moment
      • that stray file is the " - " result though in that traceback
      • actually the traceback is identical...i thought it was different but its not
      • i could try beets-git version to be sure it wasnt fixed recently, my distro is using 1.3.0
      • gonna try a 'beet mv' first
      • heh that traceback probably isnt very helpful
      • other than it seems to be a filesystem/db inconsistency
      • _nyloc_ has quit
      • nyloc joined the channel
      • thunderrd has quit
      • thunderrd joined the channel
      • kpj
        axion: Sorry, I was already asleep ;-)
      • btw, is there any way to remove duplicates from the database?
      • axion: Which command did you use in the end?
      • sampsyo: If you don't mind, could you explain more?:-)
      • jbd_ joined the channel
      • jbd_ is now known as jbd
      • hrehf joined the channel
      • lad1337 joined the channel
      • jayme joined the channel
      • jayme has quit
      • ojdo joined the channel
      • Pelli joined the channel
      • duailibe joined the channel
      • lazka joined the channel
      • lad1337 has quit
      • hrehf has quit
      • storrgie joined the channel
      • lad1337 joined the channel
      • storrgie has quit
      • lad1337 has quit
      • thunderrd has quit
      • Pelli has quit
      • thunderrd joined the channel
      • lazka has quit
      • duailibe has quit
      • wahroc joined the channel
      • duailibe joined the channel
      • wahroc has quit
      • lad1337 joined the channel
      • lad1337 has quit
      • draz1n has quit
      • draz1n joined the channel
      • sampsyo
        kpj: have you looked at the duplicates plugin?
      • and of course -- but about what in particular?
      • NOTICE: [beets] pedros pushed 1 new commit to echonest: https://github.com/sampsyo/beets/commit/d4e58f91f88e2b8b70f826fcbd20b97308b59c70
      • NOTICE: beets/echonest d4e58f9 Pedro Silva: start refactoring echonest plugin...
      • duailibe has quit
      • Peio has quit
      • Peio joined the channel
      • kpj
        sampsyo: Uh, never heard about that, I'll check it out!
      • kpj has quit
      • joris joined the channel
      • NOTICE: [beets] sampsyo pushed 2 new commits to master: https://github.com/sampsyo/beets/compare/2e2e0b291973...733c633674f8
      • NOTICE: beets/master 6d07b7e Adrian Sampson: use _dirty.discard, not _dirty.remove...
      • NOTICE: beets/master 733c633 Adrian Sampson: clean up some string formatting
      • lad1337 joined the channel
      • NOTICE: [beets] sampsyo pushed 6 new commits to master: https://github.com/sampsyo/beets/compare/733c633674f8...41a6ccbac164
      • NOTICE: beets/master 4291932 Ross Ashley: Added ability to store comma delimited lists of genres using lastfm...
      • NOTICE: beets/master 514fa6c Ross Ashley: Removed some unused and commented out code.
      • NOTICE: beets/master 7c0d828 Ross Ashley: Replaced unnecessary code with one line.
      • lad1337 has quit
      • NOTICE: [beets] sampsyo pushed 2 new commits to master: https://github.com/sampsyo/beets/compare/41a6ccbac164...2aebec09288f
      • NOTICE: beets/master f35d7fe Adrian Sampson: multiple genres (#397): simplify implementation...
      • NOTICE: beets/master 2aebec0 Adrian Sampson: #397: shorter option name, docs, changlog...
      • lad1337 joined the channel
      • lad1337 has quit
      • kpj joined the channel
      • sampsyo: Can I somehow alter the way duplicates are found? The doc doesn't say so (I think) and "beet duplicates" does not find all of them.
      • sampsyo
        What do you have in mind? You can always hack the plugin to suit your needs.
      • kpj
        I have a couple of obvious duplicates (same title, artist, etc) but beet does not detect them
      • sampsyo
        it uses MBIDs
      • kpj
        can beet print the detected MBID for some file?
      • sampsyo
        beet ls -f $
      • sorry
      • beet ls -f '$mb_trackid' <your query here>
      • kpj
        It only returns an empty string
      • I noticed something weird though
      • sampsyo
        then the track doesn't have an MBID
      • kpj
        First path: /Compilations/Album/Song.mp3
      • Second path: /Compilations/Album 4540/Song.mp3
      • Is this the result of the autotagging?
      • sampsyo
        beets tries to disambiguate paths for identically-named albums: https://beets.readthedocs.org/en/v1.3.0/referen...
      • kpj
        so I have to use "beet move" for a bit