Inrixia / Floatplane-Downloader

Project for automatically organizing and downloading Floatplane videos for plex.
https://monitor.spookelton.net/public-dashboards/db0aec66747b4950b01b128916eb737e
GNU Affero General Public License v3.0
152 stars 41 forks source link

Unknown file found #108

Closed ThomasHineXYZ closed 2 years ago

ThomasHineXYZ commented 2 years ago

I keep getting this spammed in the log for the container:

Checking for files older than 14 days in /fp/videos for deletion...

!!WARNING!! - Found file for deletion in /fp/videos that is not a mp4, nfo or png file!
This could indicate that the root video folder is not being detected properly.
Please report this as a Issue at https://github.com/Inrixia/Floatplane-Downloader/issues/new

After doing some digging I managed to find this in my Linus Tech Tips folder: .fuse_hidden0003e98f0000037e

There was another one with a similar name in TechLinked.

One improvement I might suggest is to output the list of files that is causing this issue, it would make debugging this kind of thing easier for the future.

Inrixia commented 2 years ago

This is a good suggestion and something I will add. This is in there because deletion is done by the file modified date and looks for nfo, png and mp4's. So if you point it at a directory that contains other things it may indicate its seeing files it shouldn't.

Not a great implementation but the best way to handle it for now.

I'll definitely add a file printout for ones its seeing though. Thanks

ThomasHineXYZ commented 2 years ago

Holy cow, I wasn't expecting a reply so quickly. You're on the ball. Thank you.

I just deleted both of those .fuse_hidden* files and the container starts up fine now. I guess this issue was more to just bring it to your attention and to give that suggestion.

If it helps at all for debugging, I used this command when I changed to the /fp/videos directory: ls -lah -I "*.mp4" -I "*.nfo" -I "*.png" *

Inrixia commented 2 years ago

Done in https://github.com/Inrixia/Floatplane-Downloader/commit/1e46966953302632e9ecd22124524afdc23fcbf5