1
Плагины / Plugins / Skip Track Base on Http Call (Plugin Request)
« on: February 13, 2025, 19:16:10 »
Does anyone have free time to make a simple plugin for me?
I need a plugin that automatically skips tracks I've already played on Last.fm. It should work like this:
1. Wait for a song to start playing.
2. Grab the artist and track title from the metadata.
3. Send an HTTP request to (last.fm):
https://ws.audioscrobbler.com/2.0/?method=track.getinfo&artist=ARTIST_NAME_HERE&track=TRACK_NAME_HERE&api_key=YOUR_API_KEY&format=json&username=YOUR_USERNAME
4. Check the JSON response.
If "track.userplaycount" exists and is greater than 0, skip to the next track.
The placeholders YOUR_API_KEY and YOUR_USERNAME should be configurable (also the number of play count). Thanks in advance!
I need a plugin that automatically skips tracks I've already played on Last.fm. It should work like this:
1. Wait for a song to start playing.
2. Grab the artist and track title from the metadata.
3. Send an HTTP request to (last.fm):
https://ws.audioscrobbler.com/2.0/?method=track.getinfo&artist=ARTIST_NAME_HERE&track=TRACK_NAME_HERE&api_key=YOUR_API_KEY&format=json&username=YOUR_USERNAME
4. Check the JSON response.
If "track.userplaycount" exists and is greater than 0, skip to the next track.
The placeholders YOUR_API_KEY and YOUR_USERNAME should be configurable (also the number of play count). Thanks in advance!