Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Temporary storage for network file editing #417

Open
Morethanevil opened this issue Dec 15, 2023 · 6 comments
Open

Temporary storage for network file editing #417

Morethanevil opened this issue Dec 15, 2023 · 6 comments
Labels
feature New feature or request
Milestone

Comments

@Morethanevil
Copy link

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...

@nlogozzo
Copy link
Member

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.

@Morethanevil
Copy link
Author

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"

@nlogozzo
Copy link
Member

nlogozzo commented Dec 15, 2023

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

@nlogozzo nlogozzo added the feature New feature or request label Dec 15, 2023
@nlogozzo nlogozzo changed the title Very slow processing on network mount Temporary storage for network file editing Dec 15, 2023
@Morethanevil
Copy link
Author

Thanks :)

@nlogozzo nlogozzo added this to the V2024.1.0 milestone Jan 5, 2024
@nlogozzo
Copy link
Member

nlogozzo commented Jan 5, 2024

@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

@Morethanevil
Copy link
Author

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 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants