MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal TV-Server » Help on Development » Development


Development You want to code something for the TV-Server? Share it in here!

Reply
 
Thread Tools Display Modes
Old 2007-09-19, 20:07   #21 (permalink)
Portal Member
 
CommGuru's Avatar
 
Join Date: Oct 2006
Age: 31
Posts: 51
Thanks: 1
Thanked 0 Times in 0 Posts


Default

Isn't that why it says "For N/A users." or something like that?
CommGuru is offline   Reply With Quote
Old 2007-09-19, 22:12   #22 (permalink)
Portal Member
 
hansdegit's Avatar
 
Join Date: May 2005
Location: Schagen, The Netherlands
Age: 36
Posts: 194
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Default

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.
hansdegit is offline   Reply With Quote
Old 2007-09-21, 13:30   #23 (permalink)
Portal Member
 
hansdegit's Avatar
 
Join Date: May 2005
Location: Schagen, The Netherlands
Age: 36
Posts: 194
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Default

Would 'SelectionNumber' be a good name for the new column?
__________________

If it ain't broken, DO try to fix it
hansdegit is offline   Reply With Quote
Old 2007-10-04, 06:26   #24 (permalink)
Portal Member
 
Join Date: Mar 2007
Location: Denver, Colorado
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Send a message via MSN to IcePickrg
Default channelnumber column

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
IcePickrg is offline   Reply With Quote
Old 2007-10-09, 11:40   #25 (permalink)
Portal Member
 
hansdegit's Avatar
 
Join Date: May 2005
Location: Schagen, The Netherlands
Age: 36
Posts: 194
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Default

Okay then, agreed. But the table should be the groupmap table.
__________________

If it ain't broken, DO try to fix it
hansdegit is offline   Reply With Quote
Old 2007-10-19, 04:18   #26 (permalink)
Portal Member
 
Join Date: Mar 2007
Location: Denver, Colorado
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Send a message via MSN to IcePickrg
Default channel change in full screen tv

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.
Attached Files
File Type: zip SetupPlugin.zip (2.34 MB, 21 views)
__________________
IcePick
IcePickrg is offline   Reply With Quote
Old 2007-10-25, 02:05   #27 (permalink)
Portal Member
 
Join Date: Sep 2007
Location: Georgetown, ontario
Posts: 47
Thanks: 3
Thanked 1 Time in 1 Post

Country:


Default

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?
fillerguy is offline   Reply With Quote
Old 2007-10-26, 07:07   #28 (permalink)
Portal Member
 
Join Date: Mar 2007
Location: Denver, Colorado
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Send a message via MSN to IcePickrg
Default last build to post

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.......
Attached Files
File Type: zip SetupPlugin.zip (2.34 MB, 34 views)
__________________
IcePick
IcePickrg is offline   Reply With Quote
Old 2008-01-30, 22:52   #29 (permalink)
Portal Member
 
Join Date: Nov 2007
Posts: 205
Thanks: 6
Thanked 15 Times in 9 Posts

Country:

My System

Default

How can I see SID (channel numbers) in TV Server (TVE3)? I only see the channel names and would really like to sort by SID. Do I need this patch or plug-in?
damaster is offline   Reply With Quote
Old 2008-01-31, 00:21   #30 (permalink)
Portal Member
 
Join Date: Nov 2007
Location: Toronto
Age: 38
Posts: 54
Thanks: 2
Thanked 1 Time in 1 Post

Country:

My System

Default

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.
x4mer is offline   Reply With Quote
Reply

Bookmarks

Tags
change, channel, channelnumber, code, sid

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

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


All times are GMT +1. The time now is 12:58.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden