Home of the Squeezebox™ & Transporter® network music players.

View Poll Results: Are you interested in IR-over-IP?

Voters
10. You may not vote on this poll
  • Yes, I'd like to have IRoIP.

    6 60.00%
  • No, I don't care.

    4 40.00%
Page 27 of 38 FirstFirst ... 17252627282937 ... LastLast
Results 261 to 270 of 377
  1. #261
    Quote Originally Posted by indifference_engine View Post
    Yup, known problem. There's a discussion and solution here:
    http://forums.slimdevices.com/showpo...&postcount=256

    Please post any SqueezeIR related stuff in the 'SqueezeIR Support Thread' rather than this one.
    Will do, many thanks.

    Cheers, Paul

  2. #262
    Senior Member
    Join Date
    Oct 2008
    Location
    Huntingdon, UK
    Posts
    550
    The above post by Paden seems to make things even more confusing but this is the correct thread for SqueezeIR stuff!!

  3. #263

    Submenus & Controller Side Config-Files

    Yesterday I managed to install this really aewsome plugin on my squeezebox server and played a little bit with it. Now, I have some things I can't get to work (maybe because the needed features are not implemented in squeezeir)

    I tried to solve the points mentioned below, but my programming skills are not that good...

    The first thing I can't get to work: Submenus
    I thought about creating submenus in the menu called "SqueezeIR" (the one in the extras menu). Inside this menu I'd like to create submenus. (e.g. Receiver, etc.). Within these submenus I'd like to have my menu items, one for each funcion. Here some image about the structure:

    <controller root menu>
    |- Extras
    |- SqueezeIR
    |- Receiver
    | |- Item1
    | |- Item2
    |- Other Device

    How can I get this implemented in the SqueezeIR.xml-file. If it is not implemented I want to propose this as a new feature for the xml file (e.g. call it <submenu> tag).

    Interesting would be if it is possible to assign hotkey's to the menus or submenus for getting very fast to the right "device" menu.

    A last useful thing would be to have a persistent copy of the needed config-files (xml and lirc files) on the controller making it work as an ir-controller without server connection (e.g. for controlling receiver function when listening to internet radio). When there is a server connected the controller could again work as it does now and get config files from the server.

    Thanx in advance for your help!
    Last edited by chincheta0815; 2011-01-11 at 04:58.

  4. #264
    Senior Member
    Join Date
    Oct 2008
    Location
    Huntingdon, UK
    Posts
    550
    Quote Originally Posted by chincheta0815 View Post
    Yesterday I managed to install this really aewsome plugin on my squeezebox server and played a little bit with it. Now, I have some things I can't get to work (maybe because the needed features are not implemented in squeezeir)

    I tried to solve the points mentioned below, but my programming skills are not that good...

    The first thing I can't get to work: Submenus
    I thought about creating submenus in the menu called "SqueezeIR" (the one in the extras menu). Inside this menu I'd like to create submenus. (e.g. Receiver, etc.). Within these submenus I'd like to have my menu items, one for each funcion. Here some image about the structure:
    Code:
    <controller root menu>
    |- Extras
       |- SqueezeIR
          |- Receiver
          |  |- Item1
          |  |- Item2
          |- Other Device
    How can I get this implemented in the SqueezeIR.xml-file. If it is not implemented I want to propose this as a new feature for the xml file (e.g. call it <submenu> tag).
    Sub-Menus are indeed available and always have been. You need to look at the <target> tag which is part of an <event>. It's about half-way down this page:
    https://sites.google.com/a/woodbine....zeir/configure
    Basically, create a bunch of <menu> entities in the xml and use the <target> tag of a menu item's <event> to point to the ID of another menu. You can also (but don't have to) include <actions> if you want to fire some ir as well as opening the menu. The <menu> tag of the currently active profile determines which menu is the first to be opened from the Extras screen.

    Quote Originally Posted by chincheta0815 View Post
    Interesting would be if it is possible to assign hotkey's to the menus or submenus for getting very fast to the right "device" menu.
    The hotkey currently goes to the profile's "home menu". However, you can add a <target> element to an event inside a profile's <key> definition to allow you to map any key combination to open any menu (which kind of makes the "proper" Hotkey setting redundant)! Again, you can include some <actions> if you want.

    I may re-define the "proper" hotkey to allow SqueezeIR to be quickly enabled/disabled (a request from some users) and leave the menu-entry shortcut function up to the end-user.

    Quote Originally Posted by chincheta0815 View Post
    A last useful thing would be to have a persistent copy of the needed config-files (xml and lirc files) on the controller making it work as an ir-controller without server connection (e.g. for controlling receiver function when listening to internet radio). When there is a server connected the controller could again work as it does now and get config files from the server.
    Yup, that has been raised before and I am working on it for the next release.

    Coding is going slowly at the moment because 1) I have discovered the joys of having a vegetable patch, and 2) I'm paranoid about breaking the (apparantly) stable code!
    Last edited by indifference_engine; 2011-01-11 at 09:59.

  5. #265
    Senior Member
    Join Date
    Aug 2008
    Location
    Norway
    Posts
    124

    Red face How to link he XML and the LIRC files

    Indifference,

    I have now read through the whole forum as well as your woodbine installation and configuration descriptions, but nowhere have I been able to figure how to modify/adapt the SqueezeIR.xml file so that it will recognize an use the content of my LIRC file.

    Maybe the answer is so obvious since nobody else asked it before, but I'm taking my chances of standing out as the ultimate newbee...

    Mant thanks in advance...
    Last edited by oyvindo; 2011-01-11 at 16:03. Reason: typos...

  6. #266
    Senior Member
    Join Date
    Oct 2008
    Location
    Huntingdon, UK
    Posts
    550
    Quote Originally Posted by oyvindo View Post
    Indifference,

    I have now read through the whole forum as well as your woodbine installation and configuration descriptions, but nowhere have I been able to figure how to modify/adapt the SqueezeIR.xml file so that it will recognize an use the content of my LIRC file.
    WOW! That's serious dedication! Maybe the easiest thing is if you let me know which lirc file you want to use so that I can give you a real-life example to get you started.

  7. #267
    Senior Member
    Join Date
    Aug 2008
    Location
    Norway
    Posts
    124

    How to link he XML and the LIRC files

    Quote Originally Posted by indifference_engine View Post
    WOW! That's serious dedication! Maybe the easiest thing is if you let me know which lirc file you want to use so that I can give you a real-life example to get you started.
    He, he - what else could I do? :-)
    Here's the LIRC file I intend to use <Samsung BN59-00937A IT.LIRC.txt> which I copied as-is into the SBS directory structure next to my SqueezeIR.xml file - but of course, that didn't cause things to magically begin working. I found the file at: http://lirc.sourceforge.net/remotes/...9-00937A.irman
    and I havn't modified it at all (yet), except renaming it.

    Awaiting your reply, Indifference.....
    Attached Files Attached Files
    Last edited by oyvindo; 2011-01-18 at 11:05. Reason: Impatiently waiting :-)

  8. #268
    Senior Member
    Join Date
    Oct 2008
    Location
    Huntingdon, UK
    Posts
    550

    Lightbulb Next Version - Progress Update

    Hi All,

    Version 0.95 is nearing completion with some exciting new features! I thought I would give everyone a sneak preview of what I have been doing before I release it:

    - French translation included (thanks sg2).

    - Popup title display glitch has been fixed.

    - Bug whereby SqueezeIR would crash if it was started when SBS was not available has been fixed.

    - New option to enable/disable SqueezeIR's control of the physical buttons to allow you to regain control of your player (SqueezeIR menus alwayes remain enabled).

    - Hotkey function has been changed to enable/disable the buttons as above (by pressing to enable or holding to disable). The old hotkey function can be assigned to any key using the standard SqueezeIR xml in your profiles like this:
    Code:
    <key ID="BACK"> <!-- make this whatever you want -->
      <events>
        <event ID="PRESS">
          <override>TRUE</override>
          <target>My Menu</target> <!-- menu ID of choice -->
        </event>
        <event ID="HOLD">
          <override>TRUE</override>
          <target>_SETTINGS</target>
        </event>
      </events>
    </key>
    - Tweaked to work with desktop squeezeplay. Useful for testing as the desktop log files are easier to get to. Useless for sending IR codes though!

    - Now the big one! Following a successful config update from SBS, the files are cached to the controller so that you can still use SqueezeIR even if your SBS box is turned off! Unsuccessful updates are loaded into memory but are not cached. There is an option to reload from cache to roll-back the controller to the last successful update (does not affect the files on the server though).

    Still to do:
    - IRoIP


    I do need some input from you guys though!
    I have add to add some new strings so I need some translations please. The new strings.txt (english only at the moment) is attached. Please have a look and pm me your translations for inclusion in the next release.

    Thanks.

    UPDATE:
    ES & DE taken care of by chincheta0815
    FR by SG2

    Still needed:
    DA, NO, (+others)

    UPDATE:
    I have managed to incorporate Greg Badros's code for IR-over-IP (http://badros.blogspot.com/2009/05/i...ote-using.html) with SqueezeIR so, with the next release, if you have a Duet Controller, a well-crafted piece of html, and an Internet connection you can (in principle) control any infra-red device from anywhere in the world over the Internet!! [How cool is that? ]. The url you would need to type into your web browser will be a mirror of the SqueezeIR.xml file and so will be something like this:
    Code:
    http://<controller-IP-addess>:<SqueezeIR-port>/SqueezeIR/<Profiles|Menus>/<ID>/<Keys|Items>/<ID>/<PRESS|HOLD|ALL>?PIN=<pin>?COUNT=<count>
    <SqueezeIR-port> is configurable via SqueezeIR.xml so if you have more than one Controller then it isn't a problem. The PIN parameter is a security feature to guard against possible malicious attacks as discussed earlier in this thread (see posts by peterw on page 11) and is a randomly generated number produced by the controller. The alternative would have to involve https, SSL, and certificates which would be a nightmare to code and awkard to use! The count parameter is because you can't 'hold' a hyperlink so we need some other way of specifying how many times an event should execute. SqueezeIR will respond with 'SqueeseIR: OK: <pin>' if everything is cool and the event is being performed, 'SqueezeIR: UNKNOWN :<pin>' if the request is not found in the xml configuration file, 'SqueezeIR: UNAUTH' if the PIN is incorrect, or 'SqueezeIR: ERROR' if some unknown error occurs (eg communication). Note that the PIN is not echoed back in the last two cases for security reasons. Note also that SqueezeIR's IR-over-IP is event based rather than action based; this makes sense to me but I am open to suggestions...
    Attached Files Attached Files
    Last edited by indifference_engine; 2011-01-18 at 11:22. Reason: UPDATE

  9. #269
    Junior Member
    Join Date
    Aug 2008
    Posts
    21
    Hi,

    Thanks for the new version

    Just sent the FR translations for the new strings by pm.

    Regards,
    --
    Stéphane

  10. #270
    Senior Member
    Join Date
    Oct 2008
    Location
    Huntingdon, UK
    Posts
    550

    Lightbulb

    Quote Originally Posted by indifference_engine View Post
    The url you would need to type into your web browser will be a mirror of the SqueezeIR.xml file and so will be something like this:
    Code:
    http://<controller-IP-addess>:<SqueezeIR-port>/SqueezeIR/<Profiles|Menus>/<ID>/<Keys|Items>/<ID>/<PRESS|HOLD|ALL>?PIN=<pin>?COUNT=<count>
    Scrub that, I've had a better idea!!
    You could just enter http://<controller-IP-addess>:<SqueezeIR-port>/SqueezeIR?PIN=<pin> into your web-browser and SqueezeIR can return a page of hyperlinks listing all of your events for all of your menus and profiles. All you then have to do is click on the right one!

    I think a new tag in the <event> structure could be used to allow you to specify the description that appears on the web page. Another option is a seperate part of the SqueezeIR.xml file to list events that are to be used over the web. The second option is probably easier to code but would make the xml files (even) bigger. Has anyone got any better ideas?
    Last edited by indifference_engine; 2011-01-18 at 11:20.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •