From 81fb294859c092673e05caab6ed7e8916bbe0603 Mon Sep 17 00:00:00 2001 From: Kelly Brazil Date: Sun, 17 Jul 2022 11:30:53 -0700 Subject: [PATCH] add m3u example --- EXAMPLES.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/EXAMPLES.md b/EXAMPLES.md index ec4b5ef7..c326e6a0 100644 --- a/EXAMPLES.md +++ b/EXAMPLES.md @@ -2197,6 +2197,24 @@ lsusb -v | jc --lsusb -p # or: jc -p lsusb -v } ] ``` +### M3U and M3U8 +```bash +cat playlist.m3u | jc --m3u -p +``` +```json +[ + { + "runtime": 105, + "display": "Example artist - Example title", + "path": "C:\\Files\\My Music\\Example.mp3" + }, + { + "runtime": 321, + "display": "Example Artist2 - Example title2", + "path": "C:\\Files\\My Music\\Favorites\\Example2.ogg" + } +] +``` ### mount ```bash mount | jc --mount -p # or: jc -p mount