SKUNKER
11-19-2005, 08:05 AM
WOW !!! This is the coolest thing i have seen since i got my coolsat !!!
Re: How to create your own Custom List
--------------------------------------------------------------------------------
I've had some requests to post my perl script I use to aid in creating new templates. If you know nothing about Perl, please skip this post.
A little background on what this does: This script will connect to EchoStar Knowledge Base and Lyngsat. Particular information is "scraped" from these two sites and meshed together resulting in a complete new template.csv file ready for export into an existing channel list using ChannelMaster. At the beginning of the script, you will be asked to input an existing template file...this is only used to rename channels per the users choice. If a file is not picked, default channelnames from lyngsat will be used & if particular channels were not found on Lyngsat, then EKB channelnames will be used.
First thing that needs to be completed is downloading the latest ActivePerl build. Link is here for Windows XP: hXXp://downloads.activestate.com/ActivePerl/Windows/5.8/ActivePerl-5.8.7.815-MSWin32-x86-211909.msi
Below are instructions I gave when walking someone through my custom package needed to run my script:
* Install the ActivePerl build linked above - use default install
* Download the packages below and unzip to a new folder.
* Within this unzipped folder, you will have a folder named "Modules" - click that to open
* Double-click the "Runme 1st" file.
* Double-click the "Runme 2nd" file. You will have to hit <Enter> 7-seven times to complete. If you are not prompted to hit <enter> something is wrong with your original Perl install - uninstall, and try again until prompted to hit <enter>.
* Copy all contents in this modules folder to your "C:\Perl" folder, selecting <yes> to over-write files.
* Hit the <start> button on the bottom left of your Windows screen - Navigate to "All Programs" and find "ActivePerl 5.8.7 Build 815".
* Click on "Perl Package Manager" - This will bring up a command prompt kind of like a DOS prompt.
* Type "install Win32-GUI" - wait for it to complete
* You are finished!
* Double-click "Compiled Template Maker.pl" file and you are now running my script. The first thing you will see is a prompt to choose a template file, for starters you can choose my v29 file included in the package as it contains renamed channels friendly to our FTA boxes. Hitting "cancel" will leave all channels named as they are in LyngSat, or EchoStar KnowledgeBase if not found in Lyngsat. Selecting an existing template file will rename all found channels as they are in the existing template.
* Let the script run. Make sure your internet connection is active. My PC takes about 30 seconds, my old laptop took about 2 minutes. You will then see 3 newly created files, one being the new template called "Combined Template.csv", the other two are log/info files.
Thats it!
Please note that this is not a Perl support forum. Support for Perl can be found at hXXp://www.cpan.org/
As I stated above, if you do not know anything about Perl, or it's usage, please skip this post. I am releasing this script because I've had several requests to do so from members here and afar.
I would also like to extend a hearty thanks to Deadbee/Samurai for all the time he spent helping me with this project & direction he gave me in learning Perl. I've basically compiled information from some of his original scripts and created this for my own use. Please note that this is a work in progress for me, and if any of you know perl and choose to use this script, I'd appreciate feedback and/or suggestions for future versions.
Regards
Re: How to create your own Custom List
--------------------------------------------------------------------------------
I've had some requests to post my perl script I use to aid in creating new templates. If you know nothing about Perl, please skip this post.
A little background on what this does: This script will connect to EchoStar Knowledge Base and Lyngsat. Particular information is "scraped" from these two sites and meshed together resulting in a complete new template.csv file ready for export into an existing channel list using ChannelMaster. At the beginning of the script, you will be asked to input an existing template file...this is only used to rename channels per the users choice. If a file is not picked, default channelnames from lyngsat will be used & if particular channels were not found on Lyngsat, then EKB channelnames will be used.
First thing that needs to be completed is downloading the latest ActivePerl build. Link is here for Windows XP: hXXp://downloads.activestate.com/ActivePerl/Windows/5.8/ActivePerl-5.8.7.815-MSWin32-x86-211909.msi
Below are instructions I gave when walking someone through my custom package needed to run my script:
* Install the ActivePerl build linked above - use default install
* Download the packages below and unzip to a new folder.
* Within this unzipped folder, you will have a folder named "Modules" - click that to open
* Double-click the "Runme 1st" file.
* Double-click the "Runme 2nd" file. You will have to hit <Enter> 7-seven times to complete. If you are not prompted to hit <enter> something is wrong with your original Perl install - uninstall, and try again until prompted to hit <enter>.
* Copy all contents in this modules folder to your "C:\Perl" folder, selecting <yes> to over-write files.
* Hit the <start> button on the bottom left of your Windows screen - Navigate to "All Programs" and find "ActivePerl 5.8.7 Build 815".
* Click on "Perl Package Manager" - This will bring up a command prompt kind of like a DOS prompt.
* Type "install Win32-GUI" - wait for it to complete
* You are finished!
* Double-click "Compiled Template Maker.pl" file and you are now running my script. The first thing you will see is a prompt to choose a template file, for starters you can choose my v29 file included in the package as it contains renamed channels friendly to our FTA boxes. Hitting "cancel" will leave all channels named as they are in LyngSat, or EchoStar KnowledgeBase if not found in Lyngsat. Selecting an existing template file will rename all found channels as they are in the existing template.
* Let the script run. Make sure your internet connection is active. My PC takes about 30 seconds, my old laptop took about 2 minutes. You will then see 3 newly created files, one being the new template called "Combined Template.csv", the other two are log/info files.
Thats it!
Please note that this is not a Perl support forum. Support for Perl can be found at hXXp://www.cpan.org/
As I stated above, if you do not know anything about Perl, or it's usage, please skip this post. I am releasing this script because I've had several requests to do so from members here and afar.
I would also like to extend a hearty thanks to Deadbee/Samurai for all the time he spent helping me with this project & direction he gave me in learning Perl. I've basically compiled information from some of his original scripts and created this for my own use. Please note that this is a work in progress for me, and if any of you know perl and choose to use this script, I'd appreciate feedback and/or suggestions for future versions.
Regards