1182 Commits

Author SHA1 Message Date
Rafael Moraes a989d9fefa Include index and total for music-video media fetch 3.1 2026-04-24 12:17:19 -03:00
Rafael Moraes fd3b6216c9 Use error() for URL parse errors 2026-04-24 12:08:24 -03:00
Rafael Moraes 84c21c0013 Pass total=1 when fetching single Apple Music song 2026-04-24 12:06:49 -03:00
Rafael Moraes aca3339b16 Remove string fallback for media_index 2026-04-24 12:04:52 -03:00
Rafael Moraes 6d6f9f4441 Provide index=0 to _get_song_media call 2026-04-24 12:01:51 -03:00
Rafael Moraes fe98bdb42c Process download items inline, remove queue 2026-04-24 11:55:35 -03:00
Rafael Moraes 7c8b20d8f3 Include track index/total in media objects 2026-04-24 11:55:11 -03:00
Rafael Moraes 6232493eed Add index and total fields to AppleMusicMedia 2026-04-24 11:54:57 -03:00
Rafael Moraes 09997bd6a1 Document --wrapper-m3u8-ip CLI option 2026-04-24 11:36:32 -03:00
Rafael Moraes 54c318908c Bump version to 3.1 2026-04-24 11:33:59 -03:00
Rafael Moraes dc6f2e8506 Use ExceptionPrettyPrinter and .exception logging 2026-04-24 11:26:21 -03:00
Rafael Moraes eff41a40f5 Await get_wrapper_m3u8 call 2026-04-24 11:22:33 -03:00
Rafael Moraes b00163a71c Add optional m3u8 wrapper support 2026-04-24 11:18:01 -03:00
Rafael Moraes 9f60043375 Add wrapper m3u8 IP and consolidate use_wrapper 2026-04-24 11:17:34 -03:00
Rafael Moraes 004ecd7c64 Guard against missing response on HTTP errors 2026-04-24 11:17:04 -03:00
Rafael Moraes 581bb7e094 Make GamdlApiResponseError.content optional 2026-04-24 11:15:57 -03:00
Rafael Moraes 5fd10d897e Extract cover URL formatting to helper 2026-04-23 11:45:57 -03:00
Rafael Moraes d7a83bab50 Use playlist_tags artist/title/track fields 3.0 2026-04-21 11:55:48 -03:00
Rafael Moraes 4aa70733d6 Handle URL parse errors and optional tracebacks 2026-04-21 11:50:55 -03:00
Rafael Moraes 7063900dd4 Check for stream_info before setting staged_path 2026-04-21 11:48:44 -03:00
Rafael Moraes ff5298c0ae Omit message in synced lyrics error 2026-04-21 11:44:17 -03:00
Rafael Moraes 3c54368f03 Refactor media parsing into helper 2026-04-21 11:43:13 -03:00
Rafael Moraes 905bbfd5ca Pass synced_lyrics_only to skip_stream_info 2026-04-21 11:33:17 -03:00
Rafael Moraes d84bc2c695 Add skip_stream_info option to SongInterface 2026-04-21 11:32:50 -03:00
Rafael Moraes 82ab9827eb Clarify yt-dlp usage in README 2026-04-21 11:26:42 -03:00
Rafael Moraes ff5dc4f20c Mention mp4decrypt in Music Videos entry 2026-04-21 10:51:11 -03:00
Rafael Moraes a99707666b Refactor README 2026-04-21 10:49:51 -03:00
Rafael Moraes 91db55adc3 Require mp4decrypt for music videos 2026-04-21 10:49:44 -03:00
Rafael Moraes ae8d4a27aa Remove ffmpeg decryption_key support in music_video 2026-04-21 10:48:41 -03:00
Rafael Moraes cfc4673082 Add SQLite database registry for downloaded media 2026-04-21 10:44:33 -03:00
Rafael Moraes 64a20f030a Fail on flat-filter excluded media
Introduce GamdlDownloaderFlatFilterExcludedError and raise it during AppleMusicDownloader processing when item.media.flat_filter_result is truthy. This aborts further processing/download for media excluded by the flat filter and includes the media id in the error message. Also import the new exception in the downloader module.
2026-04-21 10:36:08 -03:00
Rafael Moraes c4536963f8 Update README usage example for new API 2026-04-21 10:21:51 -03:00
Rafael Moraes 0b318156a4 Bump package version to 3.0 2026-04-21 10:19:09 -03:00
Rafael Moraes 30b3f36905 Refactor CLI module 2026-04-21 10:15:49 -03:00
Rafael Moraes 9b76ab90a7 Refine codec callback type hints 2026-04-21 10:14:33 -03:00
Rafael Moraes f3dfd3d9d8 Pass full playlist dict to ask_codec_function 2026-04-21 10:11:24 -03:00
Rafael Moraes 95c6e6dce7 Pass media metadata to artist selector 2026-04-21 10:03:58 -03:00
Rafael Moraes 2fd7ad9334 Support async and optional callbacks in interfaces 2026-04-21 09:00:41 -03:00
Rafael Moraes 97e8fd2223 Log cleanup success only when performed 2026-04-21 08:32:43 -03:00
Rafael Moraes 119a39c4fe Refactor imports in downloader.py 2026-04-20 11:57:32 -03:00
Rafael Moraes f9d62ee84b Refactor downloader module 2026-04-20 11:56:32 -03:00
Rafael Moraes 939e9459ef Replace _base with base in interfaces 2026-04-20 10:26:39 -03:00
Rafael Moraes de76ce898e Use _base.apple_music_api for AppleMusic calls 2026-04-20 10:23:27 -03:00
Rafael Moraes 5bbe87500a Use composition for AppleMusic interfaces 2026-04-20 10:22:56 -03:00
Rafael Moraes 61ea24bfdd Remove extra tags fetching and preview parsing 2026-04-20 09:55:57 -03:00
Rafael Moraes b5837bdca5 Fix ALAC duration and timescale handling 2026-04-20 09:53:38 -03:00
Rafael Moraes b21a9cc35b Add httpx-retries, structlog & dev deps 2026-04-20 09:49:19 -03:00
Rafael Moraes fe6fe54880 Merge pull request #289 from SiddharthManthan/media-length
fix (alac): resolution for incorrect duration tags in ALAC downloads
2026-04-20 09:33:15 -03:00
Rafael Moraes 56748797eb Re-export exceptions in api package 2026-04-19 19:08:42 -03:00
Rafael Moraes 9d504a34b0 Add exports for gamdl.interface package 2026-04-19 19:08:18 -03:00