Rewrite of a shitty script i found on github lol
Go to file
Wizzard 2e019f202c Fixed missing covers on some singles 2023-09-24 12:42:48 -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 Updated README 2023-09-03 18:29:48 -04:00
config.example.json fixed json error 2023-07-13 21:26:30 -04:00
install.bat script 2023-07-13 17:02:36 -04:00
main.js Fixed missing covers on some singles 2023-09-24 12:42:48 -04:00
package.json The rest 2023-07-13 11:43:40 -04:00
start_linux.sh linux permission fixes 2023-07-14 12:38:11 -04:00
temp_start.bat Modified script and auto updater 2023-07-14 12:34:56 -04:00
update.bat Updated readme and made clicking the profile optional 2023-07-13 13:10:48 -04:00
update.sh linux permission fixes 2023-07-14 12:38:11 -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 and type npm i to install necessary necessary.

Running

Rename "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.