Skip to content

v1.0.2

Choose a tag to compare

@sevenlayercookie sevenlayercookie released this 21 May 05:09
· 18 commits to main since this release

This update aligns MouseSearch with current MAM bonus-store behavior, improves MAM session and dynamic IP handling, and makes qBittorrent integration more reliable.

Highlights

  • Bonus store workflow refresh — VIP, upload-credit, and Freeleech wedge actions now follow current MAM bonus-store semantics more closely, with a new Buy Wedge action, a 12-week VIP option, and more flexible upload-credit amounts.
  • Smarter MAM cookie handling — MouseSearch now adopts rotated mam_id cookies returned by MAM and persists the latest value automatically when using direct-cookie mode.
  • Stronger qBittorrent support — The qBittorrent backend now uses qbittorrent-api, improving compatibility, error handling, and HTTPS WebUI support.

New Features

Bonus Store & Freeleech Tools

  • Added a Buy Wedge button to the main MAM status area for purchasing a personal Freeleech wedge with bonus points.
  • Added a 12-week VIP purchase option alongside the existing max-purchase flow.
  • Upload credit purchases now accept any whole-number GB amount of 50 or higher instead of only fixed 50 GB increments.
  • The upload purchase modal now uses the upstream max affordable amount based on your current bonus points.
  • The download confirmation flow can now queue an existing personal Freeleech wedge for the download, with clearer UI feedback when a wedge is queued or applied.
  • AUTO_BUY_PERSONAL_FL_ON_DOWNLOAD now auto-uses a wedge you already own instead of trying to purchase one during the download flow.

MAM Session & Dynamic IP Handling

  • MouseSearch now automatically adopts rotated mam_id cookies returned by MAM API responses.
  • In direct-cookie mode, the latest rotated mam_id is saved so restarts continue using the current session.
  • The MAM status/settings flow now reflects the current active cookie value after successful MAM requests.
  • Dynamic seedbox IP updates now track host IP and ASN state, refresh stale update records, and only call MAM when a refresh is actually needed.
  • Added second-based dynamic IP polling controls while keeping the older hour-based setting as a legacy fallback.

qBittorrent Integration

  • Switched the qBittorrent backend to the qbittorrent-api library.
  • Added support for HTTPS WebUI setups with optional certificate verification control for self-signed installs.
  • Improved add/status handling, including better duplicate-torrent detection, invalid torrent error reporting, unsupported API version handling, and force-start behavior when a hash is available.

Improvements & Fixes

  • Mousehole-aware IP update behavior — When Mousehole cookie mode is enabled, MouseSearch now disables its own dynamic IP update controls instead of allowing conflicting behavior.
  • Bonus store validation — Upload auto-buy settings now normalize and validate configured amounts as whole numbers >= 50.
  • Clearer Freeleech behavior — Settings and download UI now consistently reflect that MouseSearch is using an existing wedge rather than purchasing one implicitly.
  • qBittorrent reliability — Connection diagnostics and session handling are more robust across newer WebUI/API setups and HTTPS deployments.

New Environment Variables

# qBittorrent only: verify the WebUI HTTPS certificate
QBITTORRENT_VERIFY_WEBUI_CERTIFICATE=true

# Dynamic MAM IP refresh controls
DYNAMIC_IP_CHECK_INTERVAL_SECONDS=300
DYNAMIC_IP_STALE_RESPONSE_SECONDS=86400

# Legacy fallback still supported if the seconds-based interval is unset
DYNAMIC_IP_UPDATE_INTERVAL_HOURS=3