XBMC channel numbering changes (with vdr-vnsiserver))

  Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
decaturguy Offline
Senior Member
Posts: 144
Joined: Mar 2009
Reputation: 0
Location: Sweden
Post: #11
FernetMenta Wrote:do you see a change of the parameters in channels.conf when reordering of channels occur?

in vdr it set to NOT update channels.conf
setup.conf
UpdateChannels =0

0 : means no update,
1 : will only update channel names,
2 : will update channel names and PIDs,
3 : will perform all updates and also add newly found channels, and
4 : will also add newly found transponders.
if my providers make changes to channels like change channel names or pid they usually don't do that maybe once every 1,5 - 2 years. i set to UpdateChannels =2 and as for new channels i add it manually.
find quote
opdenkamp Offline
Team-XBMC PVR Developer
Posts: 1,946
Joined: Feb 2009
Reputation: 24
Location: Heerlen, The Netherlands
Post: #12
in that case it's a bug in the vnsi add-on.
channel unique ids may not change. if they change, xbmc will think it's a new channel.

opdenkamp / dushmaniac

xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)]
personal website: [link]

Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log.

If you like my work, please consider donating to me and/or Team XBMC.
find quote
FernetMenta Offline
Team-XBMC Member
Posts: 1,622
Joined: Jul 2010
Reputation: 34
Location: Munich
Post: #13
that's what i am trying to find out. maybe my question was not clear enough.

vdr's unique channel id is comprised of Source, SID, NID, TID, RID. This is a string similar to : S19.2E-1-1089-12003-0. SID, NID, TID, RID are the last 4 numbers of a line in channels.conf.

if this problem is related to vnsi's construction of a channel's uid, you should notice a change of one of those numbers when the problem occur (typically after a restart). if not, we have to look somewhere else.

i have seen the problem too, but it does not happen very often.
find quote
FernetMenta Offline
Team-XBMC Member
Posts: 1,622
Joined: Jul 2010
Reputation: 34
Location: Munich
Post: #14
the problem is identified and will be fixed soon in vdr-plugin-vnsiserver.
find quote
decaturguy Offline
Senior Member
Posts: 144
Joined: Mar 2009
Reputation: 0
Location: Sweden
Post: #15
Thanks Big Grin thats good news, keep up the good work.
find quote
ant_thomas Offline
Fan
Posts: 355
Joined: May 2008
Reputation: 0
Location: Manchester, UK
Post: #16
Now for the missing EPG. Anyone else using VNSI having EPG issues?
find quote
FernetMenta Offline
Team-XBMC Member
Posts: 1,622
Joined: Jul 2010
Reputation: 34
Location: Munich
Post: #17
the channel uid fix is already online. incorrect uids could have been the cause for missing epg data as well. can you try the fix and don't forget to delete tv and epg databases.
find quote
decaturguy Offline
Senior Member
Posts: 144
Joined: Mar 2009
Reputation: 0
Location: Sweden
Post: #18
ant_thomas Wrote:Now for the missing EPG. Anyone else using VNSI having EPG issues?

I just upgraded vnsi-plugin and xbmc, the channel-list problem is gone.
I don't have any problem with EPG. For me when it comes to xbmc-pvr EPG is the only thing stable and Every time i upgrade i usually delete or move the EPG and TV database file and start from scratch.
find quote
herrjones Offline
Junior Member
Posts: 9
Joined: Oct 2010
Reputation: 0
Location: Belgium
Post: #19
FernetMenta Wrote:
Code:
VDR VNSI Client: Logged in at '1303333503+7200' to 'VDR-Network-Streaming-Interface (VNSI) Server' Version: '0.0.1' with protocol version '140174847639554'

that's a bit strange. protocol should be 1 or 2. what version of the vnsi vdr plugin are you using?

another problem might be vdr's unique channel id. according to vdr doc it is defines as: SRC-NID-TID-SID-RID. if one of those paramters is changed, a channel gets a new unique id: PVR will create a new entry for this channel and will delete the old one -> position will change as well.

- can you compare you channels.conf and check if it changes?
- if this is the case, you can try to turn of channel update in setup.conf

maybe we need to find a different way to determine uniqueness of a vdr channel
I am using a git build, build from source
Anyway, it works :-) , even without the correct version

Jan
find quote
decaturguy Offline
Senior Member
Posts: 144
Joined: Mar 2009
Reputation: 0
Location: Sweden
Post: #20
FernetMenta Wrote:the channel uid fix is already online. incorrect uids could have been the cause for missing epg data as well. can you try the fix and don't forget to delete tv and epg databases.

Hi FernetMenta!

I'm having problem with the new fix, It worked well the first day. I have channels that airs after 18:00,19:00 and 23:00, yesterday it was imported at the end thats normal behavior and i moved it to its original place. This morning everything perfect all channels are in the right place and now its after 19:00 and those channels are on top channel number 1 and 2 Sad
find quote