diff options
Diffstat (limited to 'cmps/serverlib/src')
-rw-r--r-- | cmps/serverlib/src/AbstractMediaRequestHandler.cc | 8 | ||||
-rw-r--r-- | cmps/serverlib/src/HTMLListAssembler.cc | 12 | ||||
-rw-r--r-- | cmps/serverlib/src/HTTPMediaResponse.cc | 12 | ||||
-rw-r--r-- | cmps/serverlib/src/JSonListAssembler.cc | 12 | ||||
-rw-r--r-- | cmps/serverlib/src/MediaFileHandler.cc | 18 | ||||
-rw-r--r-- | cmps/serverlib/src/MediaListHandler.cc | 4 |
6 files changed, 33 insertions, 33 deletions
diff --git a/cmps/serverlib/src/AbstractMediaRequestHandler.cc b/cmps/serverlib/src/AbstractMediaRequestHandler.cc index ad845b6..b60bcb8 100644 --- a/cmps/serverlib/src/AbstractMediaRequestHandler.cc +++ b/cmps/serverlib/src/AbstractMediaRequestHandler.cc @@ -23,9 +23,9 @@ * -------------------------------------------------------------- */ #include <AbstractMediaRequestHandler.h> -#include <FilesystemScanner.h> +#include <FSMediaScanner.h> -static cFilesystemScanner *scanner = NULL; +static cFSMediaScanner *scanner = NULL; cAbstractMediaRequestHandler::cAbstractMediaRequestHandler() { @@ -35,12 +35,12 @@ cAbstractMediaRequestHandler::~cAbstractMediaRequestHandler() { } -cFilesystemScanner *cAbstractMediaRequestHandler::FileSystemScanner(void) +cFSMediaScanner *cAbstractMediaRequestHandler::FSMediaScanner(void) { return scanner; } -void cAbstractMediaRequestHandler::SetFilesystemScanner(cFilesystemScanner* Scanner) +void cAbstractMediaRequestHandler::SetFSMediaScanner(cFSMediaScanner* Scanner) { scanner = Scanner; }
\ No newline at end of file diff --git a/cmps/serverlib/src/HTMLListAssembler.cc b/cmps/serverlib/src/HTMLListAssembler.cc index bf190fe..1fc964e 100644 --- a/cmps/serverlib/src/HTMLListAssembler.cc +++ b/cmps/serverlib/src/HTMLListAssembler.cc @@ -1,25 +1,25 @@ /** * ======================== legal notice ====================== - * + * * File: HTMLListAssembler.cc * Created: 6. Juli 2012, 09 * Author: <a href="mailto:geronimo013@gmx.de">Geronimo</a> * Project: cmps - the backend (server) part of compound media player - * + * * CMP - compound media player - * + * * is a client/server mediaplayer intended to play any media from any workstation * without the need to export or mount shares. cmps is an easy to use backend * with a (ready to use) HTML-interface. Additionally the backend supports * authentication via HTTP-digest authorization. * cmpc is a client with vdr-like osd-menues. - * + * * Copyright (c) 2012 Reinhard Mantey, some rights reserved! * published under Creative Commons by-sa * For details see http://creativecommons.org/licenses/by-sa/3.0/ - * + * * The cmp project's homepage is at http://projects.vdr-developer.org/projects/cmp - * + * * -------------------------------------------------------------- */ #include <HTMLListAssembler.h> diff --git a/cmps/serverlib/src/HTTPMediaResponse.cc b/cmps/serverlib/src/HTTPMediaResponse.cc index e403afe..729c46e 100644 --- a/cmps/serverlib/src/HTTPMediaResponse.cc +++ b/cmps/serverlib/src/HTTPMediaResponse.cc @@ -1,25 +1,25 @@ /** * ======================== legal notice ====================== - * + * * File: HTTPMediaResponse.cc * Created: 6. Juli 2012, 07 * Author: <a href="mailto:geronimo013@gmx.de">Geronimo</a> * Project: cmps - the backend (server) part of compound media player - * + * * CMP - compound media player - * + * * is a client/server mediaplayer intended to play any media from any workstation * without the need to export or mount shares. cmps is an easy to use backend * with a (ready to use) HTML-interface. Additionally the backend supports * authentication via HTTP-digest authorization. * cmpc is a client with vdr-like osd-menues. - * + * * Copyright (c) 2012 Reinhard Mantey, some rights reserved! * published under Creative Commons by-sa * For details see http://creativecommons.org/licenses/by-sa/3.0/ - * + * * The cmp project's homepage is at http://projects.vdr-developer.org/projects/cmp - * + * * -------------------------------------------------------------- */ #include <HTTPMediaResponse.h> diff --git a/cmps/serverlib/src/JSonListAssembler.cc b/cmps/serverlib/src/JSonListAssembler.cc index 05ff5cc..6cba0bb 100644 --- a/cmps/serverlib/src/JSonListAssembler.cc +++ b/cmps/serverlib/src/JSonListAssembler.cc @@ -1,25 +1,25 @@ /** * ======================== legal notice ====================== - * + * * File: JSonListAssembler.cc * Created: 6. Juli 2012, 09 * Author: <a href="mailto:geronimo013@gmx.de">Geronimo</a> * Project: cmps - the backend (server) part of compound media player - * + * * CMP - compound media player - * + * * is a client/server mediaplayer intended to play any media from any workstation * without the need to export or mount shares. cmps is an easy to use backend * with a (ready to use) HTML-interface. Additionally the backend supports * authentication via HTTP-digest authorization. * cmpc is a client with vdr-like osd-menues. - * + * * Copyright (c) 2012 Reinhard Mantey, some rights reserved! * published under Creative Commons by-sa * For details see http://creativecommons.org/licenses/by-sa/3.0/ - * + * * The cmp project's homepage is at http://projects.vdr-developer.org/projects/cmp - * + * * -------------------------------------------------------------- */ #include <JSonListAssembler.h> diff --git a/cmps/serverlib/src/MediaFileHandler.cc b/cmps/serverlib/src/MediaFileHandler.cc index 200c933..c4e237c 100644 --- a/cmps/serverlib/src/MediaFileHandler.cc +++ b/cmps/serverlib/src/MediaFileHandler.cc @@ -1,30 +1,30 @@ /** * ======================== legal notice ====================== - * + * * File: MediaFileHandler.cc * Created: 5. Juli 2012, 08 * Author: <a href="mailto:geronimo013@gmx.de">Geronimo</a> * Project: cmps - the backend (server) part of compound media player - * + * * CMP - compound media player - * + * * is a client/server mediaplayer intended to play any media from any workstation * without the need to export or mount shares. cmps is an easy to use backend * with a (ready to use) HTML-interface. Additionally the backend supports * authentication via HTTP-digest authorization. * cmpc is a client with vdr-like osd-menues. - * + * * Copyright (c) 2012 Reinhard Mantey, some rights reserved! * published under Creative Commons by-sa * For details see http://creativecommons.org/licenses/by-sa/3.0/ - * + * * The cmp project's homepage is at http://projects.vdr-developer.org/projects/cmp - * + * * -------------------------------------------------------------- */ #include <MediaFileHandler.h> #include <AbstractMedia.h> -#include <FilesystemScanner.h> +#include <FSMediaScanner.h> #include <HTTPRequest.h> #include <HTTPMediaResponse.h> #include <StringBuilder.h> @@ -41,8 +41,8 @@ cMediaFileHandler::~cMediaFileHandler() cHTTPResponse *cMediaFileHandler::ProcessRequest(cHTTPRequest& Request) { isyslog("have to find requested media: >%s<", Request.Url().Path()); - - cAbstractMedia *media = FileSystemScanner()->FindMedia(Request.Url().Path()); + + cAbstractMedia *media = FSMediaScanner()->FindMedia(Request.Url().Path()); isyslog("cMediaFileHandler::ProcessRequest ... %0X", media); diff --git a/cmps/serverlib/src/MediaListHandler.cc b/cmps/serverlib/src/MediaListHandler.cc index cdb2b21..d5aaa78 100644 --- a/cmps/serverlib/src/MediaListHandler.cc +++ b/cmps/serverlib/src/MediaListHandler.cc @@ -24,7 +24,7 @@ */ #include <MediaListHandler.h> #include <AbstractListAssembler.h> -#include <FilesystemScanner.h> +#include <FSMediaScanner.h> #include <HTTPRequest.h> #include <HTTPResponse.h> #include <StringBuilder.h> @@ -69,7 +69,7 @@ cHTTPResponse *cMediaListHandler::ProcessRequest(cHTTPRequest& Request) if (!la) return new cHTTPResponse(HTTP_NotFound); res = new cHTTPResponse(HTTP_OK); res->SetContentType(la->MediaType()); - la->AssembleList(res->StringBuilder(), FileSystemScanner()->MediaPool(), FileSystemScanner()->Categories(), start, delta); + la->AssembleList(res->StringBuilder(), FSMediaScanner()->MediaPool(), FSMediaScanner()->Categories(), start, delta); return res; } |