Changeset 73

Show
Ignore:
Timestamp:
06/08/08 18:40:44 (6 months ago)
Author:
devja..@anarkystic.com
Message:

Added a rest wrapper for services, made setSource drop volume a bit

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • fizzjik/CHANGELOG.txt

    r72 r73  
     1== 0.4.2 == 2008.06.08 
     2* Added a RESTish wrapper for services to make them accessible via the web 
     3* Made the AVR module turn down the volume a bit when changing source 
     4 
    15== 0.4.1 == 2008.06.06 
    26* Added support for the Denon AVR-3085 
  • fizzjik/fizzjik/io/avr3085.py

    r72 r73  
    4343 
    4444    # Source Events 
    45     [r'SI(?P<data>[\w\.]+)', AvrSourceEvent, {'zone': 1}], 
    46     [r'Z1(?P<data>[^O\d][\w\.]+)', AvrSourceEvent, {'zone': 3}], 
    47     [r'Z2(?P<data>[^O\d][\w\.]+)', AvrSourceEvent, {'zone': 2}], 
     45    [r'SI(?P<data>[\w\.\-\\]+)', AvrSourceEvent, {'zone': 1}], 
     46    [r'Z1(?P<data>[^O\d][\w\.\-\\]+)', AvrSourceEvent, {'zone': 3}], 
     47    [r'Z2(?P<data>[^O\d][\w\.\-\\]+)', AvrSourceEvent, {'zone': 2}], 
    4848    ] 
    4949 
     
    7979 
    8080  def setSource(self, zone, source): 
     81    # turn the volume down first, sometimes it can be quite loud 
     82    self.setVolume(zone, 42) 
     83 
    8184    cmd_prefix = {'1': 'SI', '2': 'Z2', '3': 'Z1'} 
    8285    cmd = "%s%s" % (cmd_prefix[str(zone)], source.upper()) 
  • fizzjik/fizzjik/io/basic.py

    r71 r73  
    3434    implements(IInput) 
    3535 
    36     port = 2336 
     36    port = 0 
    3737    factory = LineReceiverFactory 
    3838    builder = Event 
  • fizzjik/setup.py

    r72 r73  
    44 
    55setup(name="fizzjik", 
    6       version="0.4.1", 
     6      version="0.4.2", 
    77      description="Tying together inputs and outputs", 
    88      author="Andy Smith",