dynamiccookies / Radarr-Assistant

An interface that ties into Radarr's API to allow searching for movies, verifying movies currently in the Radarr library, and adding movies to Radarr's queue.
MIT License
0 stars 0 forks source link

Add query string option for searching #16

Closed dynamiccookies closed 2 years ago

dynamiccookies commented 2 years ago

Add ability to automatically search by query string parameter

dynamiccookies commented 2 years ago

https://fedingo.com/how-to-get-query-string-values-in-javascript/

dynamiccookies commented 2 years ago

https://github.com/dynamiccookies/Radarr-Assistant/blob/ee880605b60c5f1aae6469189b74adb1d68f504f/script.js#L45

?? operator isn't needed because search term is being added to the input box

https://github.com/dynamiccookies/Radarr-Assistant/blob/ee880605b60c5f1aae6469189b74adb1d68f504f/script.js#L12