Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Generates M3U playlist after scanning for configured folders and file extensions

License

NotificationsYou must be signed in to change notification settings

Adeynack/m3ugen

Repository files navigation

A CLI tool scanning folders, filtering files and buildingM3U playlists.

Usage

To install it from this source, use the following script. NB:$GOPATH/bin needs to be in yourPATH variable.

make install

Then call it, specifying at its only argument the configuration file to use.

m3ugen path/to/configuration_file.yaml

Example configuration file (more options are available, but not that relevant to common use, seeconfig.go):

# Path to the output m3u file.output:example.m3u# Will display detailed, but not debug information.# (`debug` shows even more than `verbose`)verbose:true# Optional. Default: false.debug:false# Optional. Default: false.# Will randomize the output listrandomize:true# Limits the number of entries in the playlist.maximum:20# List of folders to scan# eg: Will list all files in and under `foo` and `bar`.scan:  -./test_folder_to_scan/foo  -./test_folder_to_scan/bar# List of file extensions to scan for.# eg: Will output only `*.mp4` and `*.mpg` in the playlist.extensions:  -mp4  -mpg

Development

A useful set of scripts are available through themake command.

make ScriptDescription
buildBuild the main CLI command (cmd/m3ugen).
testRun all the automatic tests in the project.
lintPerformgo vet and additional lint tools to ensure best practices.
checkGood to run before committing. Cleans up the cache, builds, lints, and runs tests.

Example:

make check

About

Generates M3U playlist after scanning for configured folders and file extensions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp