aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/streambrowser
Commit message (Collapse)AuthorAgeFilesLines
* pipewire: added empty .ts filestrialuser022021-04-271-3/+3
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9844 90c681e8-e032-0410-971d-27865f9a5e38
* updated Russian translationtrialuser022021-04-221-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9829 90c681e8-e032-0410-971d-27865f9a5e38
* updated Dutch translation (Heimen Stoffels)trialuser022021-04-211-4/+4
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9825 90c681e8-e032-0410-971d-27865f9a5e38
* updated cmake filestrialuser022021-01-0728-28/+28
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9619 90c681e8-e032-0410-971d-27865f9a5e38
* some code optimizationtrialuser022021-01-071-2/+1
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9617 90c681e8-e032-0410-971d-27865f9a5e38
* updated copyrighttrialuser022020-12-235-5/+5
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9602 90c681e8-e032-0410-971d-27865f9a5e38
* updated .ts filestrialuser022020-12-2328-476/+476
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9599 90c681e8-e032-0410-971d-27865f9a5e38
* ported some code to QRegularExpressiontrialuser022020-10-231-1/+0
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9524 90c681e8-e032-0410-971d-27865f9a5e38
* coding style fixestrialuser022020-08-122-9/+10
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9470 90c681e8-e032-0410-971d-27865f9a5e38
* updated French translation (Adrien Vigneron); updated Indonesian translation ↵trialuser022020-04-264-20/+20
| | | | | | (Andika Triwidada); updated Greek translation (Dimitrios Glentadakis); updated Italian translation (Luigi Toscano); upated German translation (Ettore Atalan) git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9355 90c681e8-e032-0410-971d-27865f9a5e38
* updated Galician translation (Delio Docampo Cordeiro)trialuser022020-03-291-5/+5
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9328 90c681e8-e032-0410-971d-27865f9a5e38
* updated Dutch translation (Heimen Stoffels)trialuser022020-03-291-20/+20
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9326 90c681e8-e032-0410-971d-27865f9a5e38
* fixed latest Qt supporttrialuser022020-02-281-4/+0
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9255 90c681e8-e032-0410-971d-27865f9a5e38
* fixed Qt 5.15 warningstrialuser022020-02-201-0/+4
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9238 90c681e8-e032-0410-971d-27865f9a5e38
* updated copyrighttrialuser022020-02-115-5/+5
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9224 90c681e8-e032-0410-971d-27865f9a5e38
* fixed possible regressionstrialuser022019-09-081-4/+4
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9068 90c681e8-e032-0410-971d-27865f9a5e38
* removed foreach macrotrialuser022019-09-071-4/+4
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9067 90c681e8-e032-0410-971d-27865f9a5e38
* updated .ts filestrialuser022019-06-3028-280/+280
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8972 90c681e8-e032-0410-971d-27865f9a5e38
* added socks5 proxy supporttrialuser022019-06-301-0/+2
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8971 90c681e8-e032-0410-971d-27865f9a5e38
* updated .ts filestrialuser022019-04-1728-28/+28
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8782 90c681e8-e032-0410-971d-27865f9a5e38
* streambrowser: add track with title and genretrialuser022019-04-031-5/+11
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8769 90c681e8-e032-0410-971d-27865f9a5e38
* sync remaining translationstrialuser022019-01-2117-112/+112
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8642 90c681e8-e032-0410-971d-27865f9a5e38
* updated Spanish translation (Joel Barrios), updated changelogstrialuser022019-01-211-10/+10
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8639 90c681e8-e032-0410-971d-27865f9a5e38
* update Ukrainian translationsmotsyo2019-01-201-10/+10
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8635 90c681e8-e032-0410-971d-27865f9a5e38
* updated Portuguese translation (Sérgio Marques)trialuser022019-01-121-10/+10
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8632 90c681e8-e032-0410-971d-27865f9a5e38
* updated Polish translation (mrerexx)trialuser022019-01-111-14/+14
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8629 90c681e8-e032-0410-971d-27865f9a5e38
* updated Russian translation (Alexey Loginov)trialuser022019-01-081-10/+10
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8624 90c681e8-e032-0410-971d-27865f9a5e38
* updated .ts filestrialuser022019-01-0828-280/+280
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8623 90c681e8-e032-0410-971d-27865f9a5e38
* using override keywordtrialuser022019-01-065-11/+11
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8591 90c681e8-e032-0410-971d-27865f9a5e38
* feature to create initial configurationtrialuser022019-01-042-2/+17
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8583 90c681e8-e032-0410-971d-27865f9a5e38
* fixed build with -Werror=zero-as-null-pointer-constanttrialuser022019-01-035-7/+7
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8572 90c681e8-e032-0410-971d-27865f9a5e38
* updated .ts filestrialuser022018-12-1328-47/+47
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8508 90c681e8-e032-0410-971d-27865f9a5e38
* fixed action nametrialuser022018-12-131-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8507 90c681e8-e032-0410-971d-27865f9a5e38
* stream browser: renamed menu actiontrialuser022018-12-131-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8504 90c681e8-e032-0410-971d-27865f9a5e38
* updated .ts filestrialuser022018-11-1328-28/+28
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8421 90c681e8-e032-0410-971d-27865f9a5e38
* updated .ts filestrialuser022018-09-2928-420/+1764
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8386 90c681e8-e032-0410-971d-27865f9a5e38
* improved streambrowser plugintrialuser022018-09-297-11/+374
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8383 90c681e8-e032-0410-971d-27865f9a5e38
* stream browser: optimizationtrialuser022018-09-272-39/+44
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8382 90c681e8-e032-0410-971d-27865f9a5e38
* moved stream browser and removable volumes to the add menutrialuser022018-09-261-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8380 90c681e8-e032-0410-971d-27865f9a5e38
* changed translation api againtrialuser022018-07-212-3/+8
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8200 90c681e8-e032-0410-971d-27865f9a5e38
* changed translation apitrialuser022018-07-212-10/+1
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8196 90c681e8-e032-0410-971d-27865f9a5e38
* feature to change application nametrialuser022018-07-011-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8077 90c681e8-e032-0410-971d-27865f9a5e38
* changed plugin path (cmake)trialuser022018-06-231-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8054 90c681e8-e032-0410-971d-27865f9a5e38
* changed plugin path (qmake)trialuser022018-06-231-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8053 90c681e8-e032-0410-971d-27865f9a5e38
* copy 1.2 branch to trunktrialuser022017-11-2532-562/+542
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@7772 90c681e8-e032-0410-971d-27865f9a5e38
* updated Russian translation (Alexey Loginov)trialuser022017-11-221-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@7729 90c681e8-e032-0410-971d-27865f9a5e38
* updated .ts filestrialuser022017-11-121-9/+11
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@7721 90c681e8-e032-0410-971d-27865f9a5e38
* added Finnish translation (Jiri Grönroos)trialuser022017-11-122-0/+132
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@7718 90c681e8-e032-0410-971d-27865f9a5e38
* updated Polish translation (Daniel Krawczyk)trialuser022017-11-121-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@7717 90c681e8-e032-0410-971d-27865f9a5e38
* updated Chezh translation (Jaroslav Lichtblau)trialuser022017-11-121-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@7716 90c681e8-e032-0410-971d-27865f9a5e38
n class="hl opt">.parse(model->item(i))); if(i == model->currentIndex()) out += " [*]"; out += "\n"; } } else if(opt_str == "--pl-play") { if(args.count() > 2 || args.isEmpty()) return tr("Invalid number of arguments") + "\n"; int pl_id = (args.count() == 1) ? pl_manager->currentPlayListIndex() : args.at(0).toInt() - 1; int track_id = (args.count() == 1) ? args.at(0).toInt() - 1 : args.at(1).toInt() - 1; PlayListModel *model = pl_manager->playListAt(pl_id); if(!model) return tr("Invalid playlist ID") + "\n"; PlayListItem *item = model->item(track_id); if(!item) return tr("Invalid track ID") + "\n"; player->stop(); pl_manager->activatePlayList(model); pl_manager->selectPlayList(model); model->setCurrent(item); player->play(); } else if(opt_str == "--pl-clear") { int id = args.isEmpty() ? pl_manager->currentPlayListIndex() : args.at(0).toInt() - 1; PlayListModel *model = pl_manager->playListAt(id); if(!model) return tr("Invalid playlist ID") + "\n"; model->clear(); } else if(opt_str == "--pl-repeat-toggle") { player->setRepeatable(!player->isRepeatable()); } else if(opt_str == "--pl-shuffle-toggle") { pl_manager->setShuffle(!pl_manager->isShuffle()); } else if(opt_str == "--pl-state") { out += "SHUFFLE: " + boolToText(pl_manager->isShuffle()) + "\n"; out += "REPEAT PLAYLIST: " + boolToText(pl_manager->isRepeatableList()) + "\n"; out += "REPEAT TRACK: " + boolToText(player->isRepeatable()) + "\n"; out += "NO PLAYLIST ADVANCE: " + boolToText(player->isNoPlaylistAdvance()) + "\n"; } return out; } const QString PlayListOption::name() const { return "PlayListOption"; } QTranslator *PlayListOption::createTranslator(QObject *parent) { QTranslator *translator = new QTranslator(parent); QString locale = Qmmp::systemLanguageID(); translator->load(QString(":/playlist_plugin_") + locale); return translator; } QString PlayListOption::boolToText(bool enabled) { return QString(enabled ? "[+]" : "[-]"); } Q_EXPORT_PLUGIN2(playlistoption, PlayListOption)