You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You must use the search before you create an issue!
I did use the search, I promise!
What happened?
I tried downlading an album with many artists and it failed with OSError: [Errno 36] File name too long . This is name of album folder which it tried to generate using format_album='Albums/{album_artist} - {album_title}{album_explicit} [{album_year}] [tidal-{album_id}]/{track_volume_num_optional}{album_track_num}. {artist_name} - {track_title}{album_explicit}' was
Johann Sebastian Bach, Pyotr Ilyich Tchaikovsky, Gioachino Rossini, Felix Mendelssohn, Georges Bizet, Nikolai Rimsky-Korsakov, Giuseppe Verdi, Georg Friedrich Haendel, Classical Music 50 of the Best, Gabriel Fauré, Pietro Mascagni, John Williams, Adolphe - Рождественская музыка [2019] [tidal-123778216] which has 303 characters. Even using just the {album_artist} -{album_title} was 277 characters. I run zfs which has limit of 1023 for file length, but I suspect that python has lower limit.
There is a workaround when downloading specific album (update config just for it) but does not work when downloading favorite albums or artist.
The solution I was thinking about is to allow passing max length to format, e.g. say format_album='Albums/{album_artist:100} - {album_title}{album_explicit} [{album_year}] [tidal-{album_id}]/{track_volume_num_optional}{album_track_num}. {artist_name} - {track_title}{album_explicit}' where :100 would mean max length
Good workaround would be to skip such albums, log them and continue with following ones
Version App
v0.24.6
What operating system do you use?
Linux
Version OS
NixOS 25.5
Relevant log output
OSError: [Errno 36] File name too long: '/home/mathematician314/download/Albums/Johann Sebastian Bach, Pyotr Ilyich Tchaikovsky, Gioachino Rossini, Felix Mendelssohn, Georges Bizet, NikolaiRimsky-Korsakov, Giuseppe Verdi, Georg Friedrich Haendel, Classical Music 50 of the Best, Gabriel Fauré, Pietro Mascagni, John Williams, Adolphe - Рождественская музыка [2019] [tidal-123778216]'
You must use the search before you create an issue!
What happened?
I tried downlading an album with many artists and it failed with
OSError: [Errno 36] File name too long
. This is name of album folder which it tried to generate usingformat_album='Albums/{album_artist} - {album_title}{album_explicit} [{album_year}] [tidal-{album_id}]/{track_volume_num_optional}{album_track_num}. {artist_name} - {track_title}{album_explicit}'
wasJohann Sebastian Bach, Pyotr Ilyich Tchaikovsky, Gioachino Rossini, Felix Mendelssohn, Georges Bizet, Nikolai Rimsky-Korsakov, Giuseppe Verdi, Georg Friedrich Haendel, Classical Music 50 of the Best, Gabriel Fauré, Pietro Mascagni, John Williams, Adolphe - Рождественская музыка [2019] [tidal-123778216]
which has 303 characters. Even using just the{album_artist} -{album_title}
was 277 characters. I run zfs which has limit of 1023 for file length, but I suspect that python has lower limit.There is a workaround when downloading specific album (update config just for it) but does not work when downloading favorite albums or artist.
The solution I was thinking about is to allow passing max length to format, e.g. say
format_album='Albums/{album_artist:100} - {album_title}{album_explicit} [{album_year}] [tidal-{album_id}]/{track_volume_num_optional}{album_track_num}. {artist_name} - {track_title}{album_explicit}'
where:100
would mean max lengthGood workaround would be to skip such albums, log them and continue with following ones
Version App
v0.24.6
What operating system do you use?
Linux
Version OS
NixOS 25.5
Relevant log output
Your settings
The text was updated successfully, but these errors were encountered: