[mythtv-commits] Ticket #13299: Python Bindings fail to calculate date-time object
MythTV
noreply at mythtv.org
Tue Jul 31 17:51:16 UTC 2018
#13299: Python Bindings fail to calculate date-time object
-------------------------------+--------------------------------
Reporter: rcrdnalor | Owner: Raymond Wagner
Type: Patch - Bug Fix | Status: new
Priority: minor | Milestone: needs_triage
Component: Bindings - Python | Version: Unspecified
Severity: medium | Resolution:
Keywords: | Ticket locked: 0
-------------------------------+--------------------------------
Comment (by ijc):
I've been through them and:
- `mythplugins/mytharchive/mythburn/scripts/mythburn.py` uses
`datetime.duck(starttime).utcisoformat()`
- `mythtv/contrib/imports/mirobridge/mirobridge.py` uses `datetime.now()`
& `datetime.now().strftime(...)`
- `mythtv/programs/scripts/hardwareprofile/config.py` uses
`MythTV.utility.datetime(2001,1,1,0,0)` &
`self.td_to_secs(MythTV.utility.datetime.now() - oldest.starttime)`
None of these have anything which looks like a workaround which would need
removing (I suspect they are all just subtly broken right now).
None of the following seem to use `MythTV.utility.datetime` in any way
(the use other `MythTV.*` things and some of them use the stdlib
`datetime`):
- `mythtv/bindings/python/MythTV/wikiscripts/wikiscripts.py`
- `mythtv/bindings/python/scripts/mythpython`
- `mythtv/contrib/imports/mirobridge/mirobridge/metadata.py`
-
`mythtv/programs/scripts/hardwareprofile/distros/mythtv_data/data_mythtv.py`
-
`mythtv/programs/scripts/internetcontent/nv_python_libs/bbciplayer/bbciplayer_api.py`
-
`mythtv/programs/scripts/internetcontent/nv_python_libs/bliptv/bliptv_api.py`
-
`mythtv/programs/scripts/internetcontent/nv_python_libs/common/common_api.py`
-
`mythtv/programs/scripts/internetcontent/nv_python_libs/dailymotion/dailymotion_api.py`
-
`mythtv/programs/scripts/internetcontent/nv_python_libs/mnvsearch/mnvsearch_api.py`
-
`mythtv/programs/scripts/internetcontent/nv_python_libs/vimeo/vimeo_api.py`
-
`mythtv/programs/scripts/internetcontent/nv_python_libs/youtube/youtube_api.py`
- `mythtv/programs/scripts/metadata/Movie/tmdb3.py`
- `mythtv/programs/scripts/metadata/Television/ttvdb.py`
So AFAICT WRT in-tree Python code things are ok to proceed.
--
Ticket URL: <https://code.mythtv.org/trac/ticket/13299#comment:11>
MythTV <http://www.mythtv.org>
MythTV Media Center
More information about the mythtv-commits
mailing list