Rewrite of a shitty script i found on github lol
Go to file
Wizzard e4a904c723 script 2023-07-13 17:02:36 -04:00
scripts Customiziation options and pathing fixes 2023-07-13 13:40:01 -04:00
.gitignore The rest 2023-07-13 11:43:40 -04:00
LICENSE Readme and license 2023-07-13 12:08:37 -04:00
README.md changes 2023-07-13 13:18:38 -04:00
config.example.json Customiziation options and pathing fixes 2023-07-13 13:40:01 -04:00
install.bat script 2023-07-13 17:02:36 -04:00
main.js Small fix and test 2023-07-13 14:36:18 -04:00
package.json The rest 2023-07-13 11:43:40 -04:00
update.bat Updated readme and made clicking the profile optional 2023-07-13 13:10:48 -04:00
update.sh The rest 2023-07-13 11:43:40 -04:00

README.md

lastfm-discord-rp

A nodejs script to show your current listening status on lastfm.

Installation

Open the folder you wish to install to and start a terminal or cmd in that folder. Type git clone https://git.deadzone.lol/Wizzard/lastfm-discord-rp.

Open the console in which you downloaded the program in type npm i to install necessary necessary.

Running

Renamed "config.example.json" to "config.json and fill it out with the correct information. After that, open the scripts folder and run either start.bat or start.sh depending on OS.

FAQ

How do I run this with pc startup?

FOR WINDOWS

Simply go into the scripts folder and right click "start.bat" and select "Create Shortcut". Then press "Windows key + R", in the run box type "shell:startup". After that simply copy the shortcut of the bat file to that folder.

FOR LINUX

Go to ~/.config/autostart and create a new file called "lastfm.desktop" In this file put the following

[Desktop Entry]
Type=Application
Exec=bash -c "cd ~/Desktop/lastfm/scripts && ./start.sh"
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name[en_US]=LastFM
Name=LastFM
Comment[en_US]=Start LastFM
Comment=Start LastFM

Make sure to replace the line Exec=bash -c "cd ~/Desktop/lastfm/scripts && ./start.sh" with your correct information.

License

Copyright (C) 2023 Deadzone.lol

Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.