ShaneIsrael / fireshare

Self host your media and share with unique links
GNU General Public License v3.0
642 stars 39 forks source link

User can rename file whilst uploading #229

Open CrypticMetaphor opened 7 months ago

CrypticMetaphor commented 7 months ago

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

CrypticMetaphor commented 7 months ago

Apologies, not a bug, a feature request.

ShaneIsrael commented 7 months ago

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.

CrypticMetaphor commented 7 months ago

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?

ShaneIsrael commented 7 months ago

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

t0g3pii commented 7 months ago

@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