version 1.10, 2005/04/13 16:29:54
|
version 1.12, 2005/10/10 18:11:11
|
Line 149 class OSAS_add_contextData(Folder):
|
Line 149 class OSAS_add_contextData(Folder):
|
|
|
#link=TOBEDONE" |
#link=TOBEDONE" |
"""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}) |