Temporary storage for network file editing
Morethanevil opened this issue · 6 comments
First, thanks for this easy to use and powerful tagger. It was a missing piece since I migrated to Linux. A very good MP3Tag-replacement and it works with FLAC too :)
I wanted to edit my files on my Ubuntu homeserver. On my desktop, I use Fedora 39 KDE and installed tagger via flatpak. Latest version is 2023.11.3. I granted all system files access, mentioned in this similar issue. It does not crash, but it takes about 5 minutes for 4 files.
I tried to copy over these FLAC to my system and edit them directly. 35 Files in 6 seconds.
It does not matter if I only want to edit artist or track, or if I want to add covers...
That's just the nature of network mounts unfortunately :/
I tried to copy over these FLAC to my system and edit them directly. 35 Files in 6 seconds.
this would be my recommendation as bad as it is...
Another thing you could try is installing Tagger from source, you can look at the AUR package, instead of running from flatpak which my add a slowdown as it needs to "portalize" the network mount.
Is there a way to add a "tmp -dir" solution? Tagger will create a small tmp directory, copy x MB over, modifies the file and writes them back. This way it could be more responsive. Would be a "workaround"
We could definitely implement that, however, we would need a robust API that detects network drives/stores over regular local files.
I will look into this
Thanks :)
@Morethanevil How long does it take you to copy the files from the network share to a local location?
I feel like Tagger going through the process of lets say someone opening a folder with 100 files, copying them to a temp dir, and uploading them back on save will take the same time as Tagger does now editing the files directly off the share...
Any input on this feature? @DaPigGuy
It does not take long, I have 2,5Gbit LAN 😅
How about caching the files before saving?
Edit a file, press save, tagger makes a copy to temp, saves and writes back. Should be quick imo
Or caching when opening a folder. 100 files with 4MB size take around 6 minutes with gigabit LAN for caching 🤔