22 lines
1007 B
Markdown
22 lines
1007 B
Markdown
Hey folks,
|
|
this is a very simple PHP Code that renames your Sinusbot music files back to their old name.
|
|
It only removes special chars, because that made some small errors....and it was not worth to me to fix the issues.
|
|
The Songs are still readable f.E "Udo Jrgens - Griechischer Wein HBz Hard-Bounce Remix"
|
|
|
|
How to use.
|
|
Clone the respority with "git clone http://git.thiemoo.at/Givou/Sinusbot_song_renamer.git"
|
|
|
|
Now create a folder named "storage" and a folder named "output"
|
|
|
|
Go into your Sinusbot foot filesystem.
|
|
Copy your Database from /rootfs/data/db/[UUID from Instance].sqlite
|
|
Download the file and put it into the renamers main directory.
|
|
Rename it to db.db
|
|
|
|
Now download your songs from /rootfs/data/store/[UUID from Instance]/ and put them into the storage directory from the renamer.
|
|
|
|
Execute the PHP Code with "php umwandler.php" or call it in your browser
|
|
The Musik files should code up in the /output directory, if you made all steps correctly.
|
|
|
|
#Tested with Sinusbot 1.0.0-beta.10-202ee4d!
|