Comments (3)
I think I know what happens. Every programme is an object that knows which programme comes before and after. Also the channel object knows which programme is the first and the last one. When I parse the list to create the output I jump to the first and then to the next until there is no next. When I remove a programme because it is empty I link the previous to the next, only if the removed programme is the first there is no previous and I forgot to check on that event, So in that case the pointer to the first programme for that channel will be empty. I will fix this in the next release.
from tvgrabpyapi.
If you want to fix it in your own set:
tv_grab_channel.py at line 1592 add (the lines starting with a +):
if isinstance(ngap, GapNode):
self.remove_gap(ngap)
+ if pn == self.first_node:
+ self.first_node = nnode
+
+ if pn == self.last_node:
+ self.last_node = pnode
+
gap = self.link_nodes(pnode, nnode)
if isinstance(pnode, ProgramNode):
pnode.next_gap = gap
from tvgrabpyapi.
Added fix to 1.0.8 beta
from tvgrabpyapi.
Related Issues (20)
- Errors retrieving details from tvgids.nl HOT 5
- Extremely slow and data-errors in tvgids.nl HOT 1
- Memory usage? HOT 5
- is it ready for end-user? HOT 7
- tv_grab_nl3.py with --quiet still writes to stderr HOT 4
- Source "Humo" fails HOT 15
- tvgrabpy looping after exception in sources. HOT 6
- NPO Episode Numbers HOT 23
- Lot of programs have missing serie and episode HOT 17
- Hangs HOT 1
- Cannot disable source 8 HOT 15
- Port to Python 3 HOT 14
- Encoding/locale issue in retrieved EPG data HOT 2
- JSON error HOT 4
- tv_grab_fetch error: ValueError: 1 is not in list HOT 9
- Tvgrabber stopped working after json errorin sourcefile for source-horizon.tv HOT 1
- Serie information missing from lot of programs and lot of stations. HOT 5
- BBC First: time offset HOT 5
- tvgrab no longer works due to lack of valid sources HOT 2
- Configure offset -1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tvgrabpyapi.