diff options
Diffstat (limited to 'cmpcj/src/de/schwarzrot/media/service/MediaFactory.java')
-rw-r--r-- | cmpcj/src/de/schwarzrot/media/service/MediaFactory.java | 33 |
1 files changed, 16 insertions, 17 deletions
diff --git a/cmpcj/src/de/schwarzrot/media/service/MediaFactory.java b/cmpcj/src/de/schwarzrot/media/service/MediaFactory.java index ff31822..3ee711d 100644 --- a/cmpcj/src/de/schwarzrot/media/service/MediaFactory.java +++ b/cmpcj/src/de/schwarzrot/media/service/MediaFactory.java @@ -1,25 +1,25 @@ /** * ======================== legal notice ====================== * - * File: MediaFactory.java - * Created: 13. June 2012, 04:57 - * Author: <a href="mailto:geronimo013@gmx.de">Geronimo</a> - * Project: cmpc - a java frontend (client) part of compound media player - * uses external players to play the media + * File: MediaFactory.java Created: 13. June 2012, 04:57 Author: <a + * href="mailto:geronimo013@gmx.de">Geronimo</a> Project: cmpc - a java frontend + * (client) part of compound media player uses external players to play the + * media * * 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. + * 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/ + * 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 + * The cmp project's homepage is at + * http://projects.vdr-developer.org/projects/cmp * * -------------------------------------------------------------- */ @@ -50,10 +50,9 @@ public class MediaFactory { } - //TODO: - // here we can't rely on file system information. + //XXX: here we can't rely on file system information. // may be we got files from remote system ... - // so instead to use lookahead for multifile movies, we need to go back + // so instead of using lookahead for multifile movies, we need to go back // from keyfiles public Media createMedia(File mayBeMedia) { if (!mayBeMedia.getAbsolutePath().startsWith(prefix)) |