YAY: Automate switching the Channel List to external sources (1 Viewer)

A

Anonymous

Guest
This should save your fingers from some mouse-bound and typing torture and all you need is to tell Notepad to do all the work for you. I've done this twice myself and it works great, but haven't had anyone else try it to confirm it works. The XML guide files don't seem to care what order the <entry> tags are in so I didn't run into any problems.

Warning: If you have edited your channel list in Media Portal configure program, you will need to clear it and re-import it from the tvguide for this to work properly. If you feel queezy about doing this just from my word alone, you can use XML export to backup your current channel list settings (export as channellist_old.xml or something)

1. In Media Portal configure program, import all channels from tvguide
2. export list to an XML file (channelist_clean.xml or something)
3. Open XML file in Notepad
4. Use Find/replace to switch
<entry name="number">
with
<entry name="Exernal Tuner Channel">

That changes all of your internal (TV tuner) channels to external ones without forcing you to re-enter 1000 numbers. But now you need to denote that the incoming source is Svideo or composite. So...

5. You now have two fields marked as "External Tuner Channel" so Use find/replace to switch
<entry name="External Tuner Channel"></entry>
with
<entry name="number">50000</entry>

For some reason, when a chanel is set as an external source the number field is then used NOT for the channel number, but to denote what type of external signal is being used. 50000 denotes S-Video (most of the time) and 50001 denotes composite #1 and so on. You can double check these later.

But wait! You still need to mark all the channels as external! Easy!
6. Use Find/Replace to switch
<entry name="External">no</entry>
with
<entry name="External">yes</entry>

7. Save the file under a new name (channellist_edited.xml or something)
7. In Media Portal configure program, Clear your channel list (don't worry, you exported it as a seperate XML file earlier)
8. In Media Portal configure program, import from XML the file you just made (channellist_edited.xml)

This swip-swap should have flipped all the channel numbers and source settings. If this messed up your list you have your original exported XML channellist that you can reload. This is the process I figured out for myself and it seems to have worked just fine and I can actually see my directv channels now. Let me know if you run into any problems.
 
S

spockware

Guest
Please explain exactly what MP setup screen and button to push to "export to xml". I can find nothing that exports my channels. I've tried "Backup" and this blows saying I have no RecordedTV, etc.

thanks!
 

qawaali

Portal Member
July 15, 2005
21
0
49
Sydney
spockware,

Run Configuration.exe either from your Mediaportal directory or a shortcut on your desktop.

Navigate to Televison>Tv Channels.

Press Backup in the bottom right. Select a name for the file and just press 'ok' if any errors pop up. They are typically telling you things such as "you have no files in your recorded TV database etc.' Igonre these they are just for information.

Regards

Pete
 
S

spockware

Guest
qawaali said:
spockware,

Run Configuration.exe either from your Mediaportal directory or a shortcut on your desktop.

Navigate to Televison>Tv Channels.

Press Backup in the bottom right. Select a name for the file and just press 'ok' if any errors pop up. They are typically telling you things such as "you have no files in your recorded TV database etc.' Igonre these they are just for information.

Regards

Pete
I have followed this sequence of events many times
I get "ChannelList.xml does not exist. Do you want to create it?"

Click Yes

Pop-up window = "No groups to export"

Click OK

Pop-up window = "There is no Recorded TV data to export"

Click OK

Pop-up window = "There is no Recording TV data to export"

Click OK

Then.... no ChannelList.xml to be found. :x

I guess I will post as a bug rather than continue to ruin this Tips & Tricks tread if it works for others...
 

mevo

New Member
April 21, 2006
1
0
Use an SQL command

You can run the SQL tool:
\Docs\SQLite Database Browser.exe

Open the database:
\database\TVDatabaseV21.db3 (or whatever yours is called)

And run the SQL command:
update channel set iChannelNr = '2500' || iChannelNr , bExternal = 1 , ExternalChannel = iChannelNr

Anyone know how to batch/bulk change the Setting that correlates to:
External Tab -> Input Via Field
and set it to SVHS
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

OP Similar threads Forum Replies Date
C How do I get MediaPortal to separate recording files by channel and month? General 2
kiwijunglist Home Automation: Anyone use home assistant / hass.io OffTopic 13
C Telenet analog-to-digital switch -- manually finding and inputting DVB-C channels in Mediaportal2 General 0
high Forum switch to XenForo 2.1 Website/Forum/Wiki Feedback 2
T [solved] MP2 Switch off visualisation when listening to audio....PLEASE!!! General 23
D How to switch versions of Schedules Direct Newcomers Forum 2
bribbon [Pending] Switzerland: DVB-T switch-off on 03 June 2019 Submit: EPG-Grabbers and tuningdetails 0
G Switch to new channel at begining of program automatically Feature Requests 0
cbr954rr Mp loose focus after switching tv off General 1
ge2301 [fixed] [MP2-807] Problem when switching player in PiP mode with audio files MediaPortal 2 32
N How to switch between TV and radio MediaPortal 2 15
T Can I switch off 'audio description'?....(Watchdog error too) General Support 2
D [further infos missing] Problems switching to live tv channel after resume 2.2 Archive 1
I Mediaportal stucks when switching hdmi input on tv General Support 8
C [solved] MP2 - How do I switch off Audio Description? General 19
H [solved] Multiple Network Interfaces Server Issue General 1
A LNB supply voltage does not switch off General Support 0
uxDesign 1.18.0 Exception in BASS when switching to another song Archive 1
Top Bottom