Closed Wim1975 closed 1 year ago
Ditto. e.g. try ripping https://deezer.page.link/qCypJkAcAZoJTv3G7
Found it...
It's in media.py I replaced
if len(formatted_folder) > 120:
formatted_folder = f"{formatted_folder[:120]}..."
with
if len(formatted_folder) > 250:
formatted_folder = f"{formatted_folder[:250]}"
And it works... I will test if this works, as I haven't checked the rest of the code and there might be other issues increasing the value and removing the three dots, but I could download an album that failed before, so fingers crossed !!
Works for me too.
where would this be located on windows please
For me C:\Users\[username]\AppData\Local\Programs\Python\Python38\Lib\site-packages\streamrip
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe the bug
When the title of an album on Qobuz is too long, like in the example below : Downloading The Doctor (Comfortably Numb) [The Wall Work In Progress, Pt. 2, 1979] [Programme 1] [Band Demo] (2011 Remaster) Streamrip is truncating the path (to 125 characters?) and trying to add "..." (128 characters) and then tries to create the folder D:\Q\Pink Floyd\The Doctor (Comfortably Numb) [The Wall Work In Progress, Pt. 2, 1979] [Programme 1] [Band Demo] (2011 Remas...
but Windows doesn't like ellipsis "..." (or any dots!) at the end and removes it anyway, so the folder created becomes : D:\Q\Pink Floyd\The Doctor (Comfortably Numb) [The Wall Work In Progress, Pt. 2, 1979] [Programme 1] [Band Demo] (2011 Remas
Next Streamrip is trying to save the cover.jpg in D:\Q\Pink Floyd\The Doctor (Comfortably Numb) [The Wall Work In Progress, Pt. 2, 1979] [Programme 1] [Band Demo] (2011 Remas...\cover.jpg But of course this doesn't work as a folder with that ellipsis doesn't exist.
Can one please remove that truncation? (Windows can be set to accept 260 characters and this truncated path is now around 125 (128 with dots) also longer pathnames are possible by adding a key in registry so truncating isn't necessary at all) Thank you
Command Used
Debug Traceback
Config File
Operating System
Win (10 and 11)
streamrip version
1.9.5
Screenshots and recordings
No response
Additional context
No response