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
Affiliate link
 
 
 

Affiliate link: Life360 protects each family member with advanced driving, digital, and location safety features. Choose the plan that fits your family’s size and life stage.
mentalinc

2461 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

 

 


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

2461 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

 

 




talsemgeest
75 posts

Master Geek


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

Gotcha. Now everything is working nicely.

mentalinc

2461 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

 

 


mentalinc

2461 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

 

 


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

2461 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

 

 


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

2461 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

 

 


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

2461 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

 

 


mentalinc

2461 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

 

 


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

2461 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

 

 


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 »

D-Link G415 4G Smart Router Review
Posted 27-Jun-2022 17:24


New Zealand Video Game Sales Reaches $540 Million
Posted 26-Jun-2022 14:49


Github Copilot Generally Available to All Developers
Posted 26-Jun-2022 14:37


Logitech G Introduces the New Astro A10 Headset
Posted 26-Jun-2022 14:20


Fitbit introduces Sleep Profiles
Posted 26-Jun-2022 14:11


Synology Introduces FlashStation FS3410
Posted 26-Jun-2022 14:04


Intel Arc A380 Graphics First Available in China
Posted 15-Jun-2022 17:08


JBL Introduces PartyBox Encore Essential Speaker
Posted 15-Jun-2022 17:05


New TVNZ+ streaming brand launches
Posted 13-Jun-2022 08:35


Chromecast With Google TV Review
Posted 10-Jun-2022 17:10


Xbox Gaming on Your Samsung Smart TV No Console Required
Posted 10-Jun-2022 00:01


Xbox Cloud Gaming Now Available in New Zealand
Posted 10-Jun-2022 00:01


HP Envy Inspire 7900e Review
Posted 9-Jun-2022 20:31


Philips Hue Starter Kit Review
Posted 4-Jun-2022 11:10


Sony Expands Its Wireless Speaker X-series Range
Posted 4-Jun-2022 10:25









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.