Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


View this topic in a long page with up to 500 replies per page Create new topic
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | ... | 22
mentalinc

2866 posts

Uber Geek

Trusted

  #127905 2-May-2008 13:41
Send private message

aether22: Yes, but which do i use?

freeviewNZ-EPG-GBPVR.exe -task 09:00:00 dvbviewerXMLTV.bat or
freeviewNZ-EPG-GBPVR.exe -task 09:00:00 dvbviewer.bat ???

What are the differences?


You can edit and read the file in notepad.
The XMLTV one calls XMLTV to do its thing (import only)
the second one calls my program (Download only)




CPU: AMD 5900x | RAM: GSKILL Trident Z Neo RGB F4-3600C16D-32GTZNC-32-GB | MB:  Asus X570-E | GFX: EVGA FTW3 Ultra RTX 3080Ti| Monitor: LG 27GL850-B 2560x1440

 

Quic: https://account.quic.nz/refer/473833 R473833EQKIBX 


 
 
 

Shop Mighty Ape for electronics, games, computers books and more (affiliate link).
talsemgeest
75 posts

Master Geek


  #127948 2-May-2008 15:53
Send private message

One thing that is still not clear to me is where to use that command. Do I need to manually make a windows scheduled task?

mentalinc

2866 posts

Uber Geek

Trusted

  #127949 2-May-2008 15:58
Send private message

talsemgeest: One thing that is still not clear to me is where to use that command. Do I need to manually make a windows scheduled task?


Which command are you refering to?

"freeviewNZ-EPG-GBPVR.exe -task 09:00:00 dvbviewerXMLTV.bat"

No you dont need to manually set one up just pass my program the 2 commands (time and which file to run)

What this does is schedules a task to run at 9am daily
The task that runs calls the .bat file so put what you need in there.

I have created a few already to do the main tasks required.




CPU: AMD 5900x | RAM: GSKILL Trident Z Neo RGB F4-3600C16D-32GTZNC-32-GB | MB:  Asus X570-E | GFX: EVGA FTW3 Ultra RTX 3080Ti| Monitor: LG 27GL850-B 2560x1440

 

Quic: https://account.quic.nz/refer/473833 R473833EQKIBX 




talsemgeest
75 posts

Master Geek


  #127967 2-May-2008 16:53
Send private message

Gotcha. Now everything is working nicely.

mentalinc

2866 posts

Uber Geek

Trusted

  #128250 3-May-2008 18:14
Send private message

Edit: I messed up.

Newer version on its way very soon




CPU: AMD 5900x | RAM: GSKILL Trident Z Neo RGB F4-3600C16D-32GTZNC-32-GB | MB:  Asus X570-E | GFX: EVGA FTW3 Ultra RTX 3080Ti| Monitor: LG 27GL850-B 2560x1440

 

Quic: https://account.quic.nz/refer/473833 R473833EQKIBX 


mentalinc

2866 posts

Uber Geek

Trusted

  #128269 3-May-2008 19:53
Send private message

Version 1.6.0.0

  • Fixed an issue where Windows was installed on a drive letter other than C:\ when trying to schedule a task
  • Fixed when run to schedule a task no longer attempts to download the EPG data
  • Added detection of where GB-PVR, Mediaportal, Mediaportal TV Server and DvbViewer are installed. (Read from Registry, the user will need admin rights)
  • Now checks to see if the GB-PVR database exists before trying to access it
Thanks to aether22 for finding the bug where windows is not on c:\

Can 64 bit users also test this - I have removed the detection for 64 bit assuming it will be stored in the registry correctly.




CPU: AMD 5900x | RAM: GSKILL Trident Z Neo RGB F4-3600C16D-32GTZNC-32-GB | MB:  Asus X570-E | GFX: EVGA FTW3 Ultra RTX 3080Ti| Monitor: LG 27GL850-B 2560x1440

 

Quic: https://account.quic.nz/refer/473833 R473833EQKIBX 


Antcodd
5 posts

Wannabe Geek


  #131793 19-May-2008 15:20
Send private message

Hi, great software you've made here.

The new path finding method doesn't seem to work - it gives this output and saves the file to C:\ instead:

Checking for newer version
You already have the latest version
Finding install paths
System.NullReferenceException: Object reference not set to an instance of an obj
ect.
   at freeviewNZ_EPG_GBPVR.Program.findInstallPaths()
download location: \tvguide.xml
Operation complete

This needs to be run as admin on vista (right click and you don't need to disable UAC - sick of people saying that you need to /rant) due to regular users not having write prermissions the MediaPortal/GBPVR directory (well C:\) otherwise it says 'An exception has occured during a webclient request' - a more descriptive error message would be great :)

You can change the permission for any folder/file with right click->Properties->Security->Edit, selecting Users and ticking Full Control under Allow - maybe this should be included in the tutorial? Most programs will just write to Compatability Files (VirtualStore in AppData\Local) but Visual Studio 2008 automatically compiles in a vista manifest which turns off these compatability features (by design as they are for compatability with old programs) - this is probably why it doesn't work with the EPG Downloader.

Thanks again for the great software,

Regards,
Anthony



mentalinc

2866 posts

Uber Geek

Trusted

  #131881 19-May-2008 19:34
Send private message

Thanks for that Anthon,
Basically it doesn't work for you if you're using Vista as a non admin user with UAC, is that what you are saying?

If so I'll have a look into it in a while, but at the end of the day people who use this in this forum are likly to be admin users with UAC turned off.

The issue is probably 2 fold - one trying to read the registry and the second writing to the progam files directory.




CPU: AMD 5900x | RAM: GSKILL Trident Z Neo RGB F4-3600C16D-32GTZNC-32-GB | MB:  Asus X570-E | GFX: EVGA FTW3 Ultra RTX 3080Ti| Monitor: LG 27GL850-B 2560x1440

 

Quic: https://account.quic.nz/refer/473833 R473833EQKIBX 


talsemgeest
75 posts

Master Geek


  #131883 19-May-2008 19:40
Send private message

Its true that most of them would have UAC turned off, but the problem stumped me when I first started playing around with your problem. I think it ould be better if you can add a more descriptive message, or at least add it to the how-to pages...

mentalinc

2866 posts

Uber Geek

Trusted

  #131885 19-May-2008 19:48
Send private message

Yeah, I will add in the tutorial if i cant fix it how to make it work for you.

re the error messages: they are the ones generated by .net.

Since i am still testing it putting pretty little messages means the true cause is hidden, which makes it harder to fix.

I now know there is a null reference to hunt for and protect against.




CPU: AMD 5900x | RAM: GSKILL Trident Z Neo RGB F4-3600C16D-32GTZNC-32-GB | MB:  Asus X570-E | GFX: EVGA FTW3 Ultra RTX 3080Ti| Monitor: LG 27GL850-B 2560x1440

 

Quic: https://account.quic.nz/refer/473833 R473833EQKIBX 


Antcodd
5 posts

Wannabe Geek


  #131886 19-May-2008 19:50
Send private message

mentalinc: Thanks for that Anthon,
Basically it doesn't work for you if you're using Vista as a non admin user with UAC, is that what you are saying?

If so I'll have a look into it in a while, but at the end of the day people who use this in this forum are likly to be admin users with UAC turned off.

The issue is probably 2 fold - one trying to read the registry and the second writing to the progam files directory.


Thanks for the fast reply,

Sorry I wasn't very clear, I had to rewrite the whole message after accidentally changing pages. The install path checking doesn't seem to work as admin either - what registry entry is it actually trying to check? (using mediaportal tv server)

Regards,
Anthony

mentalinc

2866 posts

Uber Geek

Trusted

  #131888 19-May-2008 19:52
Send private message

Antcodd:. The install path checking doesn't seem to work as admin either - what registry entry is it actually trying to check? (using mediaportal tv server)

Regards,
Anthony


HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MediaPortal TV Server\InstallLocation

which version are you using? - it might not hav been used until RC1




CPU: AMD 5900x | RAM: GSKILL Trident Z Neo RGB F4-3600C16D-32GTZNC-32-GB | MB:  Asus X570-E | GFX: EVGA FTW3 Ultra RTX 3080Ti| Monitor: LG 27GL850-B 2560x1440

 

Quic: https://account.quic.nz/refer/473833 R473833EQKIBX 


mentalinc

2866 posts

Uber Geek

Trusted

  #131891 19-May-2008 19:56
Send private message

fisher191: Thanks Mentalinc - I will try this tonight. I am using MP TVserver - should this work or will I have a problem with the hard coded path?

Cheers, Greg


So long as you are using RC1 it should work (unless for some crazy reason it put that reg entry there).
If anything reading the registry has resolved a hard coding IE before MP had to be installed in the default location, now in thory it can be where ever you choose to put it.




CPU: AMD 5900x | RAM: GSKILL Trident Z Neo RGB F4-3600C16D-32GTZNC-32-GB | MB:  Asus X570-E | GFX: EVGA FTW3 Ultra RTX 3080Ti| Monitor: LG 27GL850-B 2560x1440

 

Quic: https://account.quic.nz/refer/473833 R473833EQKIBX 


Antcodd
5 posts

Wannabe Geek


  #131936 19-May-2008 22:03
Send private message

mentalinc:
Antcodd:. The install path checking doesn't seem to work as admin either - what registry entry is it actually trying to check? (using mediaportal tv server)

Regards,
Anthony


HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MediaPortal TV Server\InstallLocation

which version are you using? - it might not hav been used until RC1


Assuming that wasn't a typo that key doesn't seem to exist there is this one though:

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MediaPortal TV Server\InstallPath

I notice some other programs use InstallLocation though (why the heck isn't this standardised - lots of apps don't even have the install path) - maybe the old mediaportal version used InstallLocation or you copied and pasted from GBPVR which might use InstallLocation or something. I have the latest RC1 SVN installed - I have installed several SVN builds without reinstalling but did a clean install for RC1. For some wierd reason (string)reg.GetValue("InstallLocation") just returns an empty string but reg.GetValue("InstallLocation").ToString() throws a NullReferenceException - (is this where the exception shown in the output is coming from?). You could just catch the NullReferenceException and try the other path. I had no problems accessing the key running without admin rights in the little test project I tried.

Hope this helps,

Regards,
Anthony

ps: I find it handy commenting out exception handling code temporarily so I can see exactly where the exception occurs

mentalinc

2866 posts

Uber Geek

Trusted

  #131938 19-May-2008 22:32
Send private message

Antcodd:

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\MediaPortal TV Server\InstallPath


yes i copied the wrong bit of code.




CPU: AMD 5900x | RAM: GSKILL Trident Z Neo RGB F4-3600C16D-32GTZNC-32-GB | MB:  Asus X570-E | GFX: EVGA FTW3 Ultra RTX 3080Ti| Monitor: LG 27GL850-B 2560x1440

 

Quic: https://account.quic.nz/refer/473833 R473833EQKIBX 


1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | ... | 22
View this topic in a long page with up to 500 replies per page Create new topic





News and reviews »

Synology Introduces BeeStation
Posted 23-Feb-2024 14:14


New One UI 6.1 Update Brings Galaxy AI to More Galaxy Devices
Posted 23-Feb-2024 10:50


Amazon Echo Hub Available in New Zealand
Posted 23-Feb-2024 10:40


InternetNZ Releases Internet Insights 2023
Posted 20-Feb-2024 10:31


Seagate Adds 24TB IronWolf Pro Hard Drives for Multi-user Commercial and Enterprise RAID Storage Solutions
Posted 19-Feb-2024 16:54


Seagate Skyhawk AI 24TB Elevates Edge Security Capacity and Performance
Posted 9-Feb-2024 17:18


GoPro Releases Quik Desktop App for macOS and Introduces Premium+ Subscription Tier
Posted 9-Feb-2024 17:14


Ring Introduces New Ring Battery Video Doorbell Pro
Posted 9-Feb-2024 16:51


Galaxy AI Transforms the new Galaxy S24 Series
Posted 18-Jan-2024 07:00


D-Link launches AI-Powered Aquila Pro M30 Wi-Fi 6 Mesh Systems
Posted 17-Jan-2024 20:02


Newest LG 4K Lifestyle Projector Doubles as Art Objet
Posted 9-Jan-2024 15:50


More LG Smart TV Owners Set To Enjoy the Latest webOS Upgrade
Posted 9-Jan-2024 15:45


Panasonic Announces the Z95A and Z93A With Fire TV Built In
Posted 9-Jan-2024 15:30


Amazon Echo Pop Review
Posted 8-Jan-2024 14:22


Samsung Tab S9 FE Review
Posted 17-Dec-2023 08:26









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.







Backblaze unlimited backup