craigmox / cetonproxy

An app that allows a Ceton InfiniTV PCI/network tuner to appear as a SiliconDust HDHomeRun to DVR apps like NextPVR, Plex, and Emby.
GNU General Public License v3.0
23 stars 7 forks source link

Minimize / Taskbar Option #6

Open BuddahKat opened 4 years ago

BuddahKat commented 4 years ago

Great work on this, been using for a couple of weeks now with Emby and it works like a charm. I dropped a few bucks in your beer fund for the effort, enjoy!

One question, how difficult (or is it possible already?) would it be to have the program start minimized or run in the background instead of popping up in a full window? As this is now the primary way I watch TV, making it 'wife-friendly' is always a concern and having an unfamiliar window open and stay on the screen upon startup isn't ideal, especially if it essentially has to run all the time. Is there an easy way to automatically minimize to a taskbar icon, i.e. like other programs that are in the overflow next to the clock? I was thinking I could do something with AutoHotkey and a batch file, maybe open cetonproxy first, minimize, and then open Emby... but even that would still leave it running as open program in the taskbar. It seems like once you get it setup there's not much to change, so can it just run as background service or something?

Just bouncing off some quick ideas, but would love you thoughts / suggestions whenever you get time. Thanks again for a great product!

craigmox commented 4 years ago

Hey thanks for the support! Sure I can put in a tray icon option when I get a chance.

cornesto commented 4 years ago

Temporary suggestion: You can run it as a service through the built in Task Scheduler in Windows. Just create a New Task with the following parameters:

General - Select "Run whether user is logged on or not". It may be a good idea to create a separate user account for cetonproxy to run as, but you can use your existing account of choice. Triggers - "At Startup" Action - "Start a program" Start a Program - Browse to cetonproxy directory and select the .exe

When you restart your computer you should see cetonproxy in task manager running in the background. Only caveat is if you need to make any modifications you'll have to kill that task and open it manually in order to get to the gui.

BuddahKat commented 4 years ago

Awesome, thanks so much for the suggestion, just tried and it seems to work really well!