Author Topic: Deleting Tracks  (Read 8328 times)

phred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10283
Steven...

I was cleaning up the Music Library today and deleted a track, choosing to "delete from library and computer."  Imagine my surprise when I realized I had deleted the wrong track and it was -truly- deleted from the computer.  Is it possible to have deleted tracks go to the Windows Recycle Bin, so deleted tracks can be retrieved?

Thanks.
Download the latest MusicBee v3.6 patch from here.
Unzip into your MusicBee directory and overwrite existing files.

----------
The FAQ
The Wiki
Custom Forum Search
Posting screenshots is here

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 34997
that should already be the case for your hard-disk drive - i just tried and it deleted to the recycle bin for me.
However if you are using an external USB HDD, i'm not sure. I know with my USB stick, even deleting with windows explorer, the file does not appear in the recycle bin

phred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10283
Well, Steven, it probably is the case, except sometimes, it's a user-created issue.

The layout is that while I have MusicBee installed on my 'main' XP machine, all the tracks are stored on a drive on another machine which has drive letters mapped on the main machine.  Apparently when I delete a track from 'the library and the computer' the deleted tracks really are deleted.  They are -not- in the Recycle Bin on the actual machine where they (used to) live.

I don't think there's a way around this.
Download the latest MusicBee v3.6 patch from here.
Unzip into your MusicBee directory and overwrite existing files.

----------
The FAQ
The Wiki
Custom Forum Search
Posting screenshots is here

usraek

  • Jr. Member
  • **
  • Posts: 67
Well, Steven, it probably is the case, except sometimes, it's a user-created issue.

The layout is that while I have MusicBee installed on my 'main' XP machine, all the tracks are stored on a drive on another machine which has drive letters mapped on the main machine.  Apparently when I delete a track from 'the library and the computer' the deleted tracks really are deleted.  They are -not- in the Recycle Bin on the actual machine where they (used to) live.

I don't think there's a way around this.

Well I've just come across this issue myself, deleting a file from my inbox on a network map drive (that's actually on the PC in question) and it doesn't go to recycle bin.

This is worrysome because there's been many times where I've accidentally deleted a track(s) while organizing and need to dig it out of the Recycle Bin... now with my new setup using a network drive they're just going to be gone.

I suppose that I could map the inbox to a physical drive location on my computer here and that would solve the problem, but it's a bit inelegant as I wouldn't be able to mirror my settings to my satellite laptop without making sure I modify it to a network share every time, and if I accidentally delete from my inbox on my laptop then the file is still gone. And that's just the inbox, I'd need to reconfigure my library as well. If something accidentally deleted in my main library (cat walking on keyboard) then it's poof too.

I'd like to echo the request the person here made:
https://getmusicbee.com/forum/index.php?topic=29520.0

Also, I know it's a 10 year necro, but I figured with the players in the thread and the topic being brought up I'd rather just add my voice than make a new one. Happy 2020!
Last Edit: December 31, 2019, 07:39:04 PM by usraek

psychoadept

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10940
I can't speak for other setups, but my NAS actually has its own recycle bin. I think it has to be explicitly enabled in settings when configuring the share drive.
MusicBee Wiki
Use & improve MusicBee's documentation!

Latest patches
(Unzip and overwrite existing program files)

usraek

  • Jr. Member
  • **
  • Posts: 67
I can't speak for other setups, but my NAS actually has its own recycle bin. I think it has to be explicitly enabled in settings when configuring the share drive.

I'll investigate this. I've been assigning network locations like //Whatever/ instead of drive designations. I suppose I need to make it a network attached drive.

Thanks for the point in the right direction, I've just learned something. I'll poke around a bit and see if I can manage this.

EDIT:

Since this isn't a NAS per-se, my options are limited. Deleted items on network shares, whether mapped as a drive or not, go poof for the most part.

I've done what this link has suggested and mapped a network drive on my desktop from the physical drive in my desktop then set a default user folder there (the useless to me "3D Objects" in my case) and it works correctly, an item deleted in Musicbee mapped to the new Z: drive rather than the //Whatever/ network location now goes to recycle bin.

The next step now is to test this method on my laptop.


EDIT2:

I've confirmed this working on my laptop now too. I've set the same network drive, and on this I used another of the Windows default folders relocated to the new Z: drive and the file in Musicbee now deletes and shows up in the Recycle Bin on both computers now. It appears the files are linked too as I can remove the file from the bin on either computer and it automatically stops showing on other.

This doesn't appear to be the most elegant solution but it works well enough.

Thank you for the point in the direction, I've learned something.
Last Edit: December 31, 2019, 10:37:54 PM by usraek

wobbly

  • Sr. Member
  • ****
  • Posts: 318
i would
love to see a setting that hides  "delete from library and computer." so its not there to click at all

i think i asked for this on the  Wishlist but will ask again

phred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10283
I can't speak for other setups, but my NAS actually has its own recycle bin. I think it has to be explicitly enabled in settings when configuring the share drive.
My NAS has a 'trashbin' option, which I have enabled for all of the top level directories -except- for my music files. While MB ignores the trashbin, SubSonic does not and I wind up with what appear to be duplicates when using SubSonic. There is no way for SubSonic to ignore the trashbin. So I have to be extremely careful when deleting/copying/replacing music files on the NAS. Although a backup runs every day, so I might be able to recover if I accidentally delete the wrong track.
Download the latest MusicBee v3.6 patch from here.
Unzip into your MusicBee directory and overwrite existing files.

----------
The FAQ
The Wiki
Custom Forum Search
Posting screenshots is here

Zak

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2553
I've done what this link has suggested and mapped a network drive on my desktop from the physical drive in my desktop then set a default user folder there (the useless to me "3D Objects" in my case) and it works correctly, an item deleted in Musicbee mapped to the new Z: drive rather than the //Whatever/ network location now goes to recycle bin.

The next step now is to test this method on my laptop.

I accidentally ended up with the same arrangement on my NAS (i.e. a folder mapped to a Windows system folder) and found that MusicBee saw the Recycle Bin as a normal folder. This meant that with continuous monitoring enabled, deleted files were reappearing the Inbox.
It might be specific to my set up, but thought it worth mentioning to save you some head scratching if you run into the same issue.

Originally discussed here:


https://getmusicbee.com/forum/index.php?topic=29507.0
Bee excellent to each other...

jasongnome

  • Jr. Member
  • **
  • Posts: 86
that should already be the case for your hard-disk drive - i just tried and it deleted to the recycle bin for me.
However if you are using an external USB HDD, i'm not sure. I know with my USB stick, even deleting with windows explorer, the file does not appear in the recycle bin

Just to confirm, my music as all stored on an external USB drive and anything I delete from inside MB goes to the recycle bin here.

Maybe it depends on a Windows setting?

phred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10283

My NAS has a 'trashbin' option, which I have enabled for all of the top level directories -except- for my music files. While MB ignores the trashbin, SubSonic does not and I wind up with what appear to be duplicates when using SubSonic. There is no way for SubSonic to ignore the trashbin. So I have to be extremely careful when deleting/copying/replacing music files on the NAS. Although a backup runs every day, so I might be able to recover if I accidentally delete the wrong track.
Thanks to user usraek for reviving this thread. Despite what I stated a couple of days ago about SubSonic scanning the trashbin of my NAS and therefore showing deleted tracks as part of its library, I have dug and dug and found a way to have SubSonic ignore the trashbin folder.

So now I can happily delete/replace existing music files and recover them if necessary.

For those interested, log on to your SubSonic client and go to Settings > Media Folders > Add Media Folder. Assign a name, enter the path to the folder, and enable it. Then go to Users > select user > Allow access to these media folders > and untick the new trashbin folder just added. Simple enough.
Download the latest MusicBee v3.6 patch from here.
Unzip into your MusicBee directory and overwrite existing files.

----------
The FAQ
The Wiki
Custom Forum Search
Posting screenshots is here