#beets

/

      • chrustler_ joined the channel
      • chrustler has quit
      • nathdwek has quit
      • NOTICE: [beets] diomekes opened pull request #2350: play: add --random option (master...play-random) https://github.com/beetbox/beets/pull/2350
      • NOTICE: [beets] diomekes closed pull request #2304: Add "play" option to "random" plugin (master...master) https://github.com/beetbox/beets/pull/2304
      • darwin
        vin: fwiw pretty sure your question is in the FQ
      • FAQ
      • nnddff is now known as lengtche
      • GALL0 joined the channel
      • freakout has quit
      • freakout joined the channel
      • Freso has quit
      • Vacuity joined the channel
      • Vacuity_ has quit
      • Mowgli joined the channel
      • beat joined the channel
      • thunderrd has quit
      • thunderrd joined the channel
      • icebal joined the channel
      • icebal joined the channel
      • Freso joined the channel
      • sv2241 has quit
      • sv2241 joined the channel
      • vin
        darwin: thanks for the help. O wait...
      • vin has left the channel
      • trepta joined the channel
      • trepta has quit
      • sv2241 has quit
      • thunderrd has quit
      • anshuman73 has quit
      • anshuman73 joined the channel
      • anshuman73 has quit
      • anshuman73 joined the channel
      • anshuman73 has quit
      • anshuman73 joined the channel
      • Mowgli joined the channel
      • lengtche
        That was a harsh way of saying thank you. 0_o
      • ojdo has quit
      • ojdo joined the channel
      • Ooze has quit
      • Ooze joined the channel
      • thunderrd joined the channel
      • thunderrd has quit
      • Ooze has quit
      • Ooze joined the channel
      • Freso has quit
      • Mowgli joined the channel
      • BlackMaria has quit
      • axion has quit
      • axion joined the channel
      • NOTICE: [beets] sampsyo pushed 12 new commits to master: https://github.com/beetbox/beets/compare/8e29a3ffcb3b...d447d3e65527
      • NOTICE: beets/master f93ee3a Susanna Maria Hepp: First hack of ignoring already tagged items
      • NOTICE: beets/master bbaad2f Susanna Maria Hepp: Introduce force option in acousticbrainz
      • NOTICE: beets/master c632949 Susanna Maria Hepp: Changes suggested by @Kraymer
      • NOTICE: [beets] sampsyo closed issue #2347: acousticbrainz: Ignore already tagged items https://github.com/beetbox/beets/issues/2347
      • NOTICE: [beets] lukash opened issue #2351: Incorrect handling of file read errors in the scrub plugin https://github.com/beetbox/beets/issues/2351
      • BlackMaria joined the channel
      • trepta joined the channel
      • NOTICE: [beets] sampsyo pushed 4 new commits to master: https://github.com/beetbox/beets/compare/d447d3e65527...a41487243096
      • NOTICE: beets/master 9b0a867 Adrian Sampson: Expand some comments in choose_match
      • NOTICE: beets/master 3578f0d Adrian Sampson: Introduce a new Proposal type for tag results...
      • NOTICE: beets/master 22610b7 Adrian Sampson: Refactor extra choice return value...
      • sv2241 joined the channel
      • sv2241 has quit
      • sv2241 joined the channel
      • NOTICE: [beets] sampsyo pushed 7 new commits to master: https://github.com/beetbox/beets/compare/a41487243096...a357cc4e1a43
      • NOTICE: beets/master 7c6eafa Adrian Sampson: Refactor manual search options to use Proposal...
      • NOTICE: beets/master 6c82597 Adrian Sampson: Tolerate missing AlbumInfo.mediums field
      • NOTICE: beets/master 2f6538a Adrian Sampson: Refactor search options to ordinary choices...
      • NOTICE: beetbox/beets#4903 (master - a357cc4 : Adrian Sampson): The build was broken.
      • NOTICE: Change view : https://github.com/beetbox/beets/compare/a41487243096...a357cc4e1a43
      • NOTICE: Build details : https://travis-ci.org/beetbox/beets/builds/187285189
      • NOTICE: [beets] sampsyo pushed 6 new commits to master: https://github.com/beetbox/beets/compare/a357cc4e1a43...c98972894a24
      • NOTICE: beets/master e5a1261 Adrian Sampson: Subsume `abort` action into declarative style
      • NOTICE: beets/master 8763be5 Adrian Sampson: Revert "Fix tests for new prompt order"...
      • NOTICE: beets/master 9dff841 Adrian Sampson: Fix class anme of PromptChoice
      • NOTICE: [beets] sampsyo pushed 1 new commit to master: https://github.com/beetbox/beets/commit/63f50287d589aec5fef0000a357aad9548f35f9c
      • NOTICE: beets/master 63f5028 Adrian Sampson: Rename some choice-related variables...
      • NOTICE: beetbox/beets#4904 (master - c989728 : Adrian Sampson): The build was fixed.
      • NOTICE: Change view : https://github.com/beetbox/beets/compare/a357cc4e1a43...c98972894a24
      • NOTICE: Build details : https://travis-ci.org/beetbox/beets/builds/187290672
      • sampsyo
        Hi! If anyone's curious and likes thinking about the internals of the beets importer, I've done a bunch of refactoring today that might entertain you.
      • The idea was to make the built-in prompt choices (use as-is, skip, abort, etc.) work more like the plugin-provided PromptChoice callbacks.
      • This has two benefits: plugins are more powerful (c.f. #2327), and the internals are now more consistent and have less duplication.
      • I'm particularly delighted that the `choose_candidate` function in `beets.ui.commands` has gotten rid of a *lot* of copypasta.
      • There are several points there where the set of prompt actions was mostly the same, with a few small differences, and we needed an identical chain of if/elif/elif/elif tests to select between them.
      • Now, the prompt choices are declared *once* (in _get_choices) and they can be reused across all of the possible prompts that can show up in the importer.
      • I realize now (belatedly) that I should have used a PR so I could show y'all what was changing easily. But regardless, here's a compare view! https://github.com/beetbox/beets/compare/9b0a86...
      • Let me know if you have any feedback!
      • NOTICE: beetbox/beets#4905 (master - 63f5028 : Adrian Sampson): The build was fixed.
      • NOTICE: Change view : https://github.com/beetbox/beets/compare/c98972894a24...63f50287d589
      • NOTICE: Build details : https://travis-ci.org/beetbox/beets/builds/187291784
      • darwin
        that's great, sampsyo, I recall when looking into adding [P]rint, the person who did had some challenges regarding that area of the code
      • sampsyo
        Yeah, I hope this should be easier to understand now! And more capable, of course.
      • lengtche
        you say that they can be reused across all possible prompts. does that mean that adding prompt choices when an album exists is now pluggable?
      • nevermind. looked at the logs and doesn't look like it.
      • GALL0
        is it samps yo | sam Sio? sampsyo
      • simukis_ joined the channel
      • simukis_
        Hi, is there any way I could ask beets to consider particular tracks to be a different file?
      • sampsyo
        lengtche: That should be possible, using the fields on the `task` passed to the choice handler.
      • simukis_
        I guess I could just whip out sqlite3 and tweak pathes manually, but I’m hoping for a more manual solution
      • sampsyo
        simukis_: Hmm, I don't think I understand. What exactly are you looking to do?
      • simukis_
        well, I got myself flac tracks of album I imported previously, but not all of them.
      • I would like to “upgrade” :D
      • behaviour-wise I suspect beets would simply find matching tracks that I’ve already imported and just change the `path` column of those to the new flacs
      • I suppose I’ll just edit the sqlite db directly
      • sampsyo
        simukis_: That's what the "keep new" option does in the importer when a conflict is detected.
      • NOTICE: [beets] sampsyo pushed 3 new commits to master: https://github.com/beetbox/beets/compare/63f50287d589...413666a82531
      • NOTICE: beets/master c7351d9 Adrian Sampson: Flip an erroneous execute bit
      • NOTICE: beets/master 24d4363 Adrian Sampson: Slightly more helpful UnreadableFileError (#2351)...
      • NOTICE: beets/master 413666a Adrian Sampson: Fix #2351: crash in scrub on MediaFile errors
      • lengtche
        sampsyo: do you mean via plugin or modifying the code itself?
      • NOTICE: [beets] SusannaMaria opened pull request #2352: Mosaicplugin (master...Mosaicplugin) https://github.com/beetbox/beets/pull/2352
      • simukis_
        sampsyo: that option does not appear for partial album imports?
      • sampsyo: instead its telling me to pick between keeping either the old album or the new album with partial tracks
      • simukis_ tries `as Tracks` option
      • no suggestion either
      • sampsyo
        lengtche: Via a plugin.
      • simukis_: Oh, are you looking to merge together old and new tracks from the same album? https://github.com/beetbox/beets/issues/112
      • lengtche
        sampsyo: Oh, thank you! I didn't think of doing that. The FAQ's appending prompt choices entry made me think it wasn't possible.