tidekeeper icon indicating copy to clipboard operation
tidekeeper copied to clipboard

[BUG]: Atmos tracks download as a video in MP4 extension

Open manishjeenwal opened this issue 6 months ago • 4 comments

Which command?

tidekeeper

Tidekeeper version or commit

latest main

Platform

Windows 11

Steps to reproduce

Hi

When downloading Atmos tracks, its downloading them in MP4 extension as a video. 
Now I could just rename it to .M4A extension but that doesnt fix the ID3 tags as they are missing.


When I was using monochrome.tf to download, the tracks were all in M4A extension like other tracks with the dolby atmos suffix and correctly tagged as well.

Full output / traceback

NA

Anything else?

No response

manishjeenwal avatar May 21 '26 01:05 manishjeenwal

Fixed this in latest main.

Atmos track downloads should now save as .m4a instead of .mp4, so music apps should treat them like audio files instead of video files. I also tightened the tagging step so if tags cannot be written, Tidekeeper will say that instead of making it look like everything worked normally.

Thanks for catching this.

OpenNerdz avatar May 21 '26 01:05 OpenNerdz

Thanks for the quick fixes so far.

It fixed the extension issue but tagging still fails for all tracks. Try this album and you will see it. I tested multiple albums.

https://tidal.com/album/219465631

WARNING:root:Unable to write metadata for G:\SortingPile\Download/The Sweet Escape/Wind It Up (Dolby Atmos) [Dolby Atmos].m4a: 'NoneType' object does not support item assignment [INFO] Downloaded 'Wind It Up (Dolby Atmos)', but metadata tagging was skipped: 'NoneType' object does not support item assignment

manishjeenwal avatar May 21 '26 01:05 manishjeenwal

I tested the album you linked and reproduced the tagging problem.

The latest main now creates the missing M4A tag container before writing metadata, instead of just warning after tagging fails.

I tested one track from that album after the fix and it saved as .m4a with title/album/artist/cover tags present.

Appreciate the exact album link, that made it easy to verify.

OpenNerdz avatar May 21 '26 02:05 OpenNerdz

yes, its working great now. Thank you!

manishjeenwal avatar May 21 '26 02:05 manishjeenwal