File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ const parser = require('iptv-playlist-parser')
17
17
// import parser from 'iptv-playlist-parser'
18
18
19
19
const playlist = ` #EXTM3U x-tvg-url="http://example.com/epg.xml.gz"
20
- #EXTINF:-1 tvg-id="cnn.us" tvg-name="CNN" tvg-url="http://195.154.221.171/epg/guide.xml.gz" tvg-shift="-4.5" timeshift="3" catchup="shift" catchup-days="3" catchup-source="https://m3u-server/hls-apple-s4-c494-abcdef.m3u8?utc=325234234&lutc=3123125324" tvg-logo="http://example.com/logo.png" group-title="News",CNN (US)
20
+ #EXTINF:-1 tvg-id="cnn.us" tvg-name="CNN" tvg-url="http://195.154.221.171/epg/guide.xml.gz" tvg-shift="-4.5" timeshift="3" catchup="shift" catchup-days="3" catchup-source="https://m3u-server/hls-apple-s4-c494-abcdef.m3u8?utc=325234234&lutc=3123125324" lang="eng" tvg-logo="http://example.com/logo.png" group-title="News",CNN (US)
21
21
#EXTGRP:News
22
22
#EXTVLCOPT:http-referrer=http://example.com/
23
23
#EXTVLCOPT:http-user-agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5)
@@ -104,7 +104,8 @@ https
104
104
type: ' shift' ,
105
105
source: ' https://m3u-server/hls-apple-s4-c494-abcdef.m3u8?utc=325234234&lutc=3123125324' ,
106
106
days: ' 3'
107
- }
107
+ },
108
+ lang: ' eng'
108
109
},
109
110
// ...
110
111
]
You can’t perform that action at this time.
0 commit comments