oops i did it again... NEED RECO ON DTV PLUGIN

Posted on
Fri Oct 20, 2023 2:14 pm
dtich offline
Posts: 798
Joined: Sep 24, 2005

oops i did it again... NEED RECO ON DTV PLUGIN

upgraded without fully reading/comprehending potential incompatibilities.....

broke directv control plugin.

are there good current ones that people can recommend. kinda painted myself into a corner on this.


thanks!

Posted on
Fri Oct 20, 2023 3:08 pm
jay (support) offline
Site Admin
User avatar
Posts: 18173
Joined: Mar 19, 2008
Location: Austin, Texas

Re: oops i did it again... NEED RECO ON DTV PLUGIN

Amazing that it still works TBH...

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Fri Oct 20, 2023 3:49 pm
GlennNZ offline
User avatar
Posts: 1534
Joined: Dec 07, 2014
Location: Central Coast, Australia

oops i did it again... NEED RECO ON DTV PLUGIN

It looks python3 compatible at a glance already? (there is not much to it…)
(2nd glance - probably just needs urllib changed…)

Sent from my iPad using Tapatalk

Posted on
Fri Oct 20, 2023 3:56 pm
dtich offline
Posts: 798
Joined: Sep 24, 2005

Re: oops i did it again... NEED RECO ON DTV PLUGIN

@ glenn, thx, i did update py... let me see ...

@ jay, :d yeah, it's very simple and was a trooper for years.. caught me offguard!~

get this in log btw:

Code: Select all
 Reloading plugin "DIRECTV DVR Control 1.1.1" using API v1.19
   Error                           plugin "DIRECTV DVR Control 1.1.1" is no longer compatible with this Indigo release and must be updated

Posted on
Fri Oct 20, 2023 4:13 pm
GlennNZ offline
User avatar
Posts: 1534
Joined: Dec 07, 2014
Location: Central Coast, Australia

Re: oops i did it again... NEED RECO ON DTV PLUGIN

Try:

https://github.com/Ghawken/directv-dvr-control

Press green Code button - Download Zip- and double click the plugin bundle to update.

I believe should fix. But please test as I can't!

(If works can issue pull back to Indigo repository)

Glenn

Posted on
Fri Oct 20, 2023 4:23 pm
dtich offline
Posts: 798
Joined: Sep 24, 2005

Re: oops i did it again... NEED RECO ON DTV PLUGIN

glenn, worked, thanks so much.

however, do get this error in log even though the commands are working. perhaps a touch sluggishly.

Oct 20, 2023 at 3:19:41 PM
Reloading plugin "DIRECTV DVR Control 2023.1.1" using API v3.0
Stopping plugin "DIRECTV DVR Control 2023.1.1" (pid 61011)
Stopped plugin "DIRECTV DVR Control 2023.1.1"
Starting plugin "DIRECTV DVR Control 2023.1.1" (pid 61270)
Started plugin "DIRECTV DVR Control 2023.1.1"
Action Group iRed/TiVo Pause
Action Group DTV/Den/Pause
DIRECTV DVR Control Error Send key press action failed with a network error - check your DVR to make sure it's on
Action Group iRed/TiVo EXIT
Action Group DTV/Den/Exit
DIRECTV DVR Control Error Send key press action failed with a network error - check your DVR to make sure it's on
Action Group iRed/TiVo Pause
Action Group DTV/Den/Pause
DIRECTV DVR Control Error Send key press action failed with a network error - check your DVR to make sure it's on

Oct 20, 2023 at 3:20:38 PM
Indigo Cocoa client disconnected
Action Group iRed/TiVo Play
Action Group DTV/Den/Play
DIRECTV DVR Control Error Send key press action failed with a network error - check your DVR to make sure it's on
Action Group iRed/TiVo Play
Action Group DTV/Den/Play
DIRECTV DVR Control Error S

Posted on
Fri Oct 20, 2023 4:28 pm
GlennNZ offline
User avatar
Posts: 1534
Joined: Dec 07, 2014
Location: Central Coast, Australia

Re: oops i did it again... NEED RECO ON DTV PLUGIN

Ok.
Speed should the same.

Will be formatting of the reply - will see what can do without having access to any of the replies

The plugin doesn't log it defaulty currently...

Posted on
Fri Oct 20, 2023 4:31 pm
dtich offline
Posts: 798
Joined: Sep 24, 2005

Re: oops i did it again... NEED RECO ON DTV PLUGIN

let me know if i can enable a debug mode or anything that would be helpful.

thanks a lot glenn for sorting this, much much appreciated!

Posted on
Fri Oct 20, 2023 4:33 pm
GlennNZ offline
User avatar
Posts: 1534
Joined: Dec 07, 2014
Location: Central Coast, Australia

Re: oops i did it again... NEED RECO ON DTV PLUGIN

dtich wrote:
let me know if i can enable a debug mode or anything that would be helpful.
thanks a lot glenn for sorting this, much much appreciated!


Update to version 2023.1.2 - just there now
Add debug logging and information about what is received.

Post that information and with that should be able to quickly tidy up and fix

Posted on
Fri Oct 20, 2023 4:37 pm
dtich offline
Posts: 798
Joined: Sep 24, 2005

Re: oops i did it again... NEED RECO ON DTV PLUGIN

Oct 20, 2023 at 3:36:25 PM
Stopping plugin DIRECTV DVR Control (pid 61270)
Stopped plugin DIRECTV DVR Control
Upgrading plugin DIRECTV DVR Control to newer version 2023.1.2 (previous version moved to trash)
Loading plugin "DIRECTV DVR Control 2023.1.2" using API v3.0
Starting plugin "DIRECTV DVR Control 2023.1.2" (pid 64378)
Started plugin "DIRECTV DVR Control 2023.1.2"

Oct 20, 2023 at 3:36:44 PM
Action Group iRed/TiVo Pause
Action Group DTV/Den/Pause
DIRECTV DVR Control Debug sendKeyPress called: send pause to 192.168.100.64 client 0
DIRECTV DVR Control Debug Using URL:
http://192.168.100.64:8080/remote/proce ... ientAddr=0
DIRECTV DVR Control Error Send key press action failed with a network error - check your DVR to make sure it's on
DIRECTV DVR Control Error Exception:
Traceback (most recent call last):
File "plugin.py", line 122, in sendKeyPress
reply = json.load(f)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/json/__init__.py", line 293, in load
return loads(fp.read(),
AttributeError: 'str' object has no attribute 'read'
Action Group iRed/TiVo Play
Action Group DTV/Den/Play
DIRECTV DVR Control Debug sendKeyPress called: send play to 192.168.100.64 client 0
DIRECTV DVR Control Debug Using URL:
http://192.168.100.64:8080/remote/proce ... ientAddr=0
DIRECTV DVR Control Error Send key press action failed with a network error - check your DVR to make sure it's on
DIRECTV DVR Control Error Exception:
Traceback (most recent call last):
File "plugin.py", line 122, in sendKeyPress
reply = json.load(f)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/json/__init__.py", line 293, in load
return loads(fp.read(),
AttributeError: 'str' object has no attribute 'read'
Action Group iRed/TiVo Pause
Action Group DTV/Den/Pause
DIRECTV DVR Control Debug sendKeyPress called: send pause to 192.168.100.64 client 0
DIRECTV DVR Control Debug Using URL:
http://192.168.100.64:8080/remote/proce ... ientAddr=0
DIRECTV DVR Control Error Send key press action failed with a network error - check your DVR to make sure it's on
DIRECTV DVR Control Error Exception:
Traceback (most recent call last):
File "plugin.py", line 122, in sendKeyPress
reply = json.load(f)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/json/__init__.py", line 293, in load
return loads(fp.read(),
AttributeError: 'str' object has no attribute 'read'
Action Group iRed/TiVo Play
Action Group DTV/Den/Play
DIRECTV DVR Control Debug sendKeyPress called: send play to 192.168.100.64 client 0
DIRECTV DVR Control Debug Using URL:
http://192.168.100.64:8080/remote/proce ... ientAddr=0
DIRECTV DVR Control Error Send key press action failed with a network error - check your DVR to make sure it's on
DIRECTV DVR Control Error Exception:
Traceback (most recent call last):
File "plugin.py", line 122, in sendKeyPress
reply = json.load(f)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/json/__init__.py", line 293, in load
return loads(fp.read(),
AttributeError: 'str' object has no attribute 'read'

Posted on
Fri Oct 20, 2023 4:46 pm
GlennNZ offline
User avatar
Posts: 1534
Joined: Dec 07, 2014
Location: Central Coast, Australia

Re: oops i did it again... NEED RECO ON DTV PLUGIN

Ok
Try 2023..1.3

Let me know outcome - although have a life pause for 1/2 hr or or now. - but will be back after that...

Glenn

Posted on
Fri Oct 20, 2023 4:51 pm
dtich offline
Posts: 798
Joined: Sep 24, 2005

Re: oops i did it again... NEED RECO ON DTV PLUGIN

glenn, looks very good, plugin is all responsive and quiet-like now -- thank you!

lmk if you need me to do anything else!



Oct 20, 2023 at 3:47:32 PM
Stopping plugin DIRECTV DVR Control (pid 64378)
DIRECTV DVR Control Debug stop_concurrent_thread called
Stopped plugin DIRECTV DVR Control
Upgrading plugin DIRECTV DVR Control to newer version 2023.1.3 (previous version moved to trash)
Loading plugin "DIRECTV DVR Control 2023.1.3" using API v3.0
Starting plugin "DIRECTV DVR Control 2023.1.3" (pid 66520)
Started plugin "DIRECTV DVR Control 2023.1.3"

Oct 20, 2023 at 3:47:48 PM
Action Group iRed/TiVo Pause
Action Group DTV/Den/Pause
Action Group iRed/TiVo Pause
Action Group DTV/Den/Pause
Action Group iRed/TiVo Pause
Action Group DTV/Den/Pause
Action Group iRed/TiVo Pause
Action Group DTV/Den/Pause

Posted on
Mon Jan 08, 2024 12:11 pm
DaveL17 offline
User avatar
Posts: 6728
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: oops i did it again... NEED RECO ON DTV PLUGIN

I've updated the Open Source versionof this plugin for Python 3. This update should be considered a beta as I don't have DirecTV equipment to test against.

I didn't realize that Glenn made an updated fork available, so use the above at your discretion. My update is in no way a comment on Glenn's work! :D

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Posted on
Mon Jan 08, 2024 2:56 pm
GlennNZ offline
User avatar
Posts: 1534
Joined: Dec 07, 2014
Location: Central Coast, Australia

Re: oops i did it again... NEED RECO ON DTV PLUGIN

Yours is definitely the definitive python3 update!

Mine was this won’t take long other than changing the API number, and then the urllib usage etc. So was very slap dash.

Moving to requests etc a far better option!


Sent from my iPad using Tapatalk

Posted on
Mon Jan 08, 2024 3:18 pm
DaveL17 offline
User avatar
Posts: 6728
Joined: Aug 20, 2013
Location: Chicago, IL, USA

Re: oops i did it again... NEED RECO ON DTV PLUGIN

Cheers mate.

I came here to drink milk and kick ass....and I've just finished my milk.

[My Plugins] - [My Forums]

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest

cron