Jump to content


Photo

4.2.0.40 do not delete Files


  • Please log in to reply
16 replies to this topic

#1 Jogi1986 OFFLINE  

Jogi1986

    Advanced Member

  • Members
  • 39 posts
  • Local time: 03:16 AM

Posted 31 July 2019 - 01:07 PM

Today I have made the update to the version 4.2.0.40 under MacOS.

Since then Emby does not delete any more movies if I want to delete them. Instead, Emby shifts her into the trash.
This was not the case with the old versions and I thought that was just fine. Is there somewhere to put it a way that Emby deletes the movies directly?

  • Anon28109 likes this

#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 134444 posts
  • Local time: 09:16 PM

Posted 31 July 2019 - 01:09 PM

Options are always possible for the future, but we think this is the best default behavior. Thanks.

#3 Jogi1986 OFFLINE  

Jogi1986

    Advanced Member

  • Members
  • 39 posts
  • Local time: 03:16 AM

Posted 31 July 2019 - 01:10 PM

I personally liked the direct delete better. But thanks anyway



#4 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 134444 posts
  • Local time: 09:16 PM

Posted 31 July 2019 - 01:13 PM

There is an open feature request to make this an option. @denz will know where it is.
  • Jogi1986 likes this

#5 Anon28109 OFFLINE  

Anon28109

    Advanced Member

  • Members
  • 113 posts
  • Local time: 09:16 PM

Posted 13 August 2019 - 02:42 PM

 

Today I have made the update to the version 4.2.0.40 under MacOS.

Since then Emby does not delete any more movies if I want to delete them. Instead, Emby shifts her into the trash.
This was not the case with the old versions and I thought that was just fine. Is there somewhere to put it a way that Emby deletes the movies directly?

 

 

For me (with my media on a network drive) delete in the latest version only removes the file from emby's library, it remains on disk I assume because remote files don't go into Trash. I figured this was a bug that'd be fixed. If it's intended that's inconvenient – Emby's interface was great for pruning my collection.


Edited by Anon28109, 13 August 2019 - 02:44 PM.


#6 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 134444 posts
  • Local time: 09:16 PM

Posted 13 August 2019 - 02:45 PM

If it can't be sent to the recycle bin then it will use the same delete function as before.



#7 Anon28109 OFFLINE  

Anon28109

    Advanced Member

  • Members
  • 113 posts
  • Local time: 09:16 PM

Posted 13 August 2019 - 02:48 PM

If it can't be sent to the recycle bin then it will use the same delete function as before.

 

Hmm. Delete entry in Emby's log but nothing on the NAS, no permission errors either. 

Info HttpServer: HTTP DELETE http://mini:8096/emby/Items/20314. UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.2 Safari/605.1.15

Deleting manually on the Mac where Emby runs works fine.



#8 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 134444 posts
  • Local time: 09:16 PM

Posted 13 August 2019 - 02:51 PM

What were you deleting?



#9 Jogi1986 OFFLINE  

Jogi1986

    Advanced Member

  • Members
  • 39 posts
  • Local time: 03:16 AM

Posted 13 August 2019 - 02:55 PM

I will deleting Home Videos on my Apple TV. When I go on the Apple TV to the delete Button, it do nothing.

When I go, by normal Videos on the Delete Button on Apple TV, the Video ist deleting from the Library 



#10 Anon28109 OFFLINE  

Anon28109

    Advanced Member

  • Members
  • 113 posts
  • Local time: 09:16 PM

Posted 13 August 2019 - 02:55 PM

A movie, with the "Delete" button on the movie's item page, e.g.  

http://mini:8096/web/index.html#!/item/item.html?id=...

Edited by Anon28109, 13 August 2019 - 02:56 PM.


#11 Anon28109 OFFLINE  

Anon28109

    Advanced Member

  • Members
  • 113 posts
  • Local time: 09:16 PM

Posted 13 August 2019 - 03:23 PM

Here's a fuller excerpt of the log file if it's helpful:

2019-08-13 14:43:37.419 Info App: Removing item from database, Type: Movie, Name: My Movie, Path: /Volumes/Download/Movies/My Movie (2018)/My Movie (2018).mkv, Id: 12345
2019-08-13 14:43:37.419 Info App: Deleting path /Users/default/.config/emby-server/metadata/library/dc/dc8c99d5981f9e57fab653992678e1b
2019-08-13 14:43:37.445 Info App: Deleting path /Volumes/Download/Movies/My Movie (2018)


#12 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 134444 posts
  • Local time: 09:16 PM

Posted 14 August 2019 - 12:41 AM

You said it was remote content?



#13 Anon28109 OFFLINE  

Anon28109

    Advanced Member

  • Members
  • 113 posts
  • Local time: 09:16 PM

Posted 14 August 2019 - 06:11 AM

Correct. 

/Volumes is OS X's version of /mnt



#14 Anon28109 OFFLINE  

Anon28109

    Advanced Member

  • Members
  • 113 posts
  • Local time: 09:16 PM

Posted 14 August 2019 - 09:03 AM

Some more info:

I have Emby convert mkv's to mp4s (replacing the original file.) That process successfully deletes the mkv when complete (although it's a file not a directory as in the failing case.) 

 

This works:

2019-08-14 08:47:34.979 Info App: Emby Media Converter copying file from /Users/default/.config/emby-server/sync/18/418/0b714512-1d75-4cee-9b23-315ae2b024.mp4 to /Volumes/Download/Movies/My Movie (2018).mp4
2019-08-14 08:54:52.238 Info App: Emby Media Converter deleting /Volumes/Download/Movies/My Movie (2018)/My Movie (2018).mkv


#15 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 134444 posts
  • Local time: 09:16 PM

Posted Yesterday, 01:25 AM

So the problem is only when deleting a directory?



#16 Anon28109 OFFLINE  

Anon28109

    Advanced Member

  • Members
  • 113 posts
  • Local time: 09:16 PM

Posted Yesterday, 10:36 AM

Not sure. Is there a feature in the interface that lets me test that with video files?

(Subtitle deletion has always been a buggy on my system which I chalked up to a sync issue with .config cache)



#17 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 134444 posts
  • Local time: 09:16 PM

Posted Yesterday, 12:36 PM

Not sure. Is there a feature in the interface that lets me test that with video files?

 

You could setup a movie folder with just one video inside. Then the movie owns the whole folder, and the delete function will delete the folder.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users