New directory based system for channels
This commit is contained in:
parent
3e6d29670c
commit
b84a3060c1
8 changed files with 466 additions and 241 deletions
25
README.md
25
README.md
|
|
@ -42,12 +42,29 @@ make
|
|||
|
||||
## Media
|
||||
|
||||
The player scans `./media` for supported video files and converts filenames into channel names and current program titles.
|
||||
The player scans `./media` for channel directories. Each subdirectory is treated as one channel, and the supported video files inside it are played in alphabetical order as that channel's schedule.
|
||||
|
||||
Current sample channels:
|
||||
Optional metadata can be provided with `description.txt` inside each channel directory:
|
||||
|
||||
- `media/reading.mp4`
|
||||
- `media/computers.mp4`
|
||||
```txt
|
||||
name=Reading
|
||||
number=56
|
||||
description=Books, documentaries, and reading-focused programming.
|
||||
```
|
||||
|
||||
Example layout:
|
||||
|
||||
```txt
|
||||
media/
|
||||
reading/
|
||||
description.txt
|
||||
01-intro.mp4
|
||||
02-feature.mp4
|
||||
computers/
|
||||
description.txt
|
||||
01-chronicles.mp4
|
||||
02-demo.mp4
|
||||
```
|
||||
|
||||
## Fonts
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue