-
Notifications
You must be signed in to change notification settings - Fork 3
Skip Page
Skip page is to help you quickly check and delete the music file you dont need.
Instead of manually checking which song you dont like and then going in the file manager then searching for it and then deleting it, You can use my project's Skip page to select the song, create a script bash/fish/mac/windows(powershell) and then copy the script and past in the terminal and delete it
The main purpose of the script is to delete song in batch, if you have only one song, manually doing it will be better
- Setup Tunelog
- Do A library sync : it will get the path of all the songs
- Listen to song normally, when you skip any song it will appear in skip page
- opne the Tunelog dashboard
Once in Dashboard, go to library then skip page
For the 1st time you have to setup the terminal you use, bash, fish, mac, window(powershell) and base path
Base path : base path is the main folder where your music files lives for ex :
/home/adii/Music/
Choose weather you want to move or delete, i would recommend move as the project is not in final release and i will constantly push update and if something happens then it might break your system or lose your valuable music files
Once done,
Depeneding on your terminal this step differs
Bash is a command-line interpreter and scripting language used in Unix-like operating systems, allowing users to interact with the system through text commands. It serves as a powerful tool for automating tasks, managing files, and executing scripts efficiently.
for Bash its easy, copy the script and paste it in terminal and done
Fish is modern Bash With some improved feature, such as history suggestion and easy script wrting,
Bash and fish are not cross-platform so Bash script will not work in Fish Shell
To run Fish script :
- Copy the script from skip page
- paste in the shell
To run Bash Script in Fish do this
- copy the code,
- create a
.shfile, ex :test.sh - Paste the code and save the file
- make it executable by :
chmod +x ./test.sh- Then run
./test.shI dont have a mac so I couldnt test it. This should be straight frowrd
- Copy script
- Paste in the shell
I couldnt test this too.
- Copy the script
- Open powershell not command prompt
- past the script
- Deleted songs are still in the list in skip page?
- When you delete a song, Navidrome puts theme in
missing filesUntil and unless you clearMissing Filesit wont be removed FromSkip Page. why? 'cause My project dont have access to your files, it wont know that files are deleted till navidrome tells it
I Going to add some sets of rules that will populate songs in the recommend songs to delete in the skip pages, these set of rules should be optional.
- X no. of consecutive Skips
- For example the default is 3, so if a song has 3 consecutive songs and no more other
intreactionsmeaning, - Song A : complete, repeat, skip, partial ............ , skip, skip, skip. Then this song will be in recommend delete
- Song B : skip, skip, skip, complete. Then this will not be in the Recommend delete
why? Song taste is subjective, and Highly changable, using this method it ensures that if a song, even though user didnt liked it at first but then the music taste changed and now they like the song.
- Album Filler
- Usally User download entire album and listen to a few songs, This should help remove those unwanted songs