A simple utility to tidy up and rename radio and TV shows downloaded from BBC iPlayer.
2023-11-11 17:17:13 -06:00
.gitignore Update dependencies 2023-09-17 11:43:04 -05:00
go.mod Update install and go.mod for codeberg 2023-11-11 17:17:13 -06:00
go.sum Update deps, move to codeberg 2023-11-11 16:22:40 -06:00
LICENSE Initial commit 2020-11-27 16:44:07 -06:00
main.go Cleanup for 2023 2023-01-06 20:20:21 -06:00
README.md Update install and go.mod for codeberg 2023-11-11 17:17:13 -06:00

mviplayer

This is a simple program to tidy up radio and TV shows downloaded from BBC iPlayer.

Example:

mviplayer *.m4a ~/Radio/

The tags from the m4a files are read and used to rename according to the pattern:

Show Name/sNN eMM Title of Episode.m4a

So in the example, I might end up with ~/Radio/The Goon Show/s07 e15 Wings Over Dagenham.m4a

To test how things will be renamed before renaming them, use the -t option.

To report verbosely what's done, use the -v option.

You can add custom rename rules if the default behavior doesn't work for particular shows. They are held in a file rules.json in ~/.config/mviplayer. Example:

[
  {"from": ":?\\s+Series\\s+\\d+", "to": ""},
  {"from": "Quanderhorn: Quanderhorn", "to": "Quanderhorn"}
]

The first rule renames anything called Show Name Series 2 (and so on) to just the show name.

Installation

go install codeberg.org/meta/mviplayer@latest