Riffusion Multitool

Adds robust song deletion (Selective & Bulk with Stop) and a Download Queue tool with multi-format selection and delay. Features: Main Menu, Independent Lists, Keyword Filters, Liked Filters/Selectors, Draggable & Minimizable UI, Auto List Reload, Resizable Lists. USE WITH CAUTION.

当前为 2025-05-15 提交的版本,查看 最新版本

作者
Graph1ks
评分
0 0 0
版本
1.60
创建于
2025-05-01
更新于
2025-05-15
大小
78.1 KB
许可证
暂无
适用于

Riffusion Multitool

Enhance your Riffusion library management with this comprehensive userscript. It integrates a powerful, yet compact, control panel directly onto Riffusion pages, offering advanced features such as Selective Deletion, Bulk Deletion (with extreme caution), and a highly configurable Download Queue. The interface starts minimized as a discreet "RM" icon in the top-right corner, expanding into a draggable panel upon click for efficient track management.

Core Features:

  • Minimizable & Draggable UI:
    • Initiates as a small "RM" icon (top-right) for an unobtrusive presence.
    • Click the icon to reveal the full panel; click "_" to minimize.
    • The panel's last position is remembered for session consistency.
    • Compact design optimizes screen real estate.
  • Intuitive Main Menu Navigation: Easily switch between dedicated tools: Selective Deletion, Bulk Deletion, and Download Queue.
  • Automatic List Reloading & Resizable Lists:
    • Song lists in "Selective Deletion" and "Download Queue" automatically update as new songs are loaded on the Riffusion page (e.g., via infinite scroll), ensuring your view is always current. User checkbox selections are preserved during these updates.
    • Resizable list height: Click and drag the resizer below song lists to customize their visible height.
    • Manual Reload Toggle: An "Auto-Update Lists" checkbox (contextually shown in relevant views) allows disabling automatic updates in favor of manual "Reload List" buttons.
  • Selective Deletion Tool:
    • Reliably delete specific songs using their unique identifiers.
    • Advanced filtering: Option to ignore Liked Songs, and a keyword-based filter to exclude songs with specific terms in their titles.
    • "Select All Visible" functionality for quick selection based on current filters.
  • Bulk Deletion Tool:
    • Designed for rapid clearing of your entire Riffusion library or all currently loaded/visible songs.
    • Efficiently processes deletions without requiring manual scrolling, incorporating retry logic for robustness.
    • ⚠️ EXTREME CAUTION IS PARAMOUNT WHEN USING THIS FEATURE.
  • Advanced Download Queue Tool:
    • Sequentially download multiple selected songs.
    • Multi-Format Selection: Choose from MP3, M4A, and/or WAV via checkboxes. The script will download all selected formats for each song before proceeding to the next.
    • Configurable Delays: Independently set delays (in seconds) for:
      • Intra-format downloads (between different formats of the same song).
      • Inter-song downloads (between different songs in the queue).
    • Sophisticated Filtering & Selection:
      • Keyword filter to dynamically narrow down the displayed song list for easier selection.
      • "Select All" for currently visible songs.
      • "Select/Deselect Liked" button (dynamically updates its text based on selection state).
      • "Clear Selection" button for quick deselection.
  • Robust & Reliable Operation: Employs specific song identifiers and includes retry mechanisms to enhance operational stability.
  • Debug Mode: Optional, detailed console logging for advanced users or troubleshooting purposes (toggle available in the Main Menu).

Rationale:

Manually managing a large Riffusion library, particularly for deletions or multi-format downloads, can be a repetitive and time-consuming process. This script automates these tasks, offering significant efficiency gains. The Download Queue is particularly beneficial for creating backups of specific tracks in multiple audio formats with controlled timing. The minimizable, compact UI ensures the tool remains accessible without cluttering the Riffusion interface.

⚠️ CRITICAL USAGE ADVISORY ⚠️

  • The deletion functionalities bypass standard Riffusion confirmation dialogues.
  • Deletions performed by this script are immediate and permanent. THERE IS NO UNDO CAPABILITY.
  • Exercise extreme diligence to confirm your selections in Selective Mode or your intent in Bulk Mode before initiating any deletion.
  • It is strongly recommended to first test with Selective Mode on a small number of non-critical songs to verify correct operation in your environment before considering Bulk Deletion.
  • The Download Queue automates click actions rapidly. Ensure that delay settings are appropriate for your system and network conditions to prevent unintended consequences.
  • Future updates to the Riffusion website मई potentially impact the script's functionality. Please report any encountered issues.

Operational Guide:

  1. Install the userscript via a compatible browser extension (e.g., Tampermonkey, Violentmonkey).
  2. Navigate to any https://www.riffusion.com/ page (song lists are primarily found on /library/my-songs).
  3. A small "RM" icon will appear in the top-right corner of the page. Click this icon to open the Multitool control panel.
  4. The Main Menu provides access to the different tools:
    • Selective Deletion:
      • Utilize filters (Ignore Liked, Keyword Ignore) to refine the song list.
      • If "Auto-Update Lists" is disabled, click "Reload List" to populate/refresh the list based on current page content and filters.
      • Select songs via checkboxes (or use "Select All Visible").
      • Click "Delete Selected" to initiate deletion.
    • Bulk Deletion:
      • Click "Delete Entire Library". Verify your intent absolutely before proceeding. Acknowledge the in-script warning.
    • Download Queue:
      • Optionally, filter the displayed list using the keyword input. If "Auto-Update Lists" is disabled, click "Reload List" as needed.
      • Choose desired Download Formats (MP3, M4A, WAV).
      • Adjust Inter-Song Delay and Intra-Format Delay (seconds) if necessary.
      • Select songs for download using checkboxes (or "Select All", "Select/Deselect Liked"). The "C" button clears all selections.
      • Click "Start Download Queue" to begin.
  5. Monitor the status message at the bottom of the panel for operational feedback.
  6. Use the "Back to Menu" button within each tool to return to the main tool selection.
  7. Click the "_" icon in the panel header to minimize the UI.

Compatibility:

  • Primarily developed and tested on Google Chrome with Tampermonkey.
  • Designed for use on https://www.riffusion.com/*, with core list functionalities most relevant on pages displaying song lists (e.g., /library/my-songs).

Credits:

  • Developed by Graph1ks (with AI assistance from Google).

QingJ © 2025

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