version 1.10, 2005/04/13 16:29:54
|
version 1.11, 2005/04/21 10:10:10
|
Line 151 class OSAS_add_contextData(Folder):
|
Line 151 class OSAS_add_contextData(Folder):
|
"""Hinzufuegen der Ressource""" |
"""Hinzufuegen der Ressource""" |
gifPath=path.replace("/mpiwg/online/","") |
gifPath=path.replace("/mpiwg/online/","") |
rawPath=path.replace("/mpiwg/online/permanent/einstein_exhibition/movies/","") |
rawPath=path.replace("/mpiwg/online/permanent/einstein_exhibition/movies/","") |
lowresPath=path.replace("/mpiwg/online/permanent/einstein_exhibition/movies/","") |
#lowresPath=path.replace("/mpiwg/online/permanent/einstein_exhibition/movies/","") |
thumbUrl="http://einst3.mpiwg-berlin.mpg.de/"+gifPath+"/"+thumb |
thumbUrl="http://einst3.mpiwg-berlin.mpg.de/"+gifPath+"/"+thumb |
link="rtsp://einst1.mpiwg-berlin.mpg.de/"+gifPath+"/"+streamingfile |
link="rtsp://einst1.mpiwg-berlin.mpg.de/"+gifPath+"/"+streamingfile |
rawFile="file:///Volumes/einstein_movies/"+rawPath+"/"+rawfile |
rawFile="file:///Volumes/einstein_movies/"+rawPath+"/"+rawfile |
lowresFile="file:///Volumes/einstein_movies/"+lowresPath+"/"+lowresfile |
lowresFile="rtsp://einst1.mpiwg-berlin.mpg.de/"+gifPath+"/"+lowresfile |
|
|
|
|
params=urllib.urlencode({'id':id,'title':title,'link':link,'thumbUrl':thumbUrl,'rawFile':rawFile,'label':label,'description':description,'contentType':content_type,'responsible':responsible,'weight':weight,'credits':credits,'metalink':metalink}) |
params=urllib.urlencode({'id':id,'title':title,'link':link,'thumbUrl':thumbUrl,'rawFile':rawFile,'label':label,'description':description,'contentType':content_type,'responsible':responsible,'weight':weight,'credits':credits,'metalink':metalink}) |