ShaneIsrael / fireshare

Self host your media and share with unique links

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

User can rename file whilst uploading

CrypticMetaphor opened this issue · comments

For public uploads, allowing a user to upload a file then edit the name would be a great benefit.

Apologies, not a bug, a feature request.

This is something I want to eventually add, but might require a bit more work than you'd expect so I don't know when I'll get around too it. The scan process is not tied to the upload process, and its the scan that enter your video into the database. That's why when you upload a video it doesn't immediately show up, its got to wait for the scan process to pick up the file and enter it into the database.

I'll have to think about how to approach this.

No programming knowledge, but would an alternative approach be when the file uploads, a prompt is raised to ask them to provide a title, but infact it renames the file instead?

@CrypticMetaphor That is an option that might work, but then your going to have files with spaces in the names which can on occasion cause issues in some file systems. Would need to test it though.

@CrypticMetaphor That is an option that might work, but then your going to have files with spaces in the names which can on occasion cause issues in some file systems. Would need to test it though.

What about a Automatic Replace System? So on Upload spaces get replaced with "_" or smth else and in the Frontend its still shown as a space