python-plexapi
python-plexapi copied to clipboard
checkForUpdate() returns a 404 page + documentation
Describe the Bug
Hello 👋, I remarked that the .checkForUpdate() function returns an object with a download_key that is pointing on a 404 page. Also the documentation is not very clear about the download parameter in the checkForUpdate(force=True, download=False). It says Download if an update is available. but that's quite confusing as it returns an object and not the binary. Is there a way to download the latest release directly from the API like the downloadLogs() or downloadDatabases() functions ?
Many thanks in advance 😄
Code Snippets
{
"download_key": "https://plex.tv/updater/releases/4838",
// ...
}
Expected Behavior
Returns valid download_key + clarification of the documentation about checkForUpdate(). Also it could be nice to have a way to download the latest release from the API.
Additional Context
No response
Operating System and Version
macOS 13.2.1 (22D68)
Plex Media Server Version
1.31.1.6733
Python Version
3.11.2
PlexAPI Version
4.13.4