OnTheSpot development by Liberator

Updated scripts

Branched from https://github.com/justin025/onthespot, I was using OnTheSpot for a year or two before I got involved in the project. A problem in searching and downloading caused by a change in the Spotify API was my inspiration to get involoved, so I forked a copy of the project and set about fixing the issue. This led me to the realisation that the search results displayed from any Spotify search were full of unrelated (to my mind) results so I decided to enhance the search functions. I added a filter capability which rejected results that did not match the search term. I also fixed or changed a number of other things - see below.

My latest version includes these filters and a number of other fixes as follows:

  • Fix empty text search results caused by unexpected or invalid Spotify API responses.
  • Removed API calls 5 (fetch_audio_features) and 6 (fetch_track_credits) to prevent 403 errors (these calls are deprecated by Spotify)
  • Added display of number of tracks in playlists on Search UI results
  • Added filtering of search results to remove unconnected items (why does Spotify include them?). These filters can be switched on or off from the (expanded) search panel.
  • Changed the windows build script /scripts/build_windows.bat to do the following:
    • Check if the .exe is already running before compiling - It will display a warning if it is running and exit after pause.
    • Add display time taken to compile on completion
    • Pause on completion (keeps window open) - press any key to close.
  • Add 'prefix' variable to set the article used by filters.
  • Broaden the Artist check in Filter Albums by stripping 'prefix' from the search term when comparing artist names.
  • Removed slice and replaced with .removeprefix(prefix) for consistency
  • Make all filters consistent with consistent naming.
  • Simplified to only compare normalized versions - removed the redundant check with original term
  • Simplified thumbnail check - if item['images'] instead of if len(item['images']) > 0
  • Added Search Prefix entry to search drop down.
  • Added tooltip for prefix new text box.
  • Moved ffmpeg_path initialization to fix error when running from src
  • Simplify error handling for genre tag and correct typo

My latest version can be found at my Github page

Contact: Send Email