Closed dorphell closed 11 years ago
After a closer look, I see that fly_id3.c
uses /tmp
which is indeed a different filesystem from my audio_file_dir
destiation.
I suggest we use the same base directory (audio_file_dir
) and just create a temp file in there. It's only used for tagging so it's present for less than a second.
I'm having the same issue. I tried copying the original revision code into fly_id3.c and rebuilding. Still had the error.
i was able to solve the (18:Invalid cross-device link) issue by undoing silverfunk's changes to the fly_id3.c
and fly_mp4.c
files in src
directory.
Then rebuilding.
ID3 tagging works fine after reverting the code in those two files.
I do not code in C, so I don't trust myself correct the code.
Hope this helps.
i use mkstemp() w/ settings->audioFileDir (audio_file_dir from ~/.config/pianobarfly/config) on my master branch. See how that works for you.
Is there a fix for this? The latest revision still has this error. Thanks!
What do you mean by "latest revision"?
Ah sorry, should have been more clear. I just did a git clone yesterday of https://github.com/ghuntley/pianobarfly.git
the fix is on the "develop" branch
Sweet. I can confirm that fix works on my end. Thanks!
Some change made in the last month or so is causing this error:
Could not overwrite the audio file (18:Invalid cross-device link).
Failed to write the tag.
I'm on the current git branch from today (2011.12.25).
I don't know if anyone else is getting this specific error but I don't have a unique audio_file_dir path. No hard or soft links in the path. I know the same path used to work fine for tagging in September.
Note that pianobarfly has no issue saving the audio file, just tagging at the end.
I suspect this is an upstream defect with
rename()
in fly_id3.c. Can anyone reproduce this?