iptv-org / epg

Utilities for downloading the EPG (Electronic Program Guide) for thousands of TV channels from hundreds of sources.
https://iptv-org.github.io/
The Unlicense
1.84k stars 210 forks source link

npm run grab is not adding channel metadata to *.xml output #2161

Closed socphoenix closed 1 year ago

socphoenix commented 1 year ago

Site

tvtv.us

Description

running npm run grab -- --site=tvtv.us outputs a guide with the channel programming, but it doesn't list the channels at the top like it used to and is causing jellyfin to fail to import the guide as it only sees one channel. It is printing out the first channel, but then none of the rest and just outputting the programming data.

Running: npx epg-grabber --config=sites/tvtv.us/tvtv.us.config.js --channels=sites/tvtv.us/tvtv.us.channels.xml --output=guide.xml --days=2

fixes the issue but that wasn't in the guide I found that searching through the issue tracker.

yarafie commented 1 year ago

I'm facing the same problem in other iptv apps so its not just jellyfin. Testing npx eog-grabber ..... as you mentioned above and will check if that works

AahzNotOz commented 1 year ago

I'm seeing the same and added a description to a question I posted a couple days ago. I'm seeing the same file structure you describe and I'm using ChannelsDVR, which does not work with what it is getting back. I'll try your command to see if that fixes the issue for me.

AahzNotOz commented 1 year ago

I gave it a try, and it is semi working for me. I'm getting guide data in ChannelsDVR now for some channels, but not all. I'll need to look into the files in more detail. My first guess is that the "channel id" name at the top of the file is not matching up with the "channel" name with the actual guide data.

AahzNotOz commented 1 year ago

So it looks like the channels I'm getting from https://iptv-org.github.io/iptv/countries/mk.m3u do not match the channels that are in the epg\sites\maxtvgo.mk\ folder. There are a few channels, which is why I'm seeing some channels with guide data, but more than half the channels in the .m3u file are not in the guide data files, and there are several channels in the guide data that are not in the .m3u file. Not sure where to go from here with this.

freearhey commented 1 year ago

Fixed in #2171