mirror of
				https://github.com/ElvishArtisan/rivendell.git
				synced 2025-10-31 14:13:52 +01:00 
			
		
		
		
	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:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user