tamland / python-tidal

Python API for TIDAL music streaming service
GNU Lesser General Public License v3.0
413 stars 110 forks source link

[Question] Information about bitrate, file size #232

Closed GioF71 closed 8 months ago

GioF71 commented 9 months ago

Hello, I am opening a new issue even if we have another discussion running in my previous, because maybe this can interest others as well. Is the "bitrate" information available through the library? And file size as well.

Thank you!

tehkillerbee commented 9 months ago

Just added additional info to the stream metadata.

File size, I haven't seen but I'll take a look if it's available. Otherwise, it'll need to be calculated

GioF71 commented 9 months ago

Amazing, I'll have a look asap

tehkillerbee commented 8 months ago

FYI, bitrate is available as part of the stream, as you've discovered. File size is however not directly available and I do not see any easy way to obtain it.

GioF71 commented 8 months ago

Ok! File size was not really very important anyway, I am ok with bitrate and samplerate of course!