diff --git a/campcaster/src/products/gLiveSupport/src/GLiveSupport.cxx b/campcaster/src/products/gLiveSupport/src/GLiveSupport.cxx index cc3953506..8638b1648 100644 --- a/campcaster/src/products/gLiveSupport/src/GLiveSupport.cxx +++ b/campcaster/src/products/gLiveSupport/src/GLiveSupport.cxx @@ -662,8 +662,8 @@ GLiveSupport :: changeLanguage(Ptr<const std::string>::Ref locale) *----------------------------------------------------------------------------*/ bool LiveSupport :: GLiveSupport :: -GLiveSupport :: login(const std::string & login, - const std::string & password) throw () +GLiveSupport :: login(const std::string & login, + const std::string & password) throw () { try { sessionId = authentication->login(login, password); @@ -671,6 +671,8 @@ GLiveSupport :: login(const std::string & login, return false; } + userName.reset(new Glib::ustring(login)); + Ptr<const Glib::ustring>::Ref editedPlaylistToken; Ptr<const std::string>::Ref editedPlaylistTokenString; try { @@ -1118,6 +1120,7 @@ GLiveSupport :: openPlaylistForEditing(Ptr<const UniqueId>::Ref playlistId) } editedPlaylist = storage->editPlaylist(sessionId, playlistId); + editedPlaylist->setMetadata(userName, "dc:creator"); try { Ptr<const Glib::ustring>::Ref editToken(new const Glib::ustring( diff --git a/campcaster/src/products/gLiveSupport/src/GLiveSupport.h b/campcaster/src/products/gLiveSupport/src/GLiveSupport.h index 07520d310..64d59ad58 100644 --- a/campcaster/src/products/gLiveSupport/src/GLiveSupport.h +++ b/campcaster/src/products/gLiveSupport/src/GLiveSupport.h @@ -202,7 +202,12 @@ class GLiveSupport : public LocalizedConfigurable, Ptr<AudioPlayerInterface>::Ref cuePlayer; /** - * The session id for the user. + * The user id for the logged-in user. + */ + Ptr<Glib::ustring>::Ref userName; + + /** + * The session id for the logged-in user. */ Ptr<SessionId>::Ref sessionId;