Add final_path and download_quality to callback objects

This commit is contained in:
Xoconoch
2025-08-11 08:32:54 -06:00
parent 4031c2ff96
commit afe88172ec
6 changed files with 90 additions and 15 deletions

View File

@@ -566,7 +566,9 @@ Indicates that the track has been processed successfully.
"spotify": "4u7EnebtmKWzANvK9IClu8"
},
"convert_to": "flac",
"bitrate": "1411"
"bitrate": "1411",
"final_path": "/music/Queen/A Night at the Opera/07. Bohemian Rhapsody.flac",
"download_quality": "OGG_320"
},
"current_track": 1,
"total_tracks": 1,
@@ -574,6 +576,8 @@ Indicates that the track has been processed successfully.
}
```
Note: When a single-track operation is performed (not part of an album/playlist), the `summary` field may be populated. In that case, it can also include `final_path` and `download_quality` as additional convenience fields mirroring `status_info`.
## `albumCallbackObject` Examples
An `albumCallbackObject` provides status updates for a whole album.
@@ -882,7 +886,8 @@ The `done` status for a playlist includes a summary of all track operations.
],
"total_successful": 1,
"total_skipped": 0,
"total_failed": 1
"total_failed": 1,
"m3u_path": "/playlists/Classic Rock Anthems.m3u"
},
"ids": {
"spotify": "37i9dQZF1DX1rVvRgjX59F"