Riffusion Multitool

Manage Riffusion songs: selective/bulk delete, download queue (MP3/M4A/WAV), privacy settings. Draggable/minimizable UI, filters, auto-reload & more. USE WITH CAUTION.

这些是代码更新过的版本。 显示所有版本

  • v1.70 2025-05-17

    Riffusion Multitool - Changelog Version 1.7

    This update significantly expands the Riffusion Multitool's capabilities with a major new feature and enhances its overall stability and reliability.

    🚀 New Features & Major Enhancements:

    • Privacy Status Management (NEW):
      • Introduced a comprehensive module to manage the privacy settings of your Riffs.
      • Allows selection of songs (individually, all visible, or liked songs) for batch privacy updates.
      • Supports setting Riff privacy to "Only Me," "Anyone with the link," or "Publish."
      • Features an independent, filterable song list specifically for privacy operations.
      • Includes configurable inter-song delays to ensure stable processing during bulk changes.
      • Dynamic button text updates to reflect the chosen privacy action.
    • Critical UI Stability Fix:
      • Resolved a core SyntaxError ("Private field '#riffControlUI' must be declared...") that occurred during UI initialization. This was due to an ID collision with Riffusion's internal JavaScript.
      • Implemented unique ID prefixing (Graph1ksRiffTool_) for all primary UI elements created by the script to prevent future conflicts.
    • Improved Robustness & Reliability:
      • Enhanced internal element selection by consistently using scoped queries (e.g., uiElement.querySelector()) rather than global document.getElementById() for script-generated UI components. This improves encapsulation and reduces potential conflicts.
      • Refined element selectors used for interacting with Riffusion's dynamic menus (delete, download, privacy actions) to be more resilient to minor UI structure changes on the site.
      • Strengthened retry logic for opening menus and sub-menus, particularly for download and privacy workflows, to handle timing issues more gracefully.

    🛠️ General Improvements:

    • Codebase refactored to integrate the new Privacy module, including new state variables, UI construction logic, and event handling.
    • CSS styles added and updated to support the Privacy section and accommodate the ID prefixing changes.
    • Overall state management (isChangingPrivacy, stopPrivacyChangeSignal) updated to incorporate the new privacy operations.
    • Debug logging expanded to provide more insight into the new privacy functions and refined menu interactions.

    The Riffusion Multitool continues to evolve, now providing a powerful suite for managing your song library with robust deletion tools, a flexible multi-format download queue, and granular privacy controls, all accessible through a user-friendly, draggable, and minimizable interface. .mdbox

  • v1.60 2025-05-15

    Riffusion Multitool - Version 1.6 Changelog

    Added

    • Automatic List Reloading:
      • Song lists within 'Selective Deletion' and 'Download Queue' views now automatically refresh when changes to the underlying song elements on the Riffusion page are detected (e.g., due to infinite scroll).
      • Existing user checkbox selections for songs within these lists are preserved during automatic reloads.
    • Resizable Song List Height:
      • A draggable resizer element has been added below the song lists in both 'Selective Deletion' and 'Download Queue' views.
      • Users can drag this resizer to dynamically adjust the maximum visible height of the song list container.
    • Manual Reload Toggle Control:
      • An "Auto-Update Lists" checkbox control has been added.
      • When this option is unchecked, automatic list reloading is disabled, and the manual "Reload List" buttons for 'Selective Deletion' and 'Download Queue' views become visible.
      • Auto-update is enabled by default.

    Changed

    • "Enable Debug" Control Type and Visibility:
      • The control to enable/disable debug mode has been changed from a button to a checkbox.
      • This "Enable Debug" checkbox is now only displayed when the 'Main Menu' view is active.
    • "Auto-Update Lists" Toggle Visibility:
      • The "Auto-Update Lists" checkbox is now contextually displayed only within the 'Selective Deletion' and 'Download Queue' views, as it directly pertains to their functionality.
  • v1.53 2025-05-14

    Version 1.53 (2024-07-24)

    • Feature: Added a "Stop Deletion" function to the Bulk Deletion mode.
      • The "Delete Entire Library" button now changes to "Stop Deletion" while bulk deletion is active.
      • Clicking "Stop Deletion" will halt the process after the current song (if any) is processed.
      • Improved status messages during and after bulk deletion, including when stopped by the user.
    • Fix: Resolved an issue where selecting .wav for download would cause the file to be downloaded twice. This was due to an overly aggressive click simulation which has now been refined. MP3 and M4A formats were unaffected.
    • Internal: Refined button disabling logic (setAllButtonsDisabled) to correctly handle the "Stop Deletion" button's active state and ensure other UI elements respond appropriately during operations.
    • Internal: Minor adjustments to UI state management during operations to better support the new stop functionality and ensure list refreshes occur correctly.
  • v1.52 2025-05-14
  • v1.52 2025-05-14

    Changelog for Riffusion Multitool v1.52

    • Fix: Significantly improved reliability of the download function.
      • Correctly identifies the main "Download" menu item, which has a different HTML structure than other menu options.
      • Added a robust polling/retry mechanism specifically for waiting for the download sub-menu (MP3, M4A, WAV options) to appear and be in an "open" state after clicking the main "Download" button. This addresses issues where the sub-menu might not load instantly.
      • Enhanced logging for download sub-menu detection to aid in future troubleshooting.
    • Update: Changed @match directive from https://www.riffusion.com/library/my-songs to https://riffusion.com/* to ensure the script activates on the correct domain and potentially other relevant library pages if the URL structure changes slightly.
    • Internal: Minor adjustments to delay timings (DOWNLOAD_MENU_DELAY, DROPDOWN_DELAY) for potentially better stability with menu interactions.
    • Internal: Added MAX_SUB_MENU_OPEN_RETRIES configuration for more granular control over sub-menu opening attempts.
    • Internal: Added early exit checks in processSingleAction if the global isDownloading or isDeleting flags are set to false, preventing further processing if an operation was cancelled.
  • v1.51 2025-05-11

    Version 1.51 - Compatibility Update for Riffusion Site Changes

    This version addresses recent DOM structural changes on Riffusion.com, restoring core functionality that was impacted by their updates.

    Key Fixes & Improvements:

    • Enhanced Menu Interaction Logic (for Delete & Download):

      • Updated the selector for the "More options" (...) button on each song row to use the more stable button[data-sentry-element="MenuTrigger"] attribute, replacing the previous aria-label-based selector.
      • Refined logic for identifying menu items (e.g., "Delete", "Download", "MP3", "WAV") within the Radix UI-based dropdown menus. The script now correctly targets the nested div.line-clamp-2 elements (or similar structures) where the actual text content resides.
      • Improved handling of Radix UI submenu identification for download formats, ensuring aria-controls is correctly utilized to locate the appropriate submenu panel.
    • Revised "Liked" Song Detection:

      • Updated the mechanism for determining if a song is "liked" to align with Riffusion's new button structure:
        • The primary check now looks for a button with an aria-label starting with "Unfavorite" (e.g., button[aria-label^="Unfavorite"]).
        • A secondary check verifies the presence of a solid heart icon (SVG with data-prefix="fas") within the like/unlike button, ensuring it's not an outlined "Favorite" action icon.
      • This ensures the "Ignore Liked" filter (for deletion) and the "Select/Deselect Liked" (for downloads) features function accurately.
    • Minor DOM Traversal Adjustments:

      • Slight improvements to selectors for song title extraction and the main song list container for better resilience against minor layout shifts.

    Note: These changes were necessary due to upstream modifications by Riffusion. The script aims to adapt to these changes to maintain its intended functionality.

  • v1.5 2025-05-01

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址