Online Sequencer Forums

Full Version: How to recover deleted sequences.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Code:
setSequence(851079)
This will only work if there is still data left. My theory is that simply deleting a song will actually keep the data, but remove the ability for OS to find it via server magic. To effectively undelete a song, load the song this way and then save a new copy. There are probably many functions I am not mentioning here that would work as well, but this is simple. I discovered it when messing with the "based on" feature. (See below)

HOW TO TELL IF A SONG CAN BE RECOVERED

https://onlinesequencer.net/ajax/load.php?id=1
As you can see, the picture here is empty and there is no song data.

https://onlinesequencer.net/ajax/load.php?id=851079
As you can see, the picture here is full and there is song data at the link.

Shoutouts to Sir_Guy for helping with testing.

Moderators, keep in mind this poses basically no threat. A true spammer could just copy and paste song data if he wanted to spam. If someone wants to truly delete their song, they can save a mostly blank copy using the "try [to] update" feature before deleting.

BONUS
If you go to an invalid link, viz. setSequence(1), then for some reason the server will determine every song was inspired by that song. Interestingly, only around 600,000 songs are said to be inspired by the null song, so it may be that  1/4 of all sequences are currently deleted. Or maybe something else is going on. Jacob_, if you know the reason for this, I am interested. Maybe because clicking on the follow-up link "+634737" goes to "https://onlinesequencer.net/sequences?basedon=&date=4" which is probably equal to every song ever.

BONUS 2
Before snagging [url=][/url], I thought I would do some cool hacky stuff, so I set it up so that it has an "inspired" / "based on" loop.
there's a thing in the phpmyadmin that has a value called "deleted" where i think if it's 1, it gives you that "deleted" error. kinda lazy in my opinion but it's very useful if sequences are deleted by accident
Alternatively, since I've given away the "secret" before: https://onlinesequencer.net/app/sequence...79&frame=1

So far we've never had any reason to permanently remove the data for a sequence (although I could do that if someone wanted to) but sometimes people delete stuff and later want me to recover it. So deleting is really just making it private.
(06-20-2018, 06:11 PM)Jacob_ Wrote: [ -> ]Alternatively, since I've given away the "secret" before: https://onlinesequencer.net/app/sequence...79&frame=1

So far we've never had any reason to permanently remove the data for a sequence (although I could do that if someone wanted to) but sometimes people delete stuff and later want me to recover it. So deleting is really just making it private.

Yay, this won't be removed.