Music Player for Open Dirictories

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.

目前为 2024-08-30 提交的版本。查看 最新版本

作者
Ghosty-Tongue
评分
0 0 0
版本
1.0
创建于
2024-08-30
更新于
2024-08-30
大小
8.3 KB
许可证
MIT
适用于
所有网站

Music Player for Open Directories

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/ .