Skip to content

Conversation

binyaminyblatt
Copy link

  • Renamed from "Audnexus Agent" to "Audnexus Agent With Backup API"
  • Changed CFBundleIdentifier from com.plexapp.agents.audnexus to com.plexapp.agents.audnexuswithbackup
  • Default API is now https://audnex.us/, with fallback to https://audimeta.de/
  • Added support for custom API host configuration
  • Improved logging with more detailed output
  • Switched from from logging import Logging to from audnexuslogging import Logging to avoid conflicts with internal logging
  • Added type hints for improved clarity and tooling support
  • Enforced code style using flake8
  • Bumped version number

- Renamed from "Audnexus Agent" to "Audnexus Agent With Backup API"
- Changed CFBundleIdentifier from `com.plexapp.agents.audnexus` to `com.plexapp.agents.audnexuswithbackup`
- Default API is now https://audnex.us/, with fallback to https://audimeta.de/
- Added support for custom API host configuration
- Improved logging with more detailed output
- Switched from `from logging import Logging` to `from audnexuslogging import Logging` to avoid conflicts with internal logging
- Added type hints for improved clarity and tooling support
- Enforced code style using flake8
- Bumped version number
@Vito0912
Copy link

If you are using AudiMeta, please include a meaningful User Agent. This will help me block traffic if there are any bugs in current or future versions that might cause too many requests from mmultiple sources at the same time.
I have set up rate limiting, but it would still be better if a User Agent is used and I know who I need to contact incase this happens.

- Added functionality to tag albums as explicit based on metadata from audnexus
- Implemented `set_metadata_adult` function in `AlbumUpdateTool` to add "Explicit" and "ADULT" labels to albums in Plex
- Uses `plexapi` to interact with the Plex server and add labels
- Requires `PLEXTOKEN` environment variable to be set but it should be set by Plex
- Added `PlexPluginCodePolicy` key to `Info.plist` with value `Elevated` to allow plugin to interact with the Plex server
- Updated version to 1.3.4
- PYTHON PACKAGES we can use plexapi and requests now unfortunately we nead  to include the packages in the repo
@binyaminyblatt
Copy link
Author

binyaminyblatt commented May 24, 2025

If you are using AudiMeta, please include a meaningful User Agent. This will help me block traffic if there are any bugs in current or future versions that might cause too many requests from multiple sources at the same time. I have set up rate limiting, but it would still be better if a User Agent is used and I know who I need to contact incase this happens.

@Vito0912 any suggestions of something that would be meaningful

Copy link

@github-advanced-security github-advanced-security bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SonarCloud found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.

@binyaminyblatt
Copy link
Author

i just added id3 tag support for the ASIN this should help with #123

@Vito0912
Copy link

See https://www.rfc-editor.org/rfc/rfc9110#name-user-agent
But basically AppName/Version (URL or/and contact info) [optional details] would be benefitial.

@binyaminyblatt
Copy link
Author

binyaminyblatt commented May 28, 2025

I set it to
'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.6312.86 Safari/537.36; Plex-Audnexus/'+VERSION_NO+' (+https://github.com/binyaminyblatt/Audnexus.bundle/issues)'

See https://www.rfc-editor.org/rfc/rfc9110#name-user-agent But basically AppName/Version (URL or/and contact info) [optional details] would be benefitial.

@binyaminyblatt
Copy link
Author

@djdembeck would you be willing to review this pull

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants