home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
MPExTuneCmd Plugin (Sat. tuner channel changer)
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="kaliatech" data-source="post: 24372" data-attributes="member: 15173"><p>Thanks for creating the plugin 901Racer. However, I found that it wasn't working for me at first. I looked at the source, and I think I found the reason that I (and maybe a few others) are confused as to why the plugin wasn't working as expected.</p><p></p><p>The "Delimiter" field, should probably renamed to "Arguments" or similar. (Per conventional US English anyways.) </p><p></p><p>For example, I was trying to generate a command line like this:</p><p></p><p>[code]...\my.exe -box D10100 #203[/code]</p><p></p><p>To do that, I assumed I setup the MpCmdPlugin with a command of: </p><p></p><p>[code]...\directv.exe -box D10100[/code] </p><p></p><p>and default delimiter of #. However, as I finally figured out, the correct <strong>command/executable</strong> would be:</p><p></p><p>[code]...\directv.exe[/code]</p><p></p><p>with a '<strong>Delimiter</strong>' value of:</p><p></p><p>[code] -box D10100 #[/code]</p><p></p><p>IOTW, I think the delimiter field in the current plugin version is really supposed to be the full set of arguments you want to pass to the executable. The MpExTuneCmd plugin then simply appends the channel number to <em>whatever</em> has been entered in that field. This is why the plugin appears to work for many people using the default setup with the dtvcontrol.exe, but it didn't work for others expecting to be able to use it in a more generic setting requiring additional command line options, but misunderstanding how the field were related. I hope this helps.</p><p></p><p>Fwiw, I also had a few ideas for improving the plugin:</p><ul> <li data-xf-list-type="ul">Change name of current "delimiter" field to "Arguments" on the GUI form and add a short descriptive text explaining the fields.<br /> </li> <li data-xf-list-type="ul">Change functionality by having the plugin do a find/replace of a substition variable rather than just appending the channel on the end. For example, an arguments value like "-Option1 -channel={channel} mycmd" or whatever would then be possible. The plugin would just find/replace any occurrence of {channel} with the actual channel number. Make sense? Probably not necessary, but would make the plugin very flexible.<br /> </li> <li data-xf-list-type="ul">Provide a simple "preview" link or string display on the GUI form showing what the full command line would look like when executed.<br /> </li> <li data-xf-list-type="ul">Maybe make the shell window display a checkbox option? This <em>might</em> help people debug problems with their external programs.</li> </ul><p></p><p>Just some ideas. If you are not interested in doing these changes or maintaining the plugin anymore, please let me know and I'll make the changes and submit a patch via sourceforge.</p><p></p><p>Again thanks for creating the plugin in the first place.</p></blockquote><p></p>
[QUOTE="kaliatech, post: 24372, member: 15173"] Thanks for creating the plugin 901Racer. However, I found that it wasn't working for me at first. I looked at the source, and I think I found the reason that I (and maybe a few others) are confused as to why the plugin wasn't working as expected. The "Delimiter" field, should probably renamed to "Arguments" or similar. (Per conventional US English anyways.) For example, I was trying to generate a command line like this: [code]...\my.exe -box D10100 #203[/code] To do that, I assumed I setup the MpCmdPlugin with a command of: [code]...\directv.exe -box D10100[/code] and default delimiter of #. However, as I finally figured out, the correct [b]command/executable[/b] would be: [code]...\directv.exe[/code] with a '[b]Delimiter[/b]' value of: [code] -box D10100 #[/code] IOTW, I think the delimiter field in the current plugin version is really supposed to be the full set of arguments you want to pass to the executable. The MpExTuneCmd plugin then simply appends the channel number to [i]whatever[/i] has been entered in that field. This is why the plugin appears to work for many people using the default setup with the dtvcontrol.exe, but it didn't work for others expecting to be able to use it in a more generic setting requiring additional command line options, but misunderstanding how the field were related. I hope this helps. Fwiw, I also had a few ideas for improving the plugin: [list][*]Change name of current "delimiter" field to "Arguments" on the GUI form and add a short descriptive text explaining the fields. [*]Change functionality by having the plugin do a find/replace of a substition variable rather than just appending the channel on the end. For example, an arguments value like "-Option1 -channel={channel} mycmd" or whatever would then be possible. The plugin would just find/replace any occurrence of {channel} with the actual channel number. Make sense? Probably not necessary, but would make the plugin very flexible. [*]Provide a simple "preview" link or string display on the GUI form showing what the full command line would look like when executed. [*]Maybe make the shell window display a checkbox option? This [i]might[/i] help people debug problems with their external programs.[/list] Just some ideas. If you are not interested in doing these changes or maintaining the plugin anymore, please let me know and I'll make the changes and submit a patch via sourceforge. Again thanks for creating the plugin in the first place. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
MPExTuneCmd Plugin (Sat. tuner channel changer)
Contact us
RSS
Top
Bottom