TagStudio
TagStudio copied to clipboard
Drag and drop files in and out of TagStudio
Added the ability to drop files into TagStudio, which adds them to the library
A popup will ask how to resume when some/all of the files names already exist in the librarys root folder
- Skip
- Override
- Rename
- Cancel
I put it in the modal folder because i plan/ned to add a window that allows you to import files from discord, google, etc since these are links and they need extra logic to either download or safe them as text.
I used the method described in #75
Edit: Dragging out of TagStudio was added
doesnt work for me:
Traceback (most recent call last):
File "/Users/yed/dev/python/TagStudio/tagstudio/tag_studio.py", line 9, in <module>
from src.qt.ts_qt import QtDriver
File "/Users/yed/dev/python/TagStudio/tagstudio/src/qt/ts_qt.py", line 85, in <module>
from src.qt.modals import (
File "/Users/yed/dev/python/TagStudio/tagstudio/src/qt/modals/drop_import.py", line 30
f"The files {", ".join(map(lambda url:url.fileName(),duplicate_filesnames))} have filenames that already exist in the library folder."
^
SyntaxError: f-string: expecting '}'
Seems like using double quotes inside the same quotes isnt supported in Python 3.10. Could be easy to fix it to keep the compatibility with that version.
beside the error it works as expected, nice job.
Forgot about folders. They work now
Added progress bars, helpfull especially for large amounts of or large files
Added drag out of window support
#75
i give up, no more formatting
i give up, no more formatting
I'll take a look at it, I've been fighting with the MyPy stuff myself
I apologize for the delay on getting this pulled. Thank you for all your work on this!