#beets

/

      • DexterLB joined the channel
      • NOTICE: [beets] jrobeson pushed 2 new commits to master: https://github.com/beetbox/beets/compare/39430764f3e8...bb58a8508368
      • NOTICE: beets/master ae21d3d Johnny Robeson: install imagemagick on appveyor (via cholatey)
      • NOTICE: beets/master bb58a85 Johnny Robeson: Merge pull request #2146 from jrobeson/add-imagemagick-to-appveyor...
      • sampsyo
        jrobeson: Yeah, WTF-8 seems to be a nice solution to Windows weirdness… I looked into it when the path stuff started heating up, but I don't think it does much for us currently. :/
      • And is the lyrics thing broken? It's been a very long time since I've run it.
      • jrobeson
        i just wanted to know you you execute it
      • sampsyo
        JesseW: Interesting article! I do tend to encourage people to add to the docs whenever they seem confused, so it's nice to see someone else came to the same conclusion.
      • jrobeson
        it imports test_lyrics just fine when i go inside the test dir and do python3 script, but then it can't find _common
      • sampsyo
        Huh…
      • jrobeson
        so i just wondered how you normally ran it
      • JesseW
        yeah, WTFM seemed like something you were already doing, but might be able to do slightly more consciously
      • jrobeson waves to sampsyo
      • jrobeson
        where are you now?
      • sampsyo bookmarks the article to read the whole thing later
      • JesseW
        and to the degree that you or any of the other core devs are feeling burnt out, or overwhelmed, it seemed like that essay might provide some suggestions of better ways to think about it
      • jrobeson
        did you make it back "home" yet? :)
      • sampsyo
        jrobeson: New York again! Yes, thankfully.
      • JesseW
        welcome back to NY
      • the essay is a bit on the long side, yeah
      • jrobeson
        uggh.. i'm burnt out sorta, but it's because of all the stuff I don't know hwo to proceed on!
      • lots of little blockers
      • like the fact that i can't install pygobject in a virtualenv because it can't be installed via pip.. and they really need to provide a freakin wheel
      • sampsyo
        Oddly, it looks like running that script under python 2 works fine, but under python 3 it triggers the _common import error. Probably the new relative import restriction?
      • jrobeson
        sampsyo, ah, i never never clear about that.. but that makes sense!
      • sampsyo
        Yeah, that's pretty tragic. :(
      • jrobeson
        also it deps on pycairo which still uses the waf buildsystem.. not even autotools stuff..
      • it's hilarious that iw ant autotools, because I hate autotools
      • sampsyo, something i'm been noodling over.. I wonder about being able to replace all print_/print calls with say self.io.print() or whatever so we can drive it from the tests without trying to capture the output? is that a crazy idea?
      • also.. i kinda wondered in a similar vein about runnin beets directly from the web interface.. as in.. the full beets.. drag an album into a web browser window and be able to import it into your library (although just capturing the paths, not actually uploading the files)
      • sampsyo
        1. That's not a crazy idea. It's related to a refactoring I've been wanting to do where we use a big "Context" object to encapsulate global state.
      • That would contain the config, obvi, but also that kind of stuff where the tests need to interpose.
      • jrobeson
        we can't do the 2nd properly without the first
      • sampsyo
        2. And I want that too! There's some discussion about such things in the issue tracker around the "new web API" thrust that happened some time ago.
      • jrobeson
        with helpers like the existing ui.colorize(), we can do the right thing in many cases for ewb output
      • sampsyo
        Yeah, in an ideal world, the `ui` module is the only part that's CLI-specific. A web interface could reuse everything but that—for example, with a new `ImportSession` subclass.
      • jrobeson
        i think those things itself make it easy to make a non resty app..
      • that is, something more tradtional, without some SPA thing
      • i was going to propose this in particular at some point "This probably means rolling the web API into beets core instead of keeping it in a plugin."
      • sampsyo
        It very well might.
      • jrobeson
        i always like writing with jinja!
      • aka twig in phpland
      • well i also use jinja directly in ansible tho
      • freakout_ joined the channel
      • freakout has quit
      • thunderrd_ has quit
      • fling joined the channel
      • Vacuity_ joined the channel
      • Vacuity has quit
      • jpabq has quit
      • jpabq joined the channel
      • untitaker joined the channel
      • thunderrd joined the channel
      • robink_ joined the channel
      • robink_ joined the channel
      • lazka joined the channel
      • thunderrd has quit
      • samb1 joined the channel
      • i went looking for a beet emoji, sadly there is not one..
      • thunderrd joined the channel
      • NOTICE: [beets] avibrazil closed issue #2147: beet hangs with 100% CPU when using complex paths and inline plugin https://github.com/beetbox/beets/issues/2147
      • NOTICE: [beets] jrobeson reopened issue #2147: beet hangs with 100% CPU when using complex paths and inline plugin https://github.com/beetbox/beets/issues/2147
      • fling joined the channel
      • chrustler has quit
      • chrustler joined the channel
      • lazka has quit
      • lazka joined the channel
      • sec^nd joined the channel
      • thunderrd has quit
      • Nomads has quit
      • asdil12 has quit
      • asdil12 joined the channel
      • Qann joined the channel
      • alastairp has quit
      • johtso has quit
      • johtso joined the channel
      • Qann has quit
      • alastairp joined the channel
      • Qann joined the channel
      • thunderrd joined the channel
      • lazka has quit
      • qpdb has quit
      • qpdb joined the channel
      • JesseW joined the channel
      • watsonalgas has quit
      • necronian has quit
      • watsonalgas joined the channel
      • fling joined the channel
      • zotherstupidguy joined the channel
      • necronian joined the channel
      • magnulu has quit
      • magnulu joined the channel
      • choki joined the channel
      • choki
        hello sampsyo you there?
      • sampsyo
        Hi! Yep.
      • choki
        oh hi
      • can you help me?
      • :D
      • I tried: `beet edit --all --album joel goldsmith` and changed albumtype: 'soundtrack' then apply and I get: `No such file or directory while moving /media/manu/DATA1/home/manu/Musik/Joel Goldsmith/SGA/cover.jpg to /home/manu/Music/Sountracks/Joel Goldsmith/SGA/cover.jpg
      • I want to move joel goldsmith tracks to soundtrack folder
      • sampsyo
        FWIW, anyone can answer general questions like this -- I don't have special powers, so feel free to just ask away in IRC. :)
      • choki
        but you're god :D
      • sampsyo
        Looks like you may have deleted a file?
      • You might try removing and re-importing that album to indicate to beets that it doesn't have a cover.jpg anymore.
      • choki
        sampsyo: i even treid to delete artpath but no chance
      • or do I have to set it to None?
      • sampsyo
        Maybe try the remove and re-import thing? Could be less fiddly.
      • choki
        if it would be that easy :D
      • srsly why does beets care about that file
      • i just want to move it -.-
      • sampsyo
        It's not too crazy -- beets was tracking a file there, but at some point, it was deleted. :/
      • choki
        sampsyo: i dont like how beets deals with it, or: It would be better to never touch something by hand in there again :D
      • sampsyo
        This issue suggests that we just log missing files but don't abort in situations like this: https://github.com/beetbox/beets/issues/1926
      • Yeah, that's the general philosophy---you're supposed to avoid touching stuff yourself and instead use the `beet` commands.
      • Not too unlike using `git mv` instead of `mv` and such when you're working with a VCS.
      • choki
        sampsyo: oh you even said: "You can remove the file with beet rm."
      • sampsyo
        Unfortunately, I don't think that will work for album art… just the main music files.
      • choki
        sampsyo: what if i remove albumart/fetchart/embedart plugins?
      • if i dont use them beets wouldn't cry that much haha
      • sampsyo
        That won't change the current state of the database, which is tracking that image file.
      • choki
        oh
      • i just removed them and import again
      • it is the better approach like you said
      • sampsyo: how big is the embedded art beets embeds?
      • i mean it can be as big as it wants to?
      • sampsyo
        It doesn't dictate that unless you specify a `maxwidth` setting.
      • choki
        sampsyo: how big images do you use? :D
      • sampsyo
        I don't set a maxwidth—I haven't had a problem with the default from the data sources.
      • choki
        you never set one manually as all your albums you listen to have "official" status
      • where is jrobeson today?
      • jrobeson
        howdy
      • i was rereading a bunch about 3.x due to eevee's new python 3 posts, and there's a lot of stuff that is surely going to lighten our load eventually. i was surprised
      • Freso
        heh. At first glance, I thought choki asked sampsyo if he was new here. :D
      • choki
        oh no eevee
      • he rants about php like ... -.-
      • jrobeson
        i'm grew up coding php. and she sure does write a lot of true things about it
      • php was my first language
      • i generally pick she when talking about them
      • Freso
        Python was my first language.
      • Then I realised I couldn't get a cheap webhost that would run Python code. :( So I switched to PHP (and Drupal).
      • (This was 10-15 years ago.)
      • jrobeson
        i started with phpnuke/postnuke
      • i wanted a local punk music site, but then ended up becoming a core dev instead
      • our structure was nice.. minimal globals (to get around OO limitations), and an OO like API
      • Freso
        Tough luck.
      • jrobeson
        it's not much different than frameworks today structurally
      • when i first learned this stuff, we never coded a mix of html + php, so i got a decent foundation
      • choki
        why is beet update not doing its work?
      • it always shows me the same output