Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

New Marantz TCP Control Plugin

Questions and comments specific to a particular plugin should go here.
kkl
Experienced User
Posts: 317
Joined: Wed May 04, 2011 9:32 pm

Re: New Marantz TCP Control Plugin

Post by kkl »

kgschlosser wrote: turn on the time stamps for the log and copy and select the log entries and paste them
Thanks for the tip. That does make it easier to capture.
kgschlosser wrote:I also wanted to make sure you know this... even tho the plugin has the automatically created commands. there are config dialogs for them. not like the old pluigin. so if there is an action that is an "Input" action you can bring up a dialog it will have some blank fields and will limit you to the specific number of digits that can be entered into each field. and it will only enable the test and OK buttons if all fields are filled in

the fields have no labels but you get the point..
I mentioned it just as a reminder in case you planned to trap the error to prevent a traceback.

I still have the port forwarded so that you can access. I would just need to turn off my plug-in to prevent blocking. I suspect it will be easier for you to see what's going on directly. Just don't turn up the volume and blow me out of the house. :wink:
User avatar
kgschlosser
Site Admin
Posts: 5190
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: New Marantz TCP Control Plugin

Post by kgschlosser »

kkl wrote:There are several Marantz and Denon plug-ins. The problem I've had with them is that they don't generate any/many events and/or they stop responding (presumably due to the one telnet connection at a time limitation). This plug-in is nice because it generates lots of events. I've modified it slightly to add Zone2 HDMI commands. Even that probably wasn't necessary because there is a manual command option ('Send Text Option'). Although this is a Marantz plug-in, it works fine with current generation Denon receivers (same parent company). I tested with a Denon AVR-X3200W. Attached is current Denon command reference (v.02, 15 Jul 2016). Rename the extension from .txt to .xlsx.
the command list referenced in this link in very old.

that is the one i used :cry:
If you like the work I have been doing then feel free to Image
kkl
Experienced User
Posts: 317
Joined: Wed May 04, 2011 9:32 pm

Re: New Marantz TCP Control Plugin

Post by kkl »

kgschlosser wrote:
kkl wrote:There are several Marantz and Denon plug-ins. The problem I've had with them is that they don't generate any/many events and/or they stop responding (presumably due to the one telnet connection at a time limitation). This plug-in is nice because it generates lots of events. I've modified it slightly to add Zone2 HDMI commands. Even that probably wasn't necessary because there is a manual command option ('Send Text Option'). Although this is a Marantz plug-in, it works fine with current generation Denon receivers (same parent company). I tested with a Denon AVR-X3200W. Attached is current Denon command reference (v.02, 15 Jul 2016). Rename the extension from .txt to .xlsx.
the command list referenced in this link in very old.

that is the one i used :cry:
I don't understand. Just to be sure, I downloaded it from my post. That file is the Jul. 15, 2016 version, the latest that I know about or can find on Denon's website.

Edit: Oooohhhh, did you use the link from the original author in the first post?
User avatar
kgschlosser
Site Admin
Posts: 5190
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: New Marantz TCP Control Plugin

Post by kgschlosser »

this file you attached...


OK i se what is going on... even tho Denon and Marantz are the same company.. there are different API's

I went and downloaded the one for Marantz. and the one you sent over is from Denon..

and they are in fact different. alot of the commands are the same.. but there are differences..

and also you do find the highest end AVR and grab the API from there?? I don't know what model you have but if there are differences between Marantz and Denon. there may be differences. between the models.. the highest end model which has more function. would have every command available. they may not list those commands on different models..


I am going to have a look see at Denon's website
If you like the work I have been doing then feel free to Image
User avatar
kgschlosser
Site Admin
Posts: 5190
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: New Marantz TCP Control Plugin

Post by kgschlosser »

it is like i said.. the files are different between the models.


it looks as tho the highest end model has the complete list. and they remove commands from the list for the various models. But it looks as tho the highest end one has all the commands,

the one i downloaded from Marantz as well as denon from the highest model from each website. the list i am sure is identical..

funny thing is the files are named differently..

they come across as Denon.pdf and Marantz.pdf.. and they aren't pdf's they are xlsx and the file from Denon is messed up and excel has to recover data from one of the workbooks.

and I have been wanting to replace my AVR and was going to go with Marantz but hell with how simple something like this kind of an API should be they sure did mess it all up. they can't even get the file extensions correct and are posting corrupted files. LMAO... makes me wonder how the quality of their AVR is.

I am going to connect to your AVR this evening. if it is OK with you??? but i also need to know what input you have nothing connected to so if i test the volume i do not want it to play anything..
If you like the work I have been doing then feel free to Image
kkl
Experienced User
Posts: 317
Joined: Wed May 04, 2011 9:32 pm

Re: New Marantz TCP Control Plugin

Post by kkl »

AFAIK, the spreadsheets cover all of the current models at the time they are published. Which commands apply to each model are covered in the columns on the far right of the Command tab. With that many commands there are bound to be a few differences between Denon and Marantz, but not many. The current top of the line Denon is the AVR-X6300H, and that is the protocol file I attached.

I've disabled the plug-in so you can connect. Sometimes it takes a couple of times of Disable then Enable. The Main Zone inputs you can use that have nothing connected are Game (4) and CD (7). I'll be using Zone2 for another hour, then you can mess with that.
User avatar
kgschlosser
Site Admin
Posts: 5190
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: New Marantz TCP Control Plugin

Post by kgschlosser »

that is not the case... seriously download the AIP for the higher model denon.. you will see more commands in there... You would think they would just release one data sheet to cover them all...

if you do go and download the higher model one.. you will have to change the extension from pdf to xlsx not xls and you will have to tell Excel to recover the damaged data.. you will understand..


sorry i did not get a chance to work on it this evening.. possibly tomorrow. I ended up redoing the EventGhost power notifications and added some things to it that i think people would use.. like battery level. monitor state, and what kind of power is running the computer. I also fixed the turn monitor on action for windows 8+

but i will get on this more tomorrow... I did however have some time to change a couple of things.. in eg 0.5 there is a nice add event dialog so I added the code to populate that. and i worked on the debugging end of things. i do have the data storage already set up to eliminate any duplicate events.. that will quiet things down a lot.. I just have to figure out how to handle when a user specifically requests a status. I think that because most of the commands are the same as the responses it should be pretty easy to clear it so it will show.

but I will have to add extra stuff for the ones that aren't the same.
If you like the work I have been doing then feel free to Image
kkl
Experienced User
Posts: 317
Joined: Wed May 04, 2011 9:32 pm

Re: New Marantz TCP Control Plugin

Post by kkl »

kgschlosser wrote:that is not the case... seriously download the AIP for the higher model denon.. you will see more commands in there...
And that's what I posted, the file for the AVR-X6300H, not one that is 'very old'. The Denon and Marantz control protocol is the same, word for word. The only difference is which commands apply to which receiver. I agree there are more commands available on the Denon list, so it made sense to use that.

But why are you torturing yourself trying to include every single arcane command? My guess is that 90+% of these commands will never be used by any EG user ever. And for someone who wants the oddball command, they can look it up and enter it manually. As a common EG user, I'd rather you spend your valuable time on all of the other EG projects that you've been creating and enhancing (not that I get a vote on what you choose to do).
User avatar
kgschlosser
Site Admin
Posts: 5190
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: New Marantz TCP Control Plugin

Post by kgschlosser »

the 6300 is not the top... there is one above it...


this is the file for the top..

you will have to rename it

all i did was rename the extension.. the file actually comes through as Denon.pdf. and you have to change the extension to xlsx. i changed the extension to txt to be able to send it to the board

it's semantics. it doesn't matter.. I just don't understand why a company would do that.


I think i may take a day of from working on my house. i did something to my elbow and it's killing me. I I might put in a good chunk of the day programming.. maybe get this plugin 100% finished. if you are around today to test the thing.. let me know..
Attachments
Denon.txt
(322.87 KiB) Downloaded 111 times
If you like the work I have been doing then feel free to Image
kkl
Experienced User
Posts: 317
Joined: Wed May 04, 2011 9:32 pm

Re: New Marantz TCP Control Plugin

Post by kkl »

kgschlosser wrote:the 6300 is not the top... there is one above it...
The "one above it", the AVR-X7200WA, is actually an older model. It came out a couple of years ago but is still being sold. The current batch of receivers have a 3 as the second number in the model name. 2 is the previous generation. The file you attached is dated July 8, 2014 (See Control Protocol tab, cell O1). The one I uploaded was updated for the AVR-X*300 models and is dated July 15, 2016 (cell O1). I didn't know you were looking at the 7200 or I would have explained this. For further information, see The "OFFICIAL" 2016 Denon "S-Series" / "X-Series" AVR Owner's Thread + FAQ. This thread also discusses Denon v Marantz:
What about these Denons vs. the extremely similar Marantz models?

It's a well known fact that, for several years now, the Marantz AVR models are essentially Marantz-o-fied clones of Denon receivers. If you compare the layout of the back panels, the manuals, the GUI design, settings and features, etc. they are essentially identical. The difference comes down to mostly market positioning, with Marantz utilizing its legacy as a more "audiophile" brand to offer some niche features that may appeal to critical music listening and/or analog fans.

In most cases -- e.g. the Denon AVR-X2200W vs. the Marantz SR5010 -- the platform is the same, with the Marantz coming in at a slightly higher price point for the same basic features ($100 extra msrp in this case). What you get for that extra outlay is (1) Marantz's proprietary HDAM analog circuitry, which is said to improve transparency and fidelity; (2) multichannel 7.1 analog input for connecting a high end SACD player or something; and (3) pre-amp outputs at a lower price point, for connecting external amplifiers.

In nearly every other respect, consider them identical.
Yes, you're welcome to connect to my AVR, until about 1800. Have at it.
User avatar
kgschlosser
Site Admin
Posts: 5190
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: New Marantz TCP Control Plugin

Post by kgschlosser »

but what is interesting is it has the exact same commands as the flagship marantz and the sheet for the marantz is dated 2015 but the flagship is in the list of supported and it came out in 2016 i believe

bah that whole damned company has their heads up their asses.

I don't know which one to use and for what. So i guess i am going to just have to put something together to take all of the current lists from all of the current models. and mash them all together and cross my fingers that all the commands are there... what a pain.. maybe i should send an e-mail first
If you like the work I have been doing then feel free to Image
User avatar
kgschlosser
Site Admin
Posts: 5190
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: New Marantz TCP Control Plugin

Post by kgschlosser »

Here is another test version.. I aded alot more events. and also sorted out the volume... I may have found an error in how the data was coming in and fixed it.. but again this was with my test setup and not a real AVR so i do not know if the problem existed when connect to an AVR.


I also have it spitting out some debugging information. so let me know if you are still having odd commands coming in
If you like the work I have been doing then feel free to Image
kkl
Experienced User
Posts: 317
Joined: Wed May 04, 2011 9:32 pm

Re: New Marantz TCP Control Plugin

Post by kkl »

Sorry for the delay; got busy with something else. Only tested a minority of commands, but looks like the same problem with responses/events. Starting out 'fresh', everything works pretty well, but before very long, the responses/events don't match the last command. I probably need to try setting up a manual telnet connection to issue commands and see what's happening directly. Examples:

Code: Select all

22:17:51   Marantz AVR Serial/TCP/Forwarding: Main Zone Video Select CD
22:18:04   Marantz AVR Serial/TCP/Forwarding: Main Zone Source Aux 1
22:18:06   Marantz Debug - 'Z2SAT/CBL'
22:18:06   Denon.Zone2.Input.Sat/Cable
22:18:06   Marantz Debug - 'Z240'
22:18:06   Marantz: Unknown message, 'Z240'
22:18:06   Marantz Debug - 'SVOFF'
22:18:06   Denon.MainZone.VideoSelect.Off
22:18:06   Marantz Debug - 'Z2ON'
22:18:06   Denon.Zone2.Power.On
22:18:06   Marantz Debug - 'Z2SAT/CBL'
22:18:06   Denon.Zone2.Input.Sat/Cable
22:18:06   Marantz Debug - 'Z240'
22:18:06   Marantz: Unknown message, 'Z240'
22:18:06   Marantz Debug - 'SVOFF'
22:18:06   Denon.MainZone.VideoSelect.Off
22:18:06   Marantz Debug - 'Z2ON'
22:18:06   Denon.Zone2.Power.On
22:18:06   Marantz Debug - 'Z2SAT/CBL'
22:18:06   Denon.Zone2.Input.Sat/Cable
22:18:27   Marantz AVR Serial/TCP/Forwarding: Main Zone Source Status
22:18:27   Marantz Debug - 'Z240'
22:18:27   Marantz: Unknown message, 'Z240'
22:18:27   Marantz Debug - 'SVOFF'
22:18:27   Denon.MainZone.VideoSelect.Off
22:18:32   Marantz AVR Serial/TCP/Forwarding: Main Zone Source Aux 1
22:18:38   Marantz AVR Serial/TCP/Forwarding: Main Zone Source Aux 1
22:18:40   Marantz AVR Serial/TCP/Forwarding: Main Zone Source Aux 1
22:18:45   Marantz AVR Serial/TCP/Forwarding: Main Zone Source Status
22:18:45   Marantz Debug - 'Z2ON'
22:18:45   Denon.Zone2.Power.On
22:18:45   Marantz Debug - 'Z2SAT/CBL'
22:18:45   Denon.Zone2.Input.Sat/Cable
22:18:54   Marantz AVR Serial/TCP/Forwarding: Main Zone Source CD
22:18:56   Marantz Debug - 'Z240'
22:18:56   Marantz: Unknown message, 'Z240'
22:18:56   Marantz Debug - 'SVOFF'
22:18:56   Denon.MainZone.VideoSelect.Off
22:18:56   Marantz Debug - 'Z2ON'
22:18:56   Denon.Zone2.Power.On
22:18:56   Marantz Debug - 'Z2SAT/CBL'
22:18:56   Denon.Zone2.Input.Sat/Cable
22:18:56   Marantz Debug - 'Z240'
22:18:56   Marantz: Unknown message, 'Z240'
22:18:56   Marantz Debug - 'SVOFF'
22:18:56   Denon.MainZone.VideoSelect.Off
22:18:56   Marantz Debug - 'PWON'
22:18:56   Denon.Master.Power.On
22:18:56   Marantz Debug - 'Z2ON'
22:18:56   Denon.Zone2.Power.On
22:18:56   Marantz Debug - 'PWON'
22:18:56   Denon.Master.Power.On

Code: Select all

22:13:58   Marantz AVR Serial/TCP/Forwarding: Main Zone Power Status
22:13:58   Marantz Debug - 'CVEND'
22:13:58   Marantz: Unknown message, 'CVEND'
22:14:04   Marantz AVR Serial/TCP/Forwarding: Main Zone Power Status
22:14:04   Marantz Debug - 'MVMAX 98'
22:14:04   Marantz: Unknown message, 'MVMAX 98'
22:14:07   Marantz AVR Serial/TCP/Forwarding: Main Zone Power Status
22:14:07   Marantz Debug - 'SDHDMI'
22:14:07   Denon.MainZone.AudioInput.AudioHDMI
22:14:12   Marantz AVR Serial/TCP/Forwarding: Main Zone Power Status
22:14:12   Marantz Debug - 'DCAUTO'
22:14:12   Denon.MainZone.DigitalAudioInputMode.Auto
22:14:15   Marantz AVR Serial/TCP/Forwarding: Main Zone Power Status
22:14:15   Marantz Debug - 'PSMULTEQ:AUDYSSEY'
22:14:15   Denon.MainZone.OtherSettings.MultiEQ.Audyssey
22:14:18   Marantz AVR Serial/TCP/Forwarding: Main Zone Power Status
22:14:19   Marantz Debug - 'PSDYNEQ OFF'
22:14:19   Denon.MainZone.OtherSettings.DynamicEQ.Off
22:14:23   Marantz AVR Serial/TCP/Forwarding: Main Zone Power Status
22:14:23   Marantz Debug - 'PSDYNVOL OFF'
22:14:23   Denon.MainZone.OtherSettings.DynamicVolume.Off
22:14:26   Marantz AVR Serial/TCP/Forwarding: Main Zone Power Status
22:14:26   Marantz Debug - 'SVOFF'
22:14:26   Denon.MainZone.VideoSelect.Off
22:15:13   Marantz AVR Serial/TCP/Forwarding: Main Zone Volume Status
22:15:13   Marantz Debug - 'CVFL 50'
22:15:13   Denon.MainZone.ChannelVolume.FrontLeft.-30.00Db [-30.0, u'Volume \u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db  -30.00 dB']
22:15:13   Marantz Debug - 'CVFR 50'
22:15:13   Denon.MainZone.ChannelVolume.FrontRight.-30.00Db [-30.0, u'Volume \u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db  -30.00 dB']
22:15:16   Marantz AVR Serial/TCP/Forwarding: Main Zone Volume Status
22:15:16   Marantz Debug - 'CVEND'
22:15:16   Marantz: Unknown message, 'CVEND'
22:15:16   Marantz Debug - 'MVMAX 98'
22:15:16   Marantz: Unknown message, 'MVMAX 98'
22:15:19   Marantz AVR Serial/TCP/Forwarding: Main Zone Volume Status
22:15:19   Marantz Debug - 'SDNO'
22:15:19   Denon.MainZone.AudioInput.No
22:15:19   Marantz Debug - 'DCAUTO'
22:15:19   Denon.MainZone.DigitalAudioInputMode.Auto

Code: Select all

22:28:38   Marantz AVR Serial/TCP/Forwarding: Main Zone Source BluRay
22:28:39   Marantz Debug - 'Z2ON'
22:28:39   Denon.Zone2.Power.On
22:28:39   Marantz Debug - 'PWON'
22:28:39   Denon.Master.Power.On
22:28:39   Marantz Debug - 'Z2ON'
22:28:39   Denon.Zone2.Power.On
22:28:39   Marantz Debug - 'PWON'
22:28:39   Denon.Master.Power.On
22:28:39   Marantz Debug - 'Z2ON'
22:28:39   Denon.Zone2.Power.On
22:28:39   Marantz Debug - 'PWON'
22:28:39   Denon.Master.Power.On
22:28:39   Marantz Debug - 'Z2ON'
22:28:39   Denon.Zone2.Power.On
22:28:39   Marantz Debug - 'SSSMG MUS'
22:28:39   Marantz: Unknown message, 'SSSMG MUS'
22:28:39   Marantz Debug - 'SIAUX1'
22:28:39   Denon.MainZone.Input.Aux1
22:28:40   Marantz Debug - 'CVFL 50'
22:28:40   Denon.MainZone.ChannelVolume.FrontLeft.-30.00Db [-30.0, u'Volume \u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db  -30.00 dB']
22:28:40   Marantz Debug - 'CVFR 50'
22:28:40   Denon.MainZone.ChannelVolume.FrontRight.-30.00Db [-30.0, u'Volume \u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u2044\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db\u02db  -30.00 dB']
22:28:40   Marantz Debug - 'CVEND'
22:28:40   Marantz: Unknown message, 'CVEND'
22:28:40   Marantz Debug - 'MVMAX 98'
22:28:40   Marantz: Unknown message, 'MVMAX 98'
22:28:40   Marantz Debug - 'SDHDMI'
22:28:40   Denon.MainZone.AudioInput.AudioHDMI
22:28:56   Marantz AVR Serial/TCP/Forwarding: Main Zone Source BluRay
22:29:07   Marantz AVR Serial/TCP/Forwarding: Main Zone Source Status
22:29:07   Marantz Debug - 'DCAUTO'
22:29:07   Denon.MainZone.DigitalAudioInputMode.Auto
22:29:08   Marantz Debug - 'PSMULTEQ:AUDYSSEY'
22:29:08   Denon.MainZone.OtherSettings.MultiEQ.Audyssey
The AVR really wants to hold open the telnet connection, so even after stopping and restarting EG, there's often a traceback error:

Code: Select all

18:00:33   Marantz AVR connection error
18:00:33   Traceback (most recent call last):
18:00:33     File "C:\ProgramData\EventGhost\plugins\MarantzAVR\telnetclient.py", line 41, in run
18:00:33       sock.connect((self.host, self.port))
18:00:33     File "<string>", line 1, in connect
18:00:33   error: [Errno 10061] No connection could be made because the target machine actively refused it
18:00:46   Marantz Echo Server Stopped
18:00:58   Marantz Echo Server Started
18:00:58   Marantz AVR connected
Sometimes disabling then enabling the plug-in works to get it connected, but sometimes I have to pull the plug on the receiver. I don't know if there is some programmatic way for you to force a disconnection first.

Just wanted to give you this limited feedback for now; more to test/check.
User avatar
kgschlosser
Site Admin
Posts: 5190
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: New Marantz TCP Control Plugin

Post by kgschlosser »

OK i am going to have it write to a text file everything so is going back and forth...

and you have absolutely nothing else connected to it??.. no apps no sessions using the webportal on the thing... Nothing like that???
If you like the work I have been doing then feel free to Image
User avatar
kgschlosser
Site Admin
Posts: 5190
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: New Marantz TCP Control Plugin

Post by kgschlosser »

OK i believe i fixed the socket locking up problem. it should close gracefully now.

I also fixed the problem where the volume bar and volume payload would show up for almost everything... and changed out the characters in the volume payload to something a little nicer.

I added a more complex debugging routine. this can be turned on or off you have to change the DEBUG from True to False in the plugins __init__.py file. the DEBUG variable is right at the top.

the debugging no longer outputs to the log. it writes it's own file which is located in appdata\roaming\eventghost folder.

that is what i will need from now on to see what is going on..

also changed out the max volume from 12 to 18

K
If you like the work I have been doing then feel free to Image
Post Reply