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 
psk20

155 posts

Master Geek


  #280625 9-Dec-2009 09:54
Send private message

Thanks everyone.

Just a quick question. I'm using BSE atm, and was having it download from xmltvnz automatically.

Is the best way to get epg.pvr.geek.nz going to set up a .bat file (man, I honestly think I haven't done that since about 1996!) that uses wget to download the file from http://epg.pvr.geek.nz/epg/freeview.xml.gz and then using .gzip to unpack the file, and bsetool.exe -all to update the guide (provided that it's configured to get the guide info from the appropriate file, in this case freeview.xml).

Is there an argument you can add to the end of a command line to run the program with administrator priviledges? At the moment I have set up a .bat file to do the above - it SEEMS to be working! If I run the .bat file manually though, I get a UAC prompt. Using Task Scheduler I think I've managed to get around this (ticking a box for the task saying "run with highest priviledges" but maybe there's a better way of doing this?

It looks like my colours are working now. I didn't realise that in fact most genres don't get a colour. At the moment, over half of the shows don't get colour coded, presumably because they don't fit into any of news, sport, movie, kids. It would be pretty nice if 7MC assigned a colour to "series" and "documentary" too!




Gigabyte GA-M52S-S3p|AMD Phenom 9750|4GB 800Mhz|Sapphire hd4870 512|Hauppauge HVR-2200|Philips 1080p 47" 47PFL7422 LCD|LG GGC-H20L Blu-ray ROM|Windows 7 Ultimate x64|PowerDVD 7.3 BD Edition|Onkyo TX-SR 575



browned
636 posts

Ultimate Geek
+1 received by user: 36


  #280681 9-Dec-2009 11:43
Send private message

Batch file with wget and gzip works well.

Scheduled task is the way to go with admin privileges ticked, in fact BSE supports this by creating a task to run it, but you might as well do wget and gzip in the same file so you don't have multiple tasks for the same thing.

Once you have the task setup, you can export it to xml so if you ever have to recreate it you can simply import the xml file and it's done.




Home Server: AMD Threadripper 1950X, 64GB, 56TB HDD, Define R6 Case, 10GbE, ESXi 6.7, UNRAID, NextPVR, Emby Server, Plex Server.
Lounge Media Center: NVIDIA Shield TV 16GB: Kodi18 with Titan MOD, Emby.
Kids Media Center: NVIDIA Shield TV 16GB: Kodi18 with Titan MOD, Emby.
Main PC: Ryzen 7 2700, 16GB RAM, RX 570, 2 x 24"


RustyGonad
495 posts

Ultimate Geek

Trusted

  #280717 9-Dec-2009 12:07
Send private message

You can remap the colours using BSE to any genre you want.

For example you could map "special" to say "series" by tagging it "isSpecial", rather than is series ie under genres, find series, select "isSpecial" as well as "isSeries"

The only catch is you only have 5 colours to play with.



mikehayton
45 posts

Geek
+1 received by user: 1

Trusted
Microsoft

  #282212 14-Dec-2009 11:28
Send private message

to run as command with elevated permissions try the runas command

runas /?




This posting is provided "AS IS" with no warranties, and confers no rights.

browned
636 posts

Ultimate Geek
+1 received by user: 36


  #282227 14-Dec-2009 12:01
Send private message

runas will not accept a password that is passed by the command line you will have to type it each time. It is how Microsoft made the command and really does make sense from a security point of view.

Scheduled Tasks are the only way to run apps with admin privileges without user input (after task creation).




Home Server: AMD Threadripper 1950X, 64GB, 56TB HDD, Define R6 Case, 10GbE, ESXi 6.7, UNRAID, NextPVR, Emby Server, Plex Server.
Lounge Media Center: NVIDIA Shield TV 16GB: Kodi18 with Titan MOD, Emby.
Kids Media Center: NVIDIA Shield TV 16GB: Kodi18 with Titan MOD, Emby.
Main PC: Ryzen 7 2700, 16GB RAM, RX 570, 2 x 24"


mikehayton
45 posts

Geek
+1 received by user: 1

Trusted
Microsoft

  #282229 14-Dec-2009 12:05
Send private message

my bad.




This posting is provided "AS IS" with no warranties, and confers no rights.

1 | 2 
View this topic in a long page with up to 500 replies per page Create new topic








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.