Git Product home page Git Product logo

sony-av-indicator's People

Contributors

aschaeffer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

sony-av-indicator's Issues

Problems running on Fedora 26

Trying to run this on Fedora 26 and I get:

ModuleNotFoundError: No module named 'indicator'

So I tried:
export PYTHONPATH='/usr/lib/python3.6/site-packages/sonyavindicator/'
sonyavindicator

Then I get:

Traceback (most recent call last):                                                                                                                                                                                                                                                                                                                                                                                                          
  File "/usr/lib/python3.6/site-packages/sonyavindicator/__main__.py", line 8, in <module>                                                                                                                                                                                                                                                                                                                                                  
    from indicator import SonyAvIndicator                                                                                                                                                                                                                                                                                                                                                                                                   
  File "/usr/lib/python3.6/site-packages/sonyavindicator/indicator.py", line 24, in <module>                                                                                                                                                                                                                                                                                                                                                
    gi.require_version("AppIndicator3", "0.1")                                                                                                                                                                                                                                                                                                                                                                                              
  File "/usr/lib64/python3.6/site-packages/gi/__init__.py", line 118, in require_version                                                                                                                                                                                                                                                                                                                                                    
    raise ValueError('Namespace %s not available' % namespace)                                                                                                                                                                                                                                                                                                                                                                              
ValueError: Namespace AppIndicator3 not available                                                                                                                                                                                                                                                                                                                                                                                           
                                                                                                                                                                                                                                                                                                                                                                                                                                            
During handling of the above exception, another exception occurred:                                                                                                                                                                                                                                                                                                                                                                         
                                                                                                                                                                                                                                                                                                                                                                                                                                            
Traceback (most recent call last):                                                                                                                                                                                                                                                                                                                                                                                                          
  File "/bin/sonyavindicator", line 11, in <module>                                                                                                                                                                                                                                                                                                                                                                                         
    load_entry_point('sonyavindicator==0.9.0', 'console_scripts', 'sonyavindicator')()                                                                                                                                                                                                                                                                                                                                                      
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 563, in load_entry_point                                                                                                                                                                                                                                                                                                                                          
    return get_distribution(dist).load_entry_point(group, name)                                                                                                                                                                                                                                                                                                                                                                             
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2651, in load_entry_point                                                                                                                                                                                                                                                                                                                                         
    return ep.load()                                                                                                                                                                                                                                                                                                                                                                                                                        
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2305, in load                                                                                                                                                                                                                                                                                                                                                     
    return self.resolve()                                                                                                                                                                                                                                                                                                                                                                                                                   
  File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2311, in resolve                                                                                                                                                                                                                                                                                                                                                  
    module = __import__(self.module_name, fromlist=['__name__'], level=0)                                                                                                                                                                                                                                                                                                                                                                   
  File "/usr/lib/python3.6/site-packages/sonyavindicator/__main__.py", line 10, in <module>                                                                                                                                                                                                                                                                                                                                                 
    from sonyavindicator.indicator import SonyAvIndicator
  File "/usr/lib/python3.6/site-packages/sonyavindicator/indicator.py", line 24, in <module>
    gi.require_version("AppIndicator3", "0.1")
  File "/usr/lib64/python3.6/site-packages/gi/__init__.py", line 118, in require_version
    raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace AppIndicator3 not available

Any ideas?

UI Bugs on STR-DN1060

When the app first starts it always shows the sound field as "2 channels" rather than the actual sound field the receiver is set to. Looking at the debug in the console it seems the app is not requesting/being sent information about the should field until it is actually toggled.

I also seem to have triggered a strange bug where if I cycle through the sound fields from the receiver remote it will eventually confuse the app and all of the select box lists will stop updating. They will become ticked if you click them and still send the change to the receiver, but they are never updated or unticked when selecting something else until the app is re-launched.

Notifications do still come through in the system tray.

I'm not sure if this an issue caused by running the app on Fedora 26 or a general issue, so I raised it separate from my Fedora thread in case its a general issue.

Port to Windows

Hi. Very good and usefull program.
Have you any idea, how it can will be ported to windows?

"SyntaxError: Missing parentheses in call to 'print'"

Hey, I have a STR-DN1060 and I'm really keen to get this working. Tried installing on Mac and then on my Raspberry Pi (Raspbian) and both times I get the error: SyntaxError: Missing parentheses in call to 'print'

I'm not familiar with Python but I understand this is some sort of issue between Python 2 and 3 which apparently are hugely different. I imagine this particular issue is easily fixed by adding the "required parenthesis" but I didn't want to go down the road of hacking away at your code until I got your opinion!

Do you know if this is something that wouldn't be too hard to make work? I'm more than happy to thoroughly test everything with my 1060 and help with compatibility.

Thanks!

edit: full debug

Traceback (most recent call last):
  File "/usr/local/bin/sonyavindicator", line 9, in <module>
    load_entry_point('sonyavindicator==0.9.0', 'console_scripts', 'sonyavindicator')()
  File "/usr/lib/python3/dist-packages/pkg_resources.py", line 356, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2476, in load_entry_point
    return ep.load()
  File "/usr/lib/python3/dist-packages/pkg_resources.py", line 2190, in load
    ['__name__'])
  File "/usr/local/lib/python3.4/dist-packages/sonyavindicator/__main__.py", line 10, in <module>
    from sonyavindicator.indicator import SonyAvIndicator
  File "/usr/local/lib/python3.4/dist-packages/sonyavindicator/indicator.py", line 12, in <module>
    import gi
  File "/usr/local/lib/python3.4/dist-packages/gi/__init__.py", line 39
    print url
            ^
SyntaxError: Missing parentheses in call to 'print'

edit: format fix :-)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.