TeamB 2438 Posted January 11, 2020 Posted January 11, 2020 I deleted a few movies from my system using the Emby web client. They were removed from Emby and did not show up any more. I did not think much more of it, this was months ago. Then today I check and there are a bunch of these files still on my hard drive. Emby seems to be ignoring them as a re scan does not pick them back up and put them back in the library. Is this something new? Like an ignore instead of delete function or something? I was under the impression if a files was on disk Emby would try and import it. But I have 20 or so files that Emby is ignoring and the only thing I can put it down to is that I once in the past deleted theses files.
samuelqwe 317 Posted January 11, 2020 Posted January 11, 2020 Depending on the OS, Emby puts deleted videos in the trash folder. This may be what is happening here.
TeamB 2438 Posted January 11, 2020 Author Posted January 11, 2020 Nope, windows, and they are not in the recycle bin, they are still in the media lib dir. The problem us not that they were not deleted from disk, perhaps they were at the point of deletion and I have accidentally restored then from my back up, it is not emby us now ignoring them.
TeamB 2438 Posted January 11, 2020 Author Posted January 11, 2020 (edited) I have a file J:\Media\Kids Movies\Stuart Little (1999)\Stuart Little.mkv I deleted this movie a while ago as it was a movie the kids said they did not want any more. It was removed form Emby. But the file is now either been restored or was never actually removed form disk, either option is ok. Perhaps I restored from the Recycle bin or I restored form my backups by accident. Not a big deal. However Emby does not "see" the "Stuart Little.mkv" file, if I view the folders I can see the Folder "Stuart Little (1999)" but as far as Emby is concerned the folder is empty. The movies also does not show up in the movies view. A re scan does not pick up the movie file either. Is there some active ignoring going on here? Edited January 11, 2020 by TeamB
TeamB 2438 Posted January 11, 2020 Author Posted January 11, 2020 The really weird thing is if I rename the file Stuart Little.mkv - > movie.mkv It now scans in the movie fine, and the super weird thing, if I rename it back movie.mkv -> Stuart Little.mkv then it also scans it in correctly. The only thing I can think of is in the process of delete there is some sort of internal ignore for file being deleted added to Emby.
Luke 42083 Posted January 11, 2020 Posted January 11, 2020 There isn't an internal ignore like that but yea this is strange. If you rename one of those folders and run a scan, is the movie picked up then?
TeamB 2438 Posted January 11, 2020 Author Posted January 11, 2020 yes if I rename the folder it is picked up and scanned in Tested on one of the other movies doing the same thing J:\Media\Kids Movies\Alvin and the Chipmunks - Chipwrecked (2011)\movie.mkv renamed to (removed the - ) from the path name J:\Media\Kids Movies\Alvin and the Chipmunks Chipwrecked (2011)\movie.mkv I am not able to reproduce this with my test system, this is happening on my main system.
Luke 42083 Posted January 11, 2020 Posted January 11, 2020 Strange. I wonder if the other ones are still hanging around in the database. That's all I can think of.
TeamB 2438 Posted January 11, 2020 Author Posted January 11, 2020 any particulat place in the db I should look?
Luke 42083 Posted January 11, 2020 Posted January 11, 2020 Yea you could look in the MediaItems table and do a query based on Path. All i can think of is that maybe they're still in there, which is why they don't get re-added by the library scan.
TeamB 2438 Posted January 11, 2020 Author Posted January 11, 2020 yes there is something there this data is from the library.db select * from MediaItems where Path like '%The Santa Clause (1994)%' This item is not showing as a movie, it is showing as a Folder entry and a rescan will not refresh or add the movie to Emby. This is TSV, copy past to excel might retain colums Id guid type data ParentId Path StartDate EndDate IsMovie CommunityRating CustomRating IndexNumber IsLocked Name OfficialRating MediaType Overview ParentIndexNumber PremiereDate ProductionYear Genres SortName ForcedSortName RunTimeTicks DateCreated DateModified IsSeries IsRepeat PreferredMetadataLanguage PreferredMetadataCountryCode DateLastRefreshed DateLastSaved IsInMixedFolder LockedFields Studios Tags IsFolder InheritedParentalRatingValue UnratedType TopParentId CriticRating PresentationUniqueKey OriginalTitle IsVirtualItem SeriesName UserDataKey Album AlbumId SeriesId Tagline ProviderIds Images ProductionLocations TotalBitrate ExtraType Artists AlbumArtists SeriesPresentationUniqueKey ExternalId OwnerId Width Height Size Container Status DisplayOrder ThreeDFormat UserDataKeyId 31793 ՞Ta 3 27159 J:\Media\Kids Movies\The Santa Clause (1994) 0 The Santa Clause (1994) santa clause (0000001994) 1547676392 -62135596800 1578696298 1578696298 0 1 0 9 27159 d09ed5b011c6ecd613f354eb611e0617 0 d09ed5b0-11c6-ecd6-13f3-54eb611e0617 %MetadataPath%\library\d0\d09ed5b011c6ecd613f354eb611e0617\poster.jpg*637142930989406498*Primary*0*0*null 37174 31918 "L0B " 5 "{""TmdbCollectionName"":""The Santa Clause Collection"",""RemoteTrailers"":[{""Url"":""https://www.youtube.com/watch?v=Bx8FX7etF_8"",""Name"":""The Santa Clause (1994) Trailer #1 | Movieclips Classic Trailers""}]}" 31793 J:\Media\Kids Movies\The Santa Clause (1994)\The Santa Clause 1994 720p BRRip x264 aac vice.mp4 6.40000009536743 0 The Santa Clause AU-G 1 When a man inadvertently makes Santa fall off of his roof on Christmas Eve, he finds himself magically recruited to take his place. 784386000 1994 Comedy|Drama|Family|Fantasy santa clause 58283516670 1547647200 1355003906 1576320036 1576320036 0 Walt Disney Pictures|Hollywood Pictures hide-shaun 0 1 0 27159 74.0 4cb8fe8e30aaed894219e3ed09f9b3b8 The Santa Clause 0 11395 What if your dad was Santa Claus? Imdb=tt0111070|Tmdb=11395|TmdbCollection=53159 %MetadataPath%\library\4c\4cb8fe8e30aaed894219e3ed09f9b3b8\poster.jpg*636832736200055082*Primary*0*0*null|%MetadataPath%\library\4c\4cb8fe8e30aaed894219e3ed09f9b3b8\backdrop.jpg*636832736203336331*Backdrop*0*0*null|%MetadataPath%\library\4c\4cb8fe8e30aaed894219e3ed09f9b3b8\logo.png*636832736223492498*Logo*0*0*null|%MetadataPath%\library\4c\4cb8fe8e30aaed894219e3ed09f9b3b8\landscape.jpg*636832736240054937*Thumb*0*0*null United States of America 2950356 1280 696 2149464419 mp4 133
Luke 42083 Posted January 11, 2020 Posted January 11, 2020 Right and it still exists so it's not getting flushed out. I'll take a look. Thanks.
Solution TeamB 2438 Posted January 11, 2020 Author Solution Posted January 11, 2020 you can stop, I found the issue, turns out I am stupid. I had set up some tags to ignore for my account using the "Restrict Items With Tags". Instead of deleting I was adding hide-from-me tags so I don't have to see the kids movies. So in effect there was some internal ignore happening, BY MY HAND!!! oops, sorry for the time sync. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now