Posts: 661
Joined: Mar 2009
Reputation:
4
2011-03-08, 19:21
(This post was last modified: 2011-03-08, 19:34 by ijourneaux.)
Ok As you may have seen I have created a new version of HD-Trailers.Net downloader. I tried using ClickOnce as a deployment system. If that worked, the application would automatically update it self on a periodic basis. The problem is ClickOnce's security model means that it must never require admin permission. Where this shows up for end users is that it is difficult to schedule a ClickOnce application to run on schedule using Task Scheduler as Task Schedule requires admin permissions. You can get it to run on schedule but the hoops that HD-Trailer.Net and the end user have to jump through make it inconvenient. I will look ar using a more typical setup package the will install the application normally.
The key new features include
-use of an IMDB scrapper to pull down information on the trailers. Use of the Genre field to exclude or include certain genres. For instance you could configure HD-Trailers.Net Downloader to not download trailers for documentaries
- Create XBMC type movie.nfo files
This is the version I am running on my system. It works more my settings but I have not tested the other settings as well. There is still some work to getting the IMDB scraper to work as well as it is supposed to but the key fields (that will be used by XBMC's Home Cinema Experience) are populated.
I would appreciate any feedback on Version 1.4.
Take Care
Posts: 13,632
Joined: Mar 2010
Reputation:
505
PatK
Team-Kodi Member
Posts: 13,632
2011-03-08, 22:25
Sounds good... liked the last one, but I can only see 1.3 were is 1.4?
Posts: 661
Joined: Mar 2009
Reputation:
4
I am using HD-Trailers.Net RSS feed to access Trailers so at this point, do I don't have the opportunity to request specific trailers.
Posts: 629
Joined: Apr 2010
Reputation:
2
Any way to let the app run in the background (possibly as a service... or with a tray icon) and set the app to schedule another rss feed pull every so many minutes. This would eliminate the need to schedule the app launch. Right now I'm writing another .Net app to work this way... it basically spawns your app as a process every so often and runs all the time hidden.
Posts: 629
Joined: Apr 2010
Reputation:
2
2011-03-10, 03:39
(This post was last modified: 2011-03-10, 17:53 by compcentral.)
Ahh.. I see that this is open source. I'll see what I can do with it.
Edit: Nevermind... C# is not my language of choice. I'll stick with my plan to write a scheduler app.
Posts: 661
Joined: Mar 2009
Reputation:
4
Thanks. Will try it out when I get home. One thing to watch for with ClickOnce applications. When the application gets updated, the actual location of the executable changes as well. Will your scheduler handle that complication?
Posts: 629
Joined: Apr 2010
Reputation:
2
Anyone know how to get Cinema Experience to "see" the genre and rating in the .nfo files to use them the way it does with the AppleMovie Trailers script?
Posts: 629
Joined: Apr 2010
Reputation:
2
2011-03-11, 00:32
(This post was last modified: 2011-03-11, 00:40 by compcentral.)
found a bug with the timing of the scheduler but I already fixed it and uploaded it. If you happened to download the app before now, just re-download and you're all set. Works like a charm for me.
Posts: 661
Joined: Mar 2009
Reputation:
4
ClickOnce could be a good idea but the whole premise is that it must be installable without admin permissions. One nice thing is that it will automatically update the application if there is a new version available (whther or not to do this can be controlled). It maintains several versions of the program do that the installation can be reversed if needed.
That part works but since scheduling a task requires admin permissions. Since ClickOnce is design to accomplish tasks without admin permissions, the capabiltiy to schedule the ClickOnce apps is not easy.
I will probaby go to a standard installter shortly.
Posts: 661
Joined: Mar 2009
Reputation:
4
ClickOnce could be a good idea but the whole premise is that it must be installable without admin permissions. One nice thing is that it will automatically update the application if there is a new version available (whther or not to do this can be controlled). It maintains several versions of the program do that the installation can be reversed if needed.
That part works but since scheduling a task requires admin permissions. Since ClickOnce is design to accomplish tasks without admin permissions, the capabiltiy to schedule the ClickOnce apps is not easy.
I will probaby go to a standard installter shortly.
Posts: 629
Joined: Apr 2010
Reputation:
2
What happens if you try to add the "rundll32.exe dfshim.dll,ShOpenVerbApplication C:\HD-Trailers.application" as a task in Window's task scheduler? That may also work... Didn't think to try that though.