A full-page music player with a modern interface, including download buttons and time display. Credit to https://www.reddit.com/r/opendirectories/comments/1f3fxmu/inline_listning_to_music/ for the idea and base code.
目前為
Music Player for Open Directories
Description:
This script converts open directory listings into a full-page music player. It automatically detects audio files such as MP3, FLAC, OGG, and WAV on the page and presents them in an easy-to-use interface.
Features:
- Full-page music player layout
- Play, pause, previous, next, and random track controls
- Progress bar with current and total play time
- Download button for each track in the playlist
- Parent Directory button for easy navigation
Instructions:
1. Install a userscript manager like Tampermonkey in your browser.
2. Create a new userscript and paste this code into it.
3. Save the script and reload any open directory page with audio files.
4. Use the music player controls to play tracks or navigate through the playlist.
Notes:
- The player will only appear if audio files are detected on the page.
- The Parent Directory button lets you navigate back to the previous directory level.
Credit:
Based on the idea and code from https://www.reddit.com/r/opendirectories/comments/1f3fxmu/inline_listning_to_music/ .