Claudio Ortolina
8350ffd3a4
To get artist info, try mbid and then artist name
2024-12-04 21:07:56 +00:00
Claudio Ortolina
39b925676f
Use NimbleOptions to validate MusicBrainz.Config
2024-12-04 15:01:52 +00:00
Claudio Ortolina
8c5f199773
Add nimble_options as a direct dependency
2024-12-04 14:59:08 +00:00
Claudio Ortolina
774c8d6006
Use NimbleOptions to validate LastFm.Config
2024-12-04 14:58:05 +00:00
Claudio Ortolina
24319b1bff
Annotate templates with TODOs for markup replacement
...
To open source the project down the line, it makes sense to have either
everything custom or using OSS components in order to keep licensing as
simple as possible.
2024-12-04 14:43:07 +00:00
Claudio Ortolina
a279d6175e
Remove obsolete comment
2024-12-04 10:45:35 +00:00
Claudio Ortolina
e1dc2bfc7f
Make MusicBrainz user agent configurable
2024-12-04 10:44:31 +00:00
Claudio Ortolina
7575e5978a
Extract config for MusicBrainz
2024-12-04 10:33:41 +00:00
Claudio Ortolina
14518870a0
Make LastFm user agent configurable
2024-12-04 10:07:25 +00:00
Claudio Ortolina
0cae20a390
Add LastFm.Config test
...
It might seem redundant, but helps with refactoring down the line.
2024-12-04 09:58:42 +00:00
Claudio Ortolina
740e94fdf6
Use <.async_result> component
...
Removes need for custom conditional logic, and covers all needed states.
2024-12-03 23:34:25 +00:00
Claudio Ortolina
4dcd0f2dd0
Update dependencies
...
phoenix 1.7.15 => 1.7.17
phoenix_live_view 1.0.0-rc.8 => 1.0.0
2024-12-03 23:05:13 +00:00
Claudio Ortolina
2321cc8cfb
Attempt at preventing layout shifts in record show pages
2024-12-03 22:54:53 +00:00
Claudio Ortolina
2c055acad6
Fix error in rendering an artist with empty bio
...
Includes a refactor for a helper to test for play count
2024-12-03 22:26:41 +00:00
Claudio Ortolina
bef38967a1
Stub artist show test
2024-12-03 20:16:35 +00:00
Claudio Ortolina
9f2335cfa0
Use correct LastFm api module
2024-12-03 20:14:48 +00:00
Claudio Ortolina
61cda5a62c
Explicitly set auto-refresh config for LastFm refresh
2024-12-03 19:58:17 +00:00
Claudio Ortolina
f58a5e83b7
Revert "Reduce pool size in test"
...
This reverts commit 7a26b6bda6 .
2024-12-03 19:42:52 +00:00
Claudio Ortolina
907f480bc1
Improve formatting of bio read more link and license block
...
Prefer inline Tailwind classes for consistency with rest of the codebase
2024-12-03 19:37:37 +00:00
Claudio Ortolina
acee09aab0
Format bio sections
2024-12-03 16:25:16 +00:00
Claudio Ortolina
cf85c78852
Improve readability of artist bio
2024-12-03 10:37:37 +00:00
Claudio Ortolina
371ed511cc
Render bio with <details> element
2024-12-03 10:01:22 +00:00
Claudio Ortolina
26e96994a4
Use full content for bio
2024-12-03 09:58:24 +00:00
Claudio Ortolina
4dc1228a2d
Show "Biography not available" notice
2024-12-03 09:55:20 +00:00
Claudio Ortolina
6519a8b3e8
Space out bio a bit more
2024-12-03 09:51:43 +00:00
Claudio Ortolina
2c520be102
Tighten typography on artist h1 page
2024-12-03 09:51:03 +00:00
Claudio Ortolina
b301a5da7d
Display number of scrobbles per artist
2024-12-03 09:47:52 +00:00
Claudio Ortolina
669d2558d4
No need to expose LastFm.Config.new/1
2024-12-03 09:40:17 +00:00
Claudio Ortolina
916c381ed0
Add TODO
2024-12-03 09:40:17 +00:00
Claudio Ortolina
ab7a8eeb5a
Add play count to LastFm.Artist
2024-12-03 09:40:17 +00:00
Claudio Ortolina
2094c1cf7b
Use LastFm.Config where needed
2024-12-03 09:18:55 +00:00
Claudio Ortolina
b49434b789
Extract LastFm.Config module
2024-12-03 08:56:23 +00:00
Claudio Ortolina
9d02a8e00b
Render bio with linebreaks
2024-12-03 00:33:37 +00:00
Claudio Ortolina
d1190e31f9
Navigate to artist page instead of patching
2024-12-03 00:15:24 +00:00
Claudio Ortolina
ccefc6e697
Update to new interpolation syntax
...
Includes a fix to a brittle test that failed due to changes in the
number of linebreaks.
2024-12-03 00:08:32 +00:00
Claudio Ortolina
9448e77e23
Update dependencies
...
phoenix 1.7.14 => 1.7.15
phoenix_live_view 1.0.0-rc.7 => 1.0.0-rc.8
2024-12-02 23:21:30 +00:00
Claudio Ortolina
2fde159e85
Add links to artist page
2024-12-02 21:43:58 +00:00
Claudio Ortolina
b42b4744a0
Display records in artist page
2024-12-02 21:40:13 +00:00
Claudio Ortolina
797f30b9a4
Tag Last.fm errors as errors
...
Because they're always returned as 200 responses with custom error codes
(sigh).
2024-12-02 21:36:18 +00:00
Claudio Ortolina
18df3683fc
Render a minimal artist page
2024-12-02 17:35:47 +00:00
Claudio Ortolina
0eaaab7d00
Not working
2024-12-02 12:40:09 +00:00
Claudio Ortolina
2d721774d6
Can fetch an artist info from Last.fm
2024-12-02 12:40:07 +00:00
Claudio Ortolina
b63b3a633a
Can fetch records by a specific artist
2024-12-02 10:55:12 +00:00
Claudio Ortolina
963b3c826f
Extract Records.Artist
2024-12-02 10:55:12 +00:00
Claudio Ortolina
eda0245c2c
Format code
2024-12-02 09:38:20 +00:00
Claudio Ortolina
3733ef74ba
Add batch function to remove artist IDs
2024-12-02 09:37:00 +00:00
Claudio Ortolina
228b4bc440
Use musicbrainz_id as a key for embedded artists
2024-12-02 09:23:13 +00:00
Claudio Ortolina
46b912709d
Use Mix.Shell.IO helpers to print msgs to the terminal
2024-12-01 15:31:51 +00:00
Claudio Ortolina
53d2082ad0
Ensure flyctl is installed before running Mix tasks
2024-12-01 12:32:21 +00:00
Claudio Ortolina
c4cafa0bf6
Extract fly helpers for Mix tasks
2024-12-01 12:27:07 +00:00