-
-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HT-RT5 support (HT-CT790 + two SRS-ZR5) Surround Sound #32
Comments
I think this depends on how the surround sound is implemented, did you check what settings and sound commands are returning? If there is no setting for this, maybe it is implemented with grouping (see #12)? |
Hmm how exactly can i see the settings and sound commands? sorry but im a bit new in "python" im more like a powershell guy. i have installed python sofar on my windows 10 Client including your python-songpal. This is the result what i get when i discover: Found HT-CT790 - BAR-2016
|
Executing |
The linked PR has an initial implementation for (de)grouping the devices, I also added some instructions how to test it. To install the branch you can use pip:
Please let me know how it is working (assuming you wasn't able to find something related with those setting commands I gave earlier! |
so i have installed the branch. i had some problems with your command and received following error.
i have installed git for windows and then you command worked via MINGW64. now im not sure if on the "songpal" in the powershell is the same version like in the MINGW64. (Im still kina a python numb) is it possible to verify the songpal version? can you tell me where i can find the example for grouping and Ungrouping the devices? im exited to see if it works or not. Because there are a different type of grouping for the HT-RTZ7. One for "Multi-Room" Controlling the same Music on each box and one for "Surround Sound" where the Soundbar is controlling the SRS-ZR5. PS: Thank you for your support! And greetings from Germany ;-) |
Simply type Did you check what do See the PR description for instructions how to test the UPnP grouping functionality, this is likely the multiroom functionality you are describing. In three steps:
If you execute a command with
Hope this helps, you are welcome and greetings back! |
so, songpal group says: Usage: songpal [OPTIONS] COMMAND [ARGS]...
Try "songpal --help" for help.
Error: No such command "group".
PS C:\Users\UnkownStranger> songpal --version
songpal, version 0.0.8
PS C:\Users\UnkownStranger> songpal discover
Discovering for 3 seconds
ERROR:ssdp:Error '404 Client Error: Not Found for url: http://192.168.0.16:8008/ssdp/notfound' for http://192.168.0.16:8008/ssdp/device-desc.xml
ERROR:ssdp:Error '404 Client Error: Not Found for url: http://192.168.0.16:8008/ssdp/notfound' for http://192.168.0.16:8008/ssdp/device-desc.xml
ERROR:ssdp:Error '404 Client Error: Not Found for url: http://192.168.0.16:8008/ssdp/notfound' for http://192.168.0.16:8008/ssdp/device-desc.xml
ERROR:ssdp:Error '404 Client Error: Not Found for url: http://192.168.0.16:8008/ssdp/notfound' for http://192.168.0.16:8008/ssdp/device-desc.xml
Found HT-CT790 - BAR-2016
* API version: 1.0
* Endpoint: http://192.168.0.16:10000/sony
* Services:
- Service: guide
- Service: system
- Service: audio
- Service: avContent
Found SRS-ZR5 - MINT1.9.1
* API version: 1.0
* Endpoint: http://192.168.0.17:54480/sony
* Services:
- Service: guide
- Service: audio
- Service: avContent
- Service: system
- Service: appControl
Found SRS-ZR5 - MINT1.9.1
* API version: 1.0
* Endpoint: http://192.168.0.18:54480/sony
* Services:
- Service: guide
- Service: audio
- Service: avContent
- Service: system
- Service: appControl So after that songpal settings doesnt work, only if i include the endpoint like this: WARNING:songpal.service:More than on version for {'name': 'getSourceList', 'versions': [{'version': '1.1'}, {'version': '1.2'}]}, using the first one
WARNING:songpal.service:More than on version for {'name': 'getStorageList', 'versions': [{'authLevel': 'generic', 'version': '1.1'}, {'version': '1.2'}]}, using the first one
WARNING:songpal.service:More than on version for {'name': 'getSystemInformation', 'versions': [{'version': '1.3'}, {'version': '1.4'}]}, using the first one
Sound Settings (deviceConfig)
* ClearAudio+ (clearAudio, value: �[1mon�[0m, type: booleanTarget)
- Ein (on)
* Sound Field (soundField, value: �[1mclearAudio�[0m, type: enumTarget)
- ClearAudio+ (clearAudio)
- Movie (movie)
- Music (music)
- Sports (sports)
- Game Studio (game)
- Standard (standard)
* Night (nightMode, value: �[1moff�[0m, type: booleanTarget)
- Ein (on)
- Aus (off)
* Voice (voice, value: �[1mtype1�[0m, type: enumTarget)
- Up Off (type1)
- Up 1 (type2)
- Up 2 (type3)
* Subwoofer-Lautstärke (subwooferLevel, value: �[1m6�[0m, type: integerTarget)
- Subwoofer-Lautstärke (subwooferLevel)
Toneinstellungen (deviceConfig)
* A/V SYNC (avSyncMs, value: �[1m0�[0m, type: integerTarget)
- A/V SYNC (avSyncMs)
* Dual-Mono (dualMono, value: �[1mmain�[0m, type: enumTarget)
- Haupt/Neben (main_sub)
- Haupt (main)
- Neben (sub)
Playback Mode (playingControl)
* Repeat (repeatType, value: �[1moff�[0m, type: enumTarget)
* Shuffle (shuffleType, value: �[1moff�[0m, type: enumTarget)
* Schnellstart/Netzwerk-Standby (quickStartMode, value: �[1mon�[0m, type: booleanTarget)
- On (on)
- Off (off)
* Automatisches Update (swAutoUpdate, value: �[1mon�[0m, type: booleanTarget)
- On (on)
- Off (off)
* Zeitzone (timeZone, value: �[1mEurope/Berlin|60�[0m, type: stringTarget)
Google Cast (wuTangSetting)
* Share usage data (privacySetting, value: �[1moff�[0m, type: booleanTarget)
- On (on)
- Off (off)
* Activate status (activateStatus, value: �[1mon�[0m, type: booleanTarget)
- On (on)
- Off (off)
* Version number (currentVersion, value: �[1m1.21.76349�[0m, type: stringTarget)
Where do i get the uuid of the slaves? |
You are not running the code from this branch but some previous version, otherwise your discovery would show the UUIDs and the URLs there, and the group command would be available. Unfortunately I have no idea how these things work in Windows, so I cannot help much there. Did the pip install command above install the files in I just added a quick patch to fix the edit: actually looking at the output, the settings is working for you above, but not below?! Are you controlling different speakers here (the second output is from .17, which is SRS-ZR5), but the above is from .16? Nevertheless, that should be fixed now. |
so currently im not able to run the installation with your command: `Unknownstranger@JARVIS MINGW64 ~
Command "python setup.py egg_info" failed with error code 1 in C:\Users\Unknownstranger\AppData\Local\Temp\pip-req-build-9p4mlhfk` This happens inside the powershell and also in the MINGW64. im now try to verify this problem on a raspbi. edit: command also doesnt work on the raspberrypi -> pip install git+https://github.com/rytilahti/python-songpal.git@groupcontrol |
Now it's installing from the correct branch, but I forgot to add that file when releasing the 0.0.9, sorry for that. The file is now there, so install should work again. |
I just rebased the linked PR on top of the current master, meaning that you need to upgrade async_upnp_client ( Btw, could you please create a PR to add |
ty for the update. I was busy the past days, sorry for the late response. the first command worked:
|
Try |
Hello, so see attached the json. (I changed the mac's in the file) There is still some error when i do Discover:
|
Nothing about surround settings (besides the |
Yes, you could sniff the network traffic between your phone and the system, that is probably the easiest way to find out how it functions. I think it will use the grouping function (as implemented in the PR, I hope). |
Closing to inactivity. It would have been great to hear if (and if not) that PR helped with this though.. |
Hello rytilahti,
is it possible to activate and deactivate the Surround Sound via your python-songpal? (I have the HT-RT5. This is a package that includes one HT-CT790 with two SRS-ZR5 Speakers) Its possible to activate and deactivate Sourround Sound via the HT-CT790 Menu or the new Sony "Music Center" App. The "Music Center" app should use the API Interfaces, therefore it should be able to achieve the same goal via your python-songpal.
The text was updated successfully, but these errors were encountered: