Ignore:
Timestamp:
May 3, 2016, 5:25:45 PM (9 years ago)
Author:
Silvan Scherrer
Message:

smplayer: update trunk to version 16.4

Location:
smplayer/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • smplayer/trunk

  • smplayer/trunk/src/tvlist.cpp

    r165 r176  
    11/*  smplayer, GUI front-end for mplayer.
    2     Copyright (C) 2006-2014 Ricardo Villalba <rvm@users.sourceforge.net>
     2    Copyright (C) 2006-2016 Ricardo Villalba <rvm@users.sourceforge.net>
    33
    44    This program is free software; you can redistribute it and/or modify
     
    8585        }
    8686}
     87
     88QString TVList::findChannelsFile() {
     89        QString channels_file;
     90
     91        QString file = QDir::homePath() + "/.mplayer/channels.conf.ter";
     92        if (QFile::exists(file)) return file;
     93
     94        file = QDir::homePath() + "/.mplayer/channels.conf";
     95        if (QFile::exists(file)) return file;
     96
     97        file = QDir::homePath() + "/.config/mpv/channels.conf.ter";
     98        if (QFile::exists(file)) return file;
     99
     100        file = QDir::homePath() + "/.config/mpv/channels.conf";
     101        if (QFile::exists(file)) return file;
     102
     103        return QString::null;
     104}
    87105#endif
    88106
Note: See TracChangeset for help on using the changeset viewer.