rizik29 Posted May 4, 2015 Share Posted May 4, 2015 I would like to know how is channel id in favorites.xml created. For example, I have line in favorites.xml like this: <entry name="0">2359890960378250333|ProSieben</entry> How is this "2359890960378250333" created? Is it possible to read it from channels.dat? Quote Link to comment
Tjod Posted May 4, 2015 Share Posted May 4, 2015 The channel ID is calculated form reception parameters http://en.DVBViewer.tv/wiki/Recording_Service_API#Add_a_timer And then the DVBViewer checks the channel list for the first god match. (the RS web API channel list provides this ID) Quote Link to comment
rizik29 Posted May 4, 2015 Author Share Posted May 4, 2015 Thanks for the reply, but the forumula (in the link) doesn't give proper channel ID Formula: (tunertype + 1) * 536870912 + APID * 65536 + SID Channel: ProSieben: Tunertype = DVB-S = 1 APID = 512 SID = 17501 Result channel ID = 1107313757 Should be 2359890960378250333. Quote Link to comment
Derrick Posted May 4, 2015 Share Posted May 4, 2015 ..it's a 64 Bit Channel ID Should be 2359890960378250333 =0x20C0 0453 4200 445D Word 0: 0x445D SID Word 1: 0x0200 APID bit 0-12; bit 13..15: Tunertype (0 = undefined, 1 = DVB-C, 2 = DVB-S, 3 = DVB-T, 4 = ATSC) Word 2: 0x0453 TID Word 3: 0x20C0 bit 0..12: orbital position x 10 (range 0...8999), bit 13..14: TV/Radio (0 = undefined, 1 = TV, 2 = Radio, 3 = reserved) Astra 19E: 0192=0xC0 That's pro7 with mpeg audio Quote Link to comment
rizik29 Posted May 4, 2015 Author Share Posted May 4, 2015 Now it's clear. Thanks. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.