CC-2016: Rearrange python scripts for reusability

-moved files
This commit is contained in:
martin 2011-03-24 00:00:46 -04:00
parent f9c8a7cc11
commit 5c8719d90c
70 changed files with 0 additions and 0 deletions

View file

@ -0,0 +1,17 @@
#######################################################################
# Dynamic variables
#######################################################################
playlist_type = ref '0'
pypo_data = ref '0'
def set_playlist_type(s)
playlist_type := s
end
def set_pypo_data(s)
pypo_data := s
end
server.register(namespace="vars", "playlist_type", fun (s) -> begin set_playlist_type(s) "Done!" end)
server.register(namespace="vars", "pypo_data", fun (s) -> begin set_pypo_data(s) "Done!" end)