Commit graph

21 commits

Author SHA1 Message Date
Danielle McLean fd7866ed14
Try both readpicture and albumart, prefer the former 2024-05-17 19:46:10 +10:00
Danielle McLean 569372d4e2
Add methods for calling MPD's albumart command 2024-05-17 19:46:04 +10:00
Danielle McLean 8ad255856e
Extend cache TTL now external caches are supported 2024-05-14 16:07:43 +10:00
Danielle McLean 4a2ac29d30
Use more conventional Redis key separators for album cache 2024-05-14 15:09:20 +10:00
Danielle McLean a471b77c55
Avoid crashing if cache URL has no namespace 2024-05-14 14:07:25 +10:00
Danielle McLean 55d82c72c3
Support MPD_NOW_PLAYABLE_CACHE setting (Redis or Memcached) 2024-05-14 13:25:13 +10:00
Danielle McLean b2f28de116
Support newer PyObjC by explicitly converting Paths to str 2024-05-14 13:23:41 +10:00
Danielle McLean 9fca1d566e
Support MusicBrainz release track ID
I still don't totally understand when MusicBrainz uses a track ID and
when it uses a release track ID - they're both displayed as the
"MusicBrainz Track ID" tag in Picard, despite being treated as different
tags by everything else - but supporting both is easy enough.
2024-05-14 10:06:39 +10:00
Danielle McLean 1caf4a184c
Cache 'no artwork', rather than repeatedly populating the cache with None 2024-05-09 12:12:54 +10:00
Danielle McLean f7fc453c50
Don't crash if readpicture returns no image bytes 2024-05-09 12:10:22 +10:00
Danielle McLean 9b8988cf41
Fix path to mpd/logo.svg 2023-12-06 14:39:04 +11:00
Danielle McLean 3372180a97
Enable seeking to specific points in the current song 2023-12-06 13:54:40 +11:00
Danielle McLean 04a976f6f3
Support persistent track IDs (64-bit ints) 2023-12-06 12:27:24 +11:00
Danielle McLean 28da4da69f
Pass through more simple media item info to MacOS 2023-12-06 12:02:13 +11:00
Danielle McLean eb7509a4e0
Whoops, correctly call MpdStateListener.start() 2023-12-06 11:54:28 +11:00
Danielle McLean 095c099a38
Use the same environment variables as mpc does 2023-12-06 11:42:50 +11:00
Danielle McLean 9ff488d807
Make most song info optional, to support untagged music 2023-12-06 10:54:51 +11:00
Danielle McLean ffc399290f
Safely cache artwork for tracks without expected tags 2023-12-02 14:47:50 +11:00
Danielle McLean 5a3ddd570d
Fix some types in cocoa.py so they work with the stubs 2023-11-27 16:52:00 +11:00
Danielle McLean a673f2ef90
Initial commit of source - working, but needs stubs for Cocoa 2023-11-27 15:49:33 +11:00
Danielle McLean da90e64dac
Add CoreFoundationEventLoop directly to avoid pulling in ALL of PyObjC 2023-11-27 10:43:24 +11:00