Posts: 6,810
Joined: Jul 2010
Reputation:
198
the file/map could be shared or not. i would share it if each plugin has its own directory for files. haven't checked that yet.
no need to delete this file when deleting the tv db. once a pair has been created it can exist forever.
Posts: 52
Joined: Dec 2009
Reputation:
0
Or make the channel id not integer ? Then VNSI doesnt need to do this. Or if there is a need for integer index, dont rely on meaningful data and generate that in the addon. These strings: "S19.2E-1-1089-12003-0" is the only thing which is guaranteed to be unique. Is there something which makes it an absolute requirement to be integer ?
Posts: 6,810
Joined: Jul 2010
Reputation:
198
the channel unique id is being used a lot in pvr. making it a string would not be very efficient.
i will create a persistent mapping table in the vdr-plugin-vnsiserver, which maps these unique strings to integer values. and provide a switch for the plugin to choose between channel numbers and the mapping table for uids.
Posts: 182
Joined: May 2009
Reputation:
0
rdoac
Senior Member
Posts: 182
I managed to get the plugin from your repo compiled, but can't get the rest of your xbmc compiled, it complains of a vdpau error, tried it with the main xbmc repo
commit 1ec5a336892caaa99664a87437f46d8b4d30d9c4
but can't get Settings/Live TV to stay on.. It keeps deactivating Live TV..
Posts: 6,810
Joined: Jul 2010
Reputation:
198
looks like you compiled the master branch, not staging. use git chckout staging or cherry-pick this commit
Posts: 182
Joined: May 2009
Reputation:
0
rdoac
Senior Member
Posts: 182
? Sorry, am still at stage one of my git experience.
Can you tell a layman how to do this?
Posts: 182
Joined: May 2009
Reputation:
0
rdoac
Senior Member
Posts: 182
Ok, through cludging it, I got it compiled. (Copying the things that didn't compile from the main repository). It does indeed have all channels. So your channel fix works..