orkan/winamp 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

orkan/winamp

Composer 安装命令:

composer require orkan/winamp

包简介

Winamp Media Library CLI tools

README 文档

README

Fixes invalid entries in M3U playlists.

Every time you change the location of your media files, the playlists won't take those changes and you will get the wrong paths. This tool tries to find missing entries in all your playlists and update it accordingly.

For best results, place your media files in alphabetical subfolders (see Media folder). In the case of a different folder layout, semi-automatic methods have been implemented (see Validation).

Installation

$ composer require orkan/winamp

Commands

> vendor\bin\winamp show

Displays Winamp playlists

> vendor\bin\winamp math

Add or substract playlists

> vendor\bin\winamp rebuild

Scan and fix all entries from Winamp playlists.xml or any provided playlist file (*.m3u).

Validation

There are 5 steps to validate each track:

  a) Check that the playlist entry is pointing to an existing file. If not, then:
  b) Check that file exists in mapped location (see Relocate). If not, then:
  c) Check that file exists after renaming (see Rename). If not, then:
  d) Check that file exists in [Media folder] by testing the first letter. If not, then:
  e) Ask for an action:
     [1] Update - enter new path for current track
     [2] Relocate - replace path for current and remaining tracks
     [3] Rename - rename filenames with regex pattern
     [4] Remove - remove current playlist entry
     [5] Skip (default) - leave current track and skip to next one
     [6] Exit - return to prompt line

For more information and options type: vendor\bin\winamp rebuild --help

Media folder

The user [Media folder] structure should be organized into sub folders each named with Regular Expressions notation, describing letters range of filenames they are holding, ie. [A-Z] or [0-9].

Example:

[Media folder]
  |
  +-- [0-9] For filenames starting with a number (also default Escape folder)
  +-- [A-D] For filenames starting with letters: a, b, c, d
  +-- ...
  +-- [T-T] For filenames starting with letter: t

Third Party Packages

About

Requirements

PHP ^7.4

Author

Orkan

License

MIT

Updated

Sat, 13 Apr 2024 01:09:38 +02:00

统计信息

  • 总下载量: 9
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 4
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-04-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固