NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 29 30 31 32 33 … 93 Next »
AutoIT for plugins

 
  • 0 Vote(s) - 0 Average
AutoIT for plugins
aescalante
Offline

Junior Member

Posts: 8
Threads: 3
Joined: Aug 2008
#1
2008-08-11, 10:26 PM
Has anybody thought of the possibility of making some sort of autoit development wrapper? autoit is a scripting language with a huge user base. if this was somehow made and worked well i myself could make a ton of cool plugins.

I am just looking for some sort of system that will tie into the nice GUI that is already available
K.S.
Offline

Senior Member

Posts: 526
Threads: 12
Joined: Oct 2006
#2
2008-08-12, 07:28 AM
hmmm, call me uninspired, but what do you want to achieve with that? some others (me too) also use autoit (search for StartGBPVR on the wiki & forum), it's great as a invisible helper in the background (as watchdog for app & service & remote & etc...) or as a start up wrapper in a client/server setup or as a wrapper around DVDShrink (all examples as used here around with GBPVR). otherwise: dunno if autoit apps with GUI would be of much help (GBPVR in FSE mode might be a hindrance). if you just want some menu entry in the gui to start a specific autoit script: no need for a wrapper, define a custom task in config & point it to your script Wink

aescalante Wrote:if this was somehow made and worked well i myself could make a ton of cool plugins.

that sounds great, share you ideas & we'll see if you'll still need anything else or if it's something not so easy to integrate
sub Wrote:Yep, what he said.

curiosity killed the cat Big Grin
idkpmiller
Offline

Posting Freak

Posts: 817
Threads: 141
Joined: May 2006
#3
2008-08-12, 07:38 AM (This post was last modified: 2008-08-12, 09:31 AM by idkpmiller.)
GameZone will allow you to launch any batch file or exe file (see "XtraEmulators" tab in config) it can can also provide a filename which is selected by the user as part of the commandline offered to the application. I could add multiple selection if it was required.

Take a look if it sounds like it will help, see the link in my siganture

Cheers
Let the Games begin...Round 2!
GameZone v2.9.6 - PVRx2 1.4.7 compatible!

[Image: 1299379.png]
Dava
Offline

Member

Posts: 172
Threads: 20
Joined: Oct 2006
#4
2008-08-12, 08:37 AM
I also string my system together with Autoit and I also currently use Slimms gbpvrcli to extract data from gbpvr.

I would like it if I could do this directly with the app to get more data, without the extra dependency.

Specifically, I write to a graphical display and would like to display the name of currently playing programme, position and possibly a small representation of the currently selected menu item so that net radio etc is controllable with the plasma off. These are not available via gbpvrcli.

My guess is that there is a DLL or COM object that would be useable and would like to go into this further once I have the core system back up and running.
[SIZE="1"][COLOR="Navy"]___________________________________________________________________________________________
Main HTPC:GBPVR 1.4.7, XP, Gigabyte 780G, X2 4450e, 2GB, HD3200(not) , MSI Nvidia 8600GTS
,2 x WinTV PVR-USB2, Videomate S350.
Clients: P4 2.8GHz-1GB RAM-XPpro, ATI 9550, MVP.[/COLOR][/SIZE]
K.S.
Offline

Senior Member

Posts: 526
Threads: 12
Joined: Oct 2006
#5
2008-08-12, 02:26 PM
Dava Wrote:I also string my system together with Autoit and I also currently use Slimms gbpvrcli to extract data from gbpvr.
I would like it if I could do this directly with the app to get more data, without the extra dependency.

more data is too inaccurate in regard of gbpvr. do you want data from the DB? no problem, it's sqlite nobody will hinder you to read directly from the DB, you'll only have to do all the math (currently recording/pending recording/etc...) yourself.

Dava Wrote:Specifically, I write to a graphical display and would like to display the name of currently playing programme, position and possibly a small representation of the currently selected menu item so that net radio etc is controllable with the plasma off. These are not available via gbpvrcli.

you may want to take a look at http://gbpvr.com/pmwiki/pmwiki.php/Utility/IMONVFD it's a plugin to write data to an specific LCD but it's also capable of writing that data to a text file for other usages. it also has the source code for your viewing pleasure Smile

Dava Wrote:My guess is that there is a DLL or COM object that would be useable and would like to go into this further once I have the core system back up and running.

that's the point: when i took a look around & poked inside the dll's for one plugin i changed to my needs i learned of one limitation: the app itself (gbpvr/pvrx2) won't communicate anything about the current status. it won't tell other apps via COM if it's playing back a video or whatever. you can't directly access the dll from outside of the app (at least if sub did not change that meanwhile). if you want an external app to have direct access to the gbpvr.exe/pvrx2.exe to query status or whatever, you'll have to do so on your own, there are enough examples around (bleepbloop/IMONVFD) to get you started about status/navigation, no need to reinvent the wheel, you'll only have to get the COM part going Wink
sub Wrote:Yep, what he said.

curiosity killed the cat Big Grin
Dava
Offline

Member

Posts: 172
Threads: 20
Joined: Oct 2006
#6
2008-08-13, 08:48 AM
K.S. Wrote:take a look at http://gbpvr.com/pmwiki/pmwiki.php/Utility/IMONVFD

Having a quick look at the source, it seems that extracting current position and DVD Title etc is possible. Thanks for the pointer.
[SIZE="1"][COLOR="Navy"]___________________________________________________________________________________________
Main HTPC:GBPVR 1.4.7, XP, Gigabyte 780G, X2 4450e, 2GB, HD3200(not) , MSI Nvidia 8600GTS
,2 x WinTV PVR-USB2, Videomate S350.
Clients: P4 2.8GHz-1GB RAM-XPpro, ATI 9550, MVP.[/COLOR][/SIZE]
aescalante
Offline

Junior Member

Posts: 8
Threads: 3
Joined: Aug 2008
#7
2008-08-13, 10:56 PM
as some of you ahve mentioned autoit helps with some of the backend scripting and functionality.

example.. in autoit its pretty easy to invoke a remote desktop object. i wanted to be able to have a few of the servers that i administer within gbpvr (i know this sounds stupid but for the most part the servers that i work with are set to 800x600 for easy use on my winmo phone) just an RDP window within the cool blue interface of gbpvr. it would just be great to fire up some music (already in gbpvr) and do some quick work for a client all from my bed. this is just an example. C# and vb.net seems like a monumental undertaking to learn but if the GUI was accessible somehow for autoit (i wouldnt know how to do this... im a script guy) then i think we would have a lot more plugin possibilities.

please dont rip me apart for the rdp example... just an example.
K.S.
Offline

Senior Member

Posts: 526
Threads: 12
Joined: Oct 2006
#8
2008-08-14, 08:12 AM
aescalante Wrote:example.. in autoit its pretty easy to invoke a remote desktop object. i wanted to be able to have a few of the servers that i administer within gbpvr (i know this sounds stupid but for the most part the servers that i work with are set to 800x600 for easy use on my winmo phone) just an RDP window within the cool blue interface of gbpvr. it would just be great to fire up some music (already in gbpvr) and do some quick work for a client all from my bed. this is just an example. C# and vb.net seems like a monumental undertaking to learn but if the GUI was accessible somehow for autoit (i wouldnt know how to do this... im a script guy)

ok, lets see if i understand what you do (or want to do). you have a gbpvr client (laptop/whatever?) where you listen to music & meanwhile you start up some rdp sessions through autoit on other machines to do some work, right? now you want the rdp sessions (obviuosly not full screen mode Big Grin) to be integrated into the gbpvr gui...
hmmm, what benefit would you gain from that? you will still need mouse&kb for your rdp chores...
if i would really want something like that i would rather do it the following way: custom task in gbpvr to start the script, first part in the script would switch gbpvr to windowed mode & take care to manipulate the window size of gbpvr & position it somewhere on the right side of the desktop (lets assume you have some nasty toy with a 1920x1200resolution, that would give you plenty space to fire up 3 rdp sessions & still have the gbpvr client in 800x600), start up the rdp sessions & scatter them over the desktop. voila, you're ready to work via rdp & have gbpvr where you could even watch tv meanwhile.

you obviously miss something in gbpvr, although i don't understand what... if you have more examples, please post them. i would be surprised if there would not be some way or another to get it working Wink
sub Wrote:Yep, what he said.

curiosity killed the cat Big Grin
aescalante
Offline

Junior Member

Posts: 8
Threads: 3
Joined: Aug 2008
#9
2008-08-14, 10:04 PM
my entire GBPVR system is connected to my in house phone system and my cell phones. (pick up a wireless house phone and make a call from the house or from my cell or my girlfriends cell) ---> i could make an autoit based plugin to make and receive phone calls with callerid support. add csv input functionlity and you can keep your outlook/anycontact app phone numbers readily available to dial out.

pictures ---> i could make a gbpvr plugin that will write to sqlite. this plugin will allow people viewing pictures to tag photos from a preselected list of tags. later you can search and view based off of tag information (easy menu system so you dont need a keyboard).
K.S.
Offline

Senior Member

Posts: 526
Threads: 12
Joined: Oct 2006
#10
2008-08-18, 04:35 PM
aescalante Wrote:my entire GBPVR system is connected to my in house phone system and my cell phones. (pick up a wireless house phone and make a call from the house or from my cell or my girlfriends cell) ---> i could make an autoit based plugin to make and receive phone calls with callerid support. add csv input functionlity and you can keep your outlook/anycontact app phone numbers readily available to dial out.

not sure if it has all the features you want, but why reinvent the wheel? => http://gbpvr.com/pmwiki/pmwiki.php/Plugin/CallerId

aescalante Wrote:pictures ---> i could make a gbpvr plugin that will write to sqlite. this plugin will allow people viewing pictures to tag photos from a preselected list of tags. later you can search and view based off of tag information (easy menu system so you dont need a keyboard).

nice idea. you want to somehow integrate that in the GUI:
- post it on the wish list (i doubt sub will have the time to integrate the requested features anytime soon into the existing photo library)
- if you still want to go the autoit way, custom task to start your script (already posible but will not work with full screen exclusive mode), the rest would have to come from you (UI in autoit, navigation, tagging etc...)
- take a look at that plugin here http://gbpvr.com/pmwiki/pmwiki.php/Plugin/Files & ask McBainUK if it would be possible to add some custom action (that would be the part where you could call whatever you want with the current file, i.e. call your script with some parameters, one of them the file, the other the tag?)
sub Wrote:Yep, what he said.

curiosity killed the cat Big Grin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Plugins and NPVR. Where do we start? sub 80 73,304 2020-11-26, 10:02 PM
Last Post: mandai
  I want to start developing plugins...but how? OrenShapir 6 4,472 2014-11-18, 10:38 PM
Last Post: mvallevand
  Tuner plugins and client id mvallevand 2 2,286 2013-07-03, 01:39 AM
Last Post: mvallevand
  Tuner Plugins - Output folders mvallevand 2 2,264 2013-02-19, 07:45 PM
Last Post: mvallevand
  .NET 4 plugins? McBainUK 20 8,424 2012-12-11, 08:48 PM
Last Post: sub
  Integrated Development Environment (IDE) for plugins osx-addict 5 3,123 2012-10-18, 08:35 PM
Last Post: osx-addict
  Tuner plugins mvallevand 4 2,763 2012-08-05, 11:19 PM
Last Post: mvallevand
  Recorder plugins - Deleting tuners mvallevand 1 1,718 2012-03-29, 12:51 AM
Last Post: sub
  Recorder plugins - scheduling mvallevand 4 2,753 2012-03-26, 05:09 PM
Last Post: mvallevand
  Client - Tuner plugins mvallevand 53 15,165 2011-09-17, 07:19 PM
Last Post: mvallevand

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode