2018-12-20 Fred Gleason <fredg@paravelsystems.com>

* Added a 'PyPAD.Update::startDateTimeString()' method.
	* Added a 'pypad_spinitron.py' PyPAD script.
	* Removed the 'rlm_spinitron_plus' RLM.
This commit is contained in:
Fred Gleason
2018-12-20 10:29:56 -05:00
parent eae618e464
commit 3bf849a8a1
7 changed files with 285 additions and 659 deletions

View File

@@ -418,6 +418,19 @@ class Update(object):
except TypeError:
return False;
def startDateTimeString(self,pad_type):
"""
Returns the start date-time of the specified PAD type in ISO 8601
format (string).
Takes one argument:
pad_type - The type of PAD value. Valid values are:
PyPAD.TYPE_NOW - Now playing data
PyPAD.TYPE_NEXT - Next to play data
"""
return self.__fields['padUpdate'][pad_type]['startDateTime']
def startDateTime(self,pad_type):
"""
Returns the start datetime of the specified PAD type