~ubuntu-branches/ubuntu/karmic/vdr-plugin-xineliboutput/karmic

« back to all changes in this revision

Viewing changes to tools/playlist.c

  • Committer: Bazaar Package Importer
  • Author(s): Tobias Grimm
  • Date: 2008-11-15 13:24:20 UTC
  • mfrom: (3.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20081115132420-svjsztm3wzutc91b
Tags: 1.0.3-1
* New upstream release
* Changed my maintainer/uploader email address
* Removed 02_playfile-timeout.dpatch (fixed upstream)
* Added manpages for vdr-sxfe and vdr-fbfe (Closes: #452688)

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 * See the main source file 'xineliboutput.c' for copyright information and
5
5
 * how to reach the author.
6
6
 *
7
 
 * $Id: playlist.c,v 1.17 2008/04/03 15:11:26 phelin Exp $
 
7
 * $Id: playlist.c,v 1.17.2.1 2008/09/26 19:09:29 phintuka Exp $
8
8
 *
9
9
 */
10
10
 
873
873
    if(strrchr(m_Name, '.'))
874
874
      *(strrchr(m_Name, '.')) = 0;
875
875
 
876
 
  } else if(PlaylistFile[strlen(PlaylistFile)-1] == '/') {
 
876
  } else if(PlaylistFile[                     0] == '/'  &&
 
877
            PlaylistFile[strlen(PlaylistFile)-1] == '/') {
877
878
    // Scan folder
878
879
    Result = ScanFolder(PlaylistFile, Recursive) > 0;
879
880
    m_Origin = eImplicit;