MediaPortal Version: 1.1
MediaPortal Skin: default
Windows Version: xp x32 sp3
CPU Type: Intel Dual CPU E2160 @ 1.8 GHz
HDD: Seagate 500 GB
Memory: 3.25 (technically 4) DDR2 800
Motherboard: Gigabyte EP43-DS3L
Video Card: NVIDIA GEForce 9500 GT
Video Card Driver: NVIDIA 6.14.11.9621
Sound Card: Realtek integrated
Sound Card AC3:
Sound Card Driver: Realtek 5.10.0.5653
1. TV Card: ATI TV Wonder 600 PCIe
1. TV Card Type: analog & ATSC
1. TV Card Driver: ATI 6.14.10.394
2. TV Card: ATI TV Wonder 750 PCIe
2. TV Card Type: ATSC
2. TV Card Driver: ATI 6.14.10.394
3. TV Card:
3. TV Card Type:
3. TV Card Driver:
4. TV Card:
4. TV Card Type:
4. TV Card Driver:
MPEG2 Video Codec:
MPEG2 Audio Codec:
h.264 Video Codec:
Satelite/CableTV Provider:
HTPC Case:
Cooling:
Power Supply:
Remote: Total Media In Hand
TV: n/a
TV - HTPC Connection:
A bit of a background. I have now used MP for some time using WebEPG to get the data for my channels. This works great but I encountered 2 issues. 1. It takes an awfully long time to download the data and 2. It does not show me whether an episode is a repeat or new.
So I had to basically go to another web tv listing to double check whether an episode was new or not. Often, I ended up recording it only to find out it was a repeat. I tried to modify the grabber for WebEPG to get the new or repeat data but was unsuccessful.
I eventually decided to give xmltv a try again. I was unsuccessful earlier. After getting zap2xml.exe working and loading properly into MP, I also noticed that it uses the "*" to signify a new or live show but it appends it to the title. I didn't really like that and also wanted to be able to distinguish between "new" and "live" shows. So I decided to modify the perl script to be able to identify "new" and "live" shows and instead of appending it to the title, I have it appending to the description instead. Thus it does not alter the title at all.
It was a bit of a challenge at times trying to figure out the code since I didn't really know perl but the original author was very good at making it as modular as possible thus easier to modify. I am attaching the modified perl script in text form and use Strawberry Perl and a batch file to update this every day.
If you want more details, I would be glad to give you all more. This is for those who already have it working but would like a tweak for the identification between live and new shows.
btw, you can get a copy of Strawberry Perl here: Strawberry Perl for Windows
You will want Strawberry Perl so that it can run the Perl script without compiling. You will see this in my batch file. Once you download and install Strawberry Perl, you can run any perl script apparently without first compiling them into a Windows executable file.
And you will want a copy of Notepad++ if you want to easily edit perl scripts here: Download | 5.8.6
I am attaching the portions of the zap2xml.pl script that I have altered in text form since this forum does not permit .pl scripts as attachments.
Here is my batch file:
cd c:\
perl zap2xmlmod.pl -u email@emailserver.com -p mypassword -d 14 -o C:\tvguide.xml -A "new live"
cd C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal TV Server\xmltv\
copy c:\tvguide.xml
del c:\tvguide.xml
Lastly, I am attaching a screenshot of my tvguide with the "new" and "live" designations in the description. In the end, I was able to deal with the two issues. First, this batch file runs in about 1-2 minutes. Your time will vary depending on the number of days and the number of channels. Second, I was able to get the description to tell me if an episode is new or not. So now I don't have to go to a different tv listing to see if a show is a repeat or not.
Hope this helps others.
MediaPortal Skin: default
Windows Version: xp x32 sp3
CPU Type: Intel Dual CPU E2160 @ 1.8 GHz
HDD: Seagate 500 GB
Memory: 3.25 (technically 4) DDR2 800
Motherboard: Gigabyte EP43-DS3L
Video Card: NVIDIA GEForce 9500 GT
Video Card Driver: NVIDIA 6.14.11.9621
Sound Card: Realtek integrated
Sound Card AC3:
Sound Card Driver: Realtek 5.10.0.5653
1. TV Card: ATI TV Wonder 600 PCIe
1. TV Card Type: analog & ATSC
1. TV Card Driver: ATI 6.14.10.394
2. TV Card: ATI TV Wonder 750 PCIe
2. TV Card Type: ATSC
2. TV Card Driver: ATI 6.14.10.394
3. TV Card:
3. TV Card Type:
3. TV Card Driver:
4. TV Card:
4. TV Card Type:
4. TV Card Driver:
MPEG2 Video Codec:
MPEG2 Audio Codec:
h.264 Video Codec:
Satelite/CableTV Provider:
HTPC Case:
Cooling:
Power Supply:
Remote: Total Media In Hand
TV: n/a
TV - HTPC Connection:
A bit of a background. I have now used MP for some time using WebEPG to get the data for my channels. This works great but I encountered 2 issues. 1. It takes an awfully long time to download the data and 2. It does not show me whether an episode is a repeat or new.
So I had to basically go to another web tv listing to double check whether an episode was new or not. Often, I ended up recording it only to find out it was a repeat. I tried to modify the grabber for WebEPG to get the new or repeat data but was unsuccessful.
I eventually decided to give xmltv a try again. I was unsuccessful earlier. After getting zap2xml.exe working and loading properly into MP, I also noticed that it uses the "*" to signify a new or live show but it appends it to the title. I didn't really like that and also wanted to be able to distinguish between "new" and "live" shows. So I decided to modify the perl script to be able to identify "new" and "live" shows and instead of appending it to the title, I have it appending to the description instead. Thus it does not alter the title at all.
It was a bit of a challenge at times trying to figure out the code since I didn't really know perl but the original author was very good at making it as modular as possible thus easier to modify. I am attaching the modified perl script in text form and use Strawberry Perl and a batch file to update this every day.
If you want more details, I would be glad to give you all more. This is for those who already have it working but would like a tweak for the identification between live and new shows.
btw, you can get a copy of Strawberry Perl here: Strawberry Perl for Windows
You will want Strawberry Perl so that it can run the Perl script without compiling. You will see this in my batch file. Once you download and install Strawberry Perl, you can run any perl script apparently without first compiling them into a Windows executable file.
And you will want a copy of Notepad++ if you want to easily edit perl scripts here: Download | 5.8.6
I am attaching the portions of the zap2xml.pl script that I have altered in text form since this forum does not permit .pl scripts as attachments.
Here is my batch file:
cd c:\
perl zap2xmlmod.pl -u email@emailserver.com -p mypassword -d 14 -o C:\tvguide.xml -A "new live"
cd C:\Documents and Settings\All Users\Application Data\Team MediaPortal\MediaPortal TV Server\xmltv\
copy c:\tvguide.xml
del c:\tvguide.xml
Lastly, I am attaching a screenshot of my tvguide with the "new" and "live" designations in the description. In the end, I was able to deal with the two issues. First, this batch file runs in about 1-2 minutes. Your time will vary depending on the number of days and the number of channels. Second, I was able to get the description to tell me if an episode is new or not. So now I don't have to go to a different tv listing to see if a show is a repeat or not.
Hope this helps others.