Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#24650 - 12/01/2001 14:56 Deleting playlists from 'Unattached Items' doesn't
phaigh
addict

Registered: 04/11/1999
Posts: 649
Loc: Reading, UK
Hi,

When you delete a playlist which contains tunes in the 'Unattached Items' folder, it doesn't delete the tunes.

Obvious behaviour would be that the tunes should also be deleted - but they re-appear (post-sync) in the unattached items, sans Playlist, which makes sense when you understand the delete functionality (see other posts in General), but doesn't make much real sense.

Anyway,

Cheers,

Paul.

Paul Haigh, Reg. 4120
(mk1) 6GB, Blue, 00254
(mk2) 12GB, Red, 00357
_________________________
Paul Haigh, Reg. 4120 (mk1) 6GB, Blue, 00254 (mk2) 12GB, Red, 00357

Top
#24651 - 12/01/2001 15:06 Re: Deleting playlists from 'Unattached Items' doesn't [Re: phaigh]
bonzi
pooh-bah

Registered: 13/09/1999
Posts: 2401
Loc: Croatia
Well, this might or might not make sense to some (I did not make my mind yet), but, AFAIK, deleting any playlist leaves its tunes (those not appearing in any other list) in 'Unattached Items'. Why should behaviour of lists themselves in limbo be different?

Perhaps we need a 'Delete this playlists recursively, together with any other links its members might have' emplode feature....

Cheers!

Dragi "Bonzi" Raos
Zagreb, Croatia
Q#5196, MkII#80000376, 18GB green
_________________________
Dragi "Bonzi" Raos Q#5196 MkII #080000376, 18GB green MkIIa #040103247, 60GB blue

Top
#24652 - 12/01/2001 15:12 Re: Deleting playlists from 'Unattached Items' doesn't [Re: bonzi]
phaigh
addict

Registered: 04/11/1999
Posts: 649
Loc: Reading, UK
Ah yes, but 'Unattached Items' *IS* a special playlist.

It's where all of the orphans go (aaah) - so deletions from here are permanent, right?

Anyway, I like the feature idea.

Cheers,

Paul.

Paul Haigh, Reg. 4120
(mk1) 6GB, Blue, 00254
(mk2) 12GB, Red, 00357
_________________________
Paul Haigh, Reg. 4120 (mk1) 6GB, Blue, 00254 (mk2) 12GB, Red, 00357

Top
#24653 - 15/01/2001 04:37 Re: Deleting playlists from 'Unattached Items' doesn't [Re: phaigh]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5683
Loc: London, UK
If you delete a playlist, it should unreference any tunes or playlists contained therein. If the reference count of those items drops to zero, they should unreference their children, and so on. If, when syncing, anything has a ref count of zero, it should be removed from your player.

The behaviour that you're seeing is definitely a bug. It's fixed (I hope) in v1.1. We obviously need to take a closer look at what's going on in the v1.0x branch.



Roger - not necessarily speaking for empeg
_________________________
-- roger

Top
#24654 - 15/01/2001 14:54 Re: Deleting playlists from 'Unattached Items' doesn't [Re: Roger]
bonzi
pooh-bah

Registered: 13/09/1999
Posts: 2401
Loc: Croatia
If you delete a playlist, it should unreference any tunes or playlists contained therein. If the reference count of those items drops to zero, they should unreference their children, and so on. If, when syncing, anything has a ref count of zero, it should be removed from your player.

So, if one deletes a playlist which appears nowhere else, tunes contained within should also be deleted, if they themselves don't appear in any other list. Under which circumstances do the things then end up in 'unattached items'? (Or does the algorithm you describe only apply to playlists, so that orphaned tunes get moved to U.I. in stead of being deleted, but no list should ever appear there?)

Dragi "Bonzi" Raos
Zagreb, Croatia
Q#5196, MkII#80000376, 18GB green
_________________________
Dragi "Bonzi" Raos Q#5196 MkII #080000376, 18GB green MkIIa #040103247, 60GB blue

Top
#24655 - 16/01/2001 04:17 Re: Deleting playlists from 'Unattached Items' doesn't [Re: bonzi]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5683
Loc: London, UK
Read my lips: It's a bug. The tunes should be deleted as you describe.

Nothing should ever appear in Unattached Items, unless a sync fails.



Roger - not necessarily speaking for empeg
_________________________
-- roger

Top
#24656 - 17/01/2001 22:25 Re: Deleting playlists from 'Unattached Items' doesn't [Re: Roger]
gbeer
carpal tunnel

Registered: 17/12/2000
Posts: 2665
Loc: Manteca, California
I just read this thread to date. Now I'm even more confused.

It seemes to me that when deleting playlists, any item on the playlist that is not referenced any where else should drop into the unattached items list. I would hate to have an album worth of songs drop out of existance just because I deleted the last playlist they were referenced on. Having them drop to a safe area where they can be deliberatly deleted if desired is the way to go.

PS. How dose empeg/emplode deal with circular references. I can think of a situation where two play lists wind up referencing each other and nothing else. Or even one playlist referencing itself.

--Glenn

_________________________
Glenn

Top
#24657 - 18/01/2001 00:09 Re: Deleting playlists from 'Unattached Items' doesn't [Re: gbeer]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31600
Loc: Seattle, WA
I would hate to have an album worth of songs drop out of existance just because I deleted the last playlist they were referenced on.

As he said, that's precisely the intended behavior (even though I used to think it behaved the way you're asking it to). Hey, you were the one who pressed that Delete key, don't go crying to Roger. Personally, I'd like to see a warning dialog when you're deleting the last reference. It'd have to handle multiples gracefully ("Yes to all").

How dose empeg/emplode deal with circular references. I can think of a situation where two play lists wind up referencing each other and nothing else. Or even one playlist referencing itself.

Interesting question. I'd hope they'd design the Emplode user interface so that this situation can't happen without hand-mangling the database files. Haven't tried to make it happen. Anyone?

___________
Tony Fabris
_________________________
Tony Fabris

Top
#24658 - 18/01/2001 05:27 Re: Deleting playlists from 'Unattached Items' doesn't [Re: tfabris]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5683
Loc: London, UK
Hey, you were the one who pressed that Delete key

I did consider adding a "Deleted Items" folder to emplode, which would be emptied when you pressed the sync button, but until then, you could get your tunes back out of it.

It'll probably not make it into v1.1, even though it's probably quite easy.

How does empeg/emplode deal with circular references.

I can't speak for the player, but emplode removes any loops it finds after downloading the player.

It also removes them before uploading to the player, just in case we accidentally introduced any with emplode. The UI shouldn't let you create loops, so this is probably just paranoia checking.



Roger - not necessarily speaking for empeg
_________________________
-- roger

Top
#24659 - 18/01/2001 06:44 Re: Deleting playlists from 'Unattached Items' doesn't [Re: Roger]
peter
carpal tunnel

Registered: 13/07/2000
Posts: 4180
Loc: Cambridge, England
How does empeg/emplode deal with circular references?

I can't speak for the player, but emplode removes any loops it finds after downloading the player.


Circular references will completely confuse the player. The design decision was that it's the transfer software's job to eliminate loops.

Peter



Top