[running beets version 1.4.9, Python version 3.7.3, raspbian buster]
Hi all, feeling better about the beets music DB i’ve swept together, and now pushing towards playing some tunes on a Raspberry (RPI3)! after browsing thru bunches of posts describing routes from beets via mopidy, mpd and now bpd, my picture looks like the following:
any corrections/clarifications appreciated.
bpd certainly seems to me the cleanest route as of this writing, but if others have had success (esp on RPI’s), i’d be curious.
hitting bpd (via the gpmc client) seems to work. this is what
the screen looks like for me:
but as soon as i try to PLAY a tune (select a track, then Ctl-UpArrow) i’m hitting an error:
Traceback (most recent call last):
File "/home/pi/.local/lib/python3.7/site-packages/beets/util/bluelet.py", line 343, in run
value = event.fire()
File "/home/pi/.local/lib/python3.7/site-packages/beets/util/bluelet.py", line 508, in fire
return self.conn.sock.recv(self.bufsize)
ConnectionResetError: [Errno 104] Connection reset by peer
this seems related to an issue arising in bpd testing. the issue describes a nice hack that passes port=0
to cause the OS to assign a port!? And it seems as if this feature was
merged, but i’m not sure whether the merge was only into the test suite, not bluelet.py
?
And my uncertainty about this now makes me unclear about pip installs: it seems beets test
directory is not installed, and so i can’t nose test/test_player.py
or similar? i guess i need to install/build from source for this?
Finally, bpd does seem very slow (~ 5min on RPI3 over USB-mounted FAST SSD) and i’m wondering why? giving the beet -vv
debug argument makes it seem as if it’s working hard to rebuild its directory tree
, eg:
bpd: Building directory tree...
the: "The Cannonball Adderley Quintet feat. Nat Adderley" -> "Cannonball Adderley Quintet feat. Nat Adderley, The"
the: "The Cannonball Adderley Quintet feat. Nat Adderley" -> "Cannonball Adderley Quintet feat. Nat Adderley, The"
the: "The Cannonball Adderley Quintet feat. Nat Adderley" -> "Cannonball Adderley Quintet feat. Nat Adderley, The"
...
shouldn’t it be possible to save this state?
thanks for any hints!