| |||||||
| Development You want to code something for the TV-Server? Share it in here! |
![]() |
| | Thread Tools | Display Modes |
| | #22 (permalink) |
| Portal Member Join Date: May 2005 Location: Schagen, The Netherlands Age: 36
Posts: 194
Thanks: 0
Thanked 0 Times in 0 Posts
Country: | No, it's not like that at all. NA users usually know their channels by number. We Europeans (well, most of us, I guess) do not. Therefore MediaPortal added the checkbox you describe. However, that puts the channel selection mode into some sort of indexed / offset mode. You can then select 'the fourth channel' in the list by pressing '4' on your remote. What I'm looking for is this: - I press '4' on the remote, MP switches to the channel which is labeled '4' (we need an extra column for this in the database). This does not necessarily have to be the fourth channel.Perhaps I have no channels labeled '3' or '2'. This is common practice in the Netherlands (at least with Casema, Multikabel and TV@Home) where, for instance, the Belgian channels 'een' and 'Ketnet' are on 'channels' 21 and 22 followed by 'TV Noord' on channel 31. There you have it, a gap in the channel sequence. Furthermore, labels '21' and '22' have nothing to do with frequencies whatsoever. Those labels originate from the infinite wisdom of our DVB-C providers, and are subject to change without notice. On my STB I am able to select the abovementioned channels by pressing 21 and 22 on my remote. In MP however, I have to know at which position (or offset) those channels are stored. To me, this is a bit confusing, because MP has not replaced my STB (yet). See what I mean? For a full list: check http://mgv.multikabel.nl/images/dtv-...overzicht.html Edit: On second thought, what W_Z has come up with is not bad at all. However, I am not that happy with the column and table used by this solution. I still think this column should be in the groupmap table (idchannel, idgroup, channelNr).
__________________ If it ain't broken, DO try to fix it Last edited by hansdegit; 2007-09-19 at 22:58. |
| | |
| | #24 (permalink) |
| Portal Member Join Date: Mar 2007 Location: Denver, Colorado
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Country: | This is the appropriate column for the job. With analog cable in NA, that column is filled with the channel number for the station. Another example is analog antenna signals in NA. In both of these cases, the provider is assigning the channel number, there is no user control. The name "Channel Number" is directly translated into NA channels. Channel Numbering using grouping is not too bad to deal with until you have 4-5 providers. Most providers don't step on each other with channel numbers, but they do cross boundaries. We could have overlapping channel numbers in different groups (providers). I don't think grouping was made with this in mind. It has always been a pain for NA to make dummy channels in order to get channel changing by number to work correctly using "favorite" channel numbering of EURO. I think grouping works great for grouping channels together, but the channel number should not affect grouping, or grouping affect channel numbers. I would go one step further with the code, and instead of looking at all channel numbers, it looks at channel numbers for the channels in the current group. Using All Channels group would give you access to all provders. And to look into the future, our digital signals in NA now have ‘–‘ in channel numbers (i.e. 9-2). That would be an interesting column in grouping ![]()
__________________ IcePick |
| | |
| | #26 (permalink) |
| Portal Member Join Date: Mar 2007 Location: Denver, Colorado
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Country: | My first copy and paste I have "utilized" WZ__ code to get full screen TV to change channels when channel number is entered. This is a major improvement for NA users! I'm still looking for testers, but I have it installed in 3 different places and it works. I now use the group "All Channels" and can switch between my cable, ATSC, DISH channels without going into the guide. I just simply enter the channel number to zap. The requirements are the same, in that you need to have channelnumber populated (analog cable, and ATSC populate on scan), And you uncheck indexed channel numbering (non US) in mp setup. I have attached the tvplugin setup, and the changed code in the zip. the setup is based on today's svn, so install this setupPlugin.msi instead. Please post your experience.
__________________ IcePick |
| | |
| | #27 (permalink) |
| Portal Member Join Date: Sep 2007 Location: Georgetown, ontario
Posts: 47
Thanks: 3
Thanked 1 Time in 1 Post
Country: | Icepickrg, do you have an updated version (based on a newer build)? This is an excellent idea! are there plans to make this a permanent addition to the code? |
| | |
| | #28 (permalink) |
| Portal Member Join Date: Mar 2007 Location: Denver, Colorado
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Country: | here is a build from last night. I have talked with WZ__ about this, and he said that he put the channel change by number in full screen to begin with. I'm not sure how it worked before my code change, but a regular svn allows you to change channel by number in full screen without my fix. WZ_ admits that he forgot about the 2 digit limitation, which I for sure added in this build. Channel number is limmited only by the digit count under mp setup (explained in other posts here). at least 3 lines of my code is worth something I seen how channel change worked in tvguide.cs, and copied and pasted into tvfullscreen.cs so did I do doubble work? and/or is it looking up the channel twice? - I donno. As far as it getting into svn? LOL I wish . I'm a hack, not a dev, so unless another dev indorses my code, it will never go in.Slowly but surely learning code.......
__________________ IcePick |
| | |
| | #30 (permalink) |
| Portal Member Join Date: Nov 2007 Location: Toronto Age: 38
Posts: 54
Thanks: 2
Thanked 1 Time in 1 Post
Country: | It's an option in the TVplugin on the client. You need to enable "show channel numbers." If you want the channel numbers to be correct, then you have to execute the sql query to copy the SID to the channel number column in SQL server. The single line of sql code is shown back at the beginning of this thread. |
| | |
![]() |
| Bookmarks |
| Tags |
| change, channel, channelnumber, code, sid |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Use SID as channel number when scanning your Sats. | ASiDiE | Improvement Suggestions | 8 | 2008-01-30 02:00 |
| Changing channel by Sid not channelid | Nox71 | pre 1.0 RC1 | 1 | 2007-05-02 09:09 |
| twinhan dvb-t signal 0, code change | lar282 | The old Bugreport Forum | 3 | 2006-03-10 12:41 |
| Change Channel using F7/F8 Changes Group, not channel | Anonymous | General Support | 2 | 2005-11-04 17:30 |
| TV Channel code all over the place | Anonymous | General Development (no feature request here!) | 4 | 2004-12-13 11:05 |