playlistsplitter.cpp 19.3 KB
Newer Older
1 2 3 4 5
/***************************************************************************
                          playlistsplitter.cpp  -  description
                             -------------------
    begin                : Fri Sep 13 2002
    copyright            : (C) 2002 by Scott Wheeler
6
    email                : wheeler@kde.org
7 8 9 10 11 12 13 14 15 16 17
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

18
#include <kstandarddirs.h>
19
#include <kmessagebox.h>
Nadeem Hasan's avatar
Nadeem Hasan committed
20
#include <klineeditdlg.h>
21 22
#include <kdebug.h>

23
#include <qpopupmenu.h>
24

25
#include "playlistsplitter.h"
26
#include "searchwidget.h"
27
#include "directorylist.h"
28
#include "playlistsearch.h"
29
#include "dynamicplaylist.h"
30
#include "mediafiles.h"
31 32

////////////////////////////////////////////////////////////////////////////////
33
// helper functions
34 35
////////////////////////////////////////////////////////////////////////////////

36
void processEvents()
37
{
38 39 40
    static int processed = 0;
    if(processed == 0)
        kapp->processEvents();
41
    processed = (processed + 1) % 5;
42 43
}

44
////////////////////////////////////////////////////////////////////////////////
45
// public methods
46 47
////////////////////////////////////////////////////////////////////////////////

48
PlaylistSplitter::PlaylistSplitter(QWidget *parent, bool restore, const char *name) :
49
    QSplitter(Qt::Horizontal, parent, name),
50
    m_playingItem(0), m_searchWidget(0), m_dynamicList(0), m_restore(restore),
51
    m_nextPlaylistItem(0)
52
{
53 54
    setupLayout();
    readConfig();
55 56

    m_editor->slotUpdateCollection();
57
}
58

59
PlaylistSplitter::~PlaylistSplitter()
60
{
Scott Wheeler's avatar
Scott Wheeler committed
61
    delete m_dirWatch;
62
    saveConfig();
63 64
}

65
QString PlaylistSplitter::uniquePlaylistName(const QString &startingWith, bool useParenthesis)
66
{
67
    if(!m_playlistBox)
68
	return QString::null;
69

70
    QStringList names = m_playlistBox->names();
71 72 73

    int playlistNumber = 1;

74
    // while the list contains more than zero instances of the generated
75 76
    // string...

77 78 79
    if(useParenthesis) {
	while(names.contains(startingWith + " (" + QString::number(playlistNumber) + ")") != 0)
	    playlistNumber++;
80 81

	return startingWith + " (" + QString::number(playlistNumber) + ")";
82 83 84 85 86
    }
    else
    {
	while(names.contains(startingWith + ' ' + QString::number(playlistNumber)) != 0)
	    playlistNumber++;
87

88
	return startingWith + " " + QString::number(playlistNumber);
89
    }
90 91
}

92
QString PlaylistSplitter::playNextFile(bool random, bool loopPlaylist)
93
{
94 95
    PlaylistItem *i;

96
    // Four basic cases here:  (1) We've asked for a specific next item, (2) play
97
    // the item that's after the currently playing item, (3) play the selected
98
    // item or (4) play the first item in the list.
99

100
    // (1) we've asked for a specific next item
101
    if(m_nextPlaylistItem && m_nextPlaylistItem != m_playingItem) {
102 103 104
        i = m_nextPlaylistItem;
        m_nextPlaylistItem = 0;
    }
105
    // (2) play the item after the currently selected item
106
    else if(m_playingItem) {
107 108
        Playlist *p = static_cast<Playlist *>(m_playingItem->listView());
        i = p->nextItem(m_playingItem, random);
109
        if(!i && loopPlaylist)
110
            i = static_cast<PlaylistItem *>(p->firstChild());
111
    }
112 113
    // (3) play the selected item
    else if(playlistSelection().size() > 0) {
114
        i = playlistSelection().first();
115 116
        if(!i)
            i = static_cast<PlaylistItem *>(visiblePlaylist()->firstChild());
117
    }
118 119 120
    // (4) play the first item in the list
    else
        i = static_cast<PlaylistItem *>(visiblePlaylist()->firstChild());
121

122
    return play(i);
123 124
}

125
QString PlaylistSplitter::playPreviousFile(bool random)
126
{
127
    if(!m_playingItem)
128
	return QString::null;
129

130 131
    Playlist *p = static_cast<Playlist *>(m_playingItem->listView());
    PlaylistItem *i = p->previousItem(m_playingItem, random);
132

133
    return play(i);
134 135
}

136 137 138 139 140 141
void PlaylistSplitter::populatePlayHistoryMenu(QPopupMenu* menu, bool random)
{
    Playlist *p = static_cast<Playlist *>(m_playingItem->listView());
    PlaylistItemList list = p->historyItems(m_playingItem, random);
    menu->clear();
    int i = 0;
142
    for(PlaylistItemList::Iterator it = list.begin(); it != list.end(); ++it)
143 144 145
        menu->insertItem((*it)->tag()->track(), ++i);
}

146 147 148 149 150 151 152 153
QString PlaylistSplitter::playSelectedFile()
{
    if(playlistSelection().isEmpty())
	return QString::null;
    else
	return play(playlistSelection().first());
}

154 155 156 157
QString PlaylistSplitter::playFirstFile()
{
    Playlist *p = visiblePlaylist();
    PlaylistItem *i = static_cast<PlaylistItem *>(p->firstChild());
158

159
    return play(i);
160 161
}

162 163 164 165 166 167 168 169 170
QString PlaylistSplitter::playRandomFile()
{
    Playlist *p = visiblePlaylist();
    PlaylistItem *i = static_cast<PlaylistItem *>(p->firstChild());

    // Not exactly random (the first item won't be taken into account)
    return play(p->nextItem(i, true));
}

171 172
void PlaylistSplitter::stop()
{
173 174
    m_nextPlaylistItem = 0;

175 176 177 178 179
    if(!m_playingItem)
	return;

    Playlist *p = static_cast<Playlist *>(m_playingItem->listView());

180 181 182
    if(p)
	p->setPlaying(m_playingItem, false);

183
    m_playingItem = 0;
184 185 186 187
}

QString PlaylistSplitter::playingArtist() const
{
188 189
    if(m_playingItem)
	return m_playingItem->text(PlaylistItem::ArtistColumn);
190
    else
191
	return QString::null;
192 193 194 195
}

QString PlaylistSplitter::playingTrack() const
{
196 197
    if(m_playingItem)
	return m_playingItem->text(PlaylistItem::TrackColumn);
198
    else
199
	return QString::null;
200 201 202 203
}

QString PlaylistSplitter::playingList() const
{
204 205
    if(m_playingItem)
	return static_cast<Playlist *>(m_playingItem->listView())->name();
206
    else
207
	return QString::null;
208 209
}

210
void PlaylistSplitter::open(const QString &file)
211
{
212 213 214
    if(file.isEmpty())
	return;

215 216 217 218 219
    if(visiblePlaylist() == m_collection ||
       KMessageBox::questionYesNo(this,
				  i18n("Do you want to add this item to the current list or to the collection list?"),
				  QString::null,
				  KGuiItem(i18n("Current")),
220 221
				  KGuiItem(i18n("Collection"))) == KMessageBox::No)
    {
222
	slotAddToPlaylist(file, m_collection);
223
    }
224
    else
225
	slotAddToPlaylist(file, visiblePlaylist());
226 227
}

228
void PlaylistSplitter::open(const QStringList &files)
229
{
230 231
    if(files.isEmpty())
	return;
232 233 234 235 236 237 238

    if(visiblePlaylist() == m_collection ||
       KMessageBox::questionYesNo(this,
				  i18n("Do you want to add these items to the current list or to the collection list?"),
				  QString::null,
				  KGuiItem(i18n("Current")),
				  KGuiItem(i18n("Collection"))) == KMessageBox::No)
239
    {
240
	slotAddToPlaylist(files, m_collection);
241
    }
242
    else
243
	slotAddToPlaylist(files, visiblePlaylist());
244 245 246 247
}

Playlist *PlaylistSplitter::createPlaylist(const QString &name)
{
248
    Playlist *p = new Playlist(m_playlistStack, name.latin1());
249 250
    setupPlaylist(p, true);
    return p;
251 252
}

253 254 255 256
////////////////////////////////////////////////////////////////////////////////
// public slots
////////////////////////////////////////////////////////////////////////////////

257
void PlaylistSplitter::slotOpen()
258
{
259
    open(MediaFiles::openDialog(this));
260 261
}

262
void PlaylistSplitter::slotOpenDirectory()
263
{
264
    DirectoryList *l = new DirectoryList(m_directoryList, this, "directoryList");
265

266
    m_directoryQueue.clear();
267
    m_directoryQueueRemove.clear();
268

269
    connect(l, SIGNAL(signalDirectoryAdded(const QString &)),
270
	    this, SLOT(slotQueueDirectory(const QString &)));
271
    connect(l, SIGNAL(signalDirectoryRemoved(const QString &)),
272
	    this, SLOT(slotQueueDirectoryRemove(const QString &)));
273 274

    if(l->exec() == QDialog::Accepted) {
275
	open(m_directoryQueue);
276 277
	for(QStringList::Iterator it = m_directoryQueue.begin(); it !=  m_directoryQueue.end(); it++)
	    m_dirWatch->addDir(*it, false, true);
278

279
	m_directoryList += m_directoryQueue;
280 281 282

	QStringList::Iterator it = m_directoryQueueRemove.begin();
	for(; it !=  m_directoryQueueRemove.end(); it++) {
283
	    m_dirWatch->removeDir(*it);
284
	    m_directoryList.remove(*it);
285
	}
286 287
    }
}
288

289
Playlist *PlaylistSplitter::slotCreatePlaylist()
290 291 292
{
    bool ok;

293
    // If this text is changed, please also change it in PlaylistBox::duplicate().
294

295
    QString name = KLineEditDlg::getText(i18n("Create New Playlist"),
Nadeem Hasan's avatar
Nadeem Hasan committed
296 297
	i18n("Please enter a name for the new playlist:"),
	uniquePlaylistName(), &ok);
298
    if(ok)
299
	return createPlaylist(name);
300
    else
301
	return 0;
302 303
}

304
void PlaylistSplitter::slotSelectPlaying()
305
{
306
    if(!m_playingItem)
307 308
	return;

309
    Playlist *l = static_cast<Playlist *>(m_playingItem->listView());
310

311 312
    if(!l)
	return;
313

314
    l->clearSelection();
315 316
    l->setSelected(m_playingItem, true);
    l->ensureItemVisible(m_playingItem);
Nadeem Hasan's avatar
Nadeem Hasan committed
317

318 319
    if(l != visiblePlaylist())
	m_playlistBox->raise(l);
320 321
}

322
void PlaylistSplitter::slotDeleteSelectedItems()
323 324 325
{
    Playlist *p = visiblePlaylist();
    if(p)
326
	p->slotDeleteSelectedItems();
327 328
}

329 330 331 332
void PlaylistSplitter::slotAddToPlaylist(const QString &file, Playlist *list)
{
    KApplication::setOverrideCursor(Qt::waitCursor);
    addImpl(file, list);
333
    list->emitNumberOfItemsChanged();
334
    KApplication::restoreOverrideCursor();
Nadeem Hasan's avatar
Nadeem Hasan committed
335

336 337 338 339 340 341 342 343 344
    if(m_editor)
	m_editor->slotUpdateCollection();
}

void PlaylistSplitter::slotAddToPlaylist(const QStringList &files, Playlist *list)
{
    KApplication::setOverrideCursor(Qt::waitCursor);
    for(QStringList::ConstIterator it = files.begin(); it != files.end(); ++it)
        addImpl(*it, list);
345
    list->emitNumberOfItemsChanged();
346 347 348 349 350 351
    KApplication::restoreOverrideCursor();

    if(m_editor)
	m_editor->slotUpdateCollection();
}

352 353 354 355 356 357 358
void PlaylistSplitter::slotSetSearchVisible(bool visible)
{
    m_searchWidget->setShown(visible);
    redisplaySearch();
}


359
void PlaylistSplitter::slotGuessTagInfoFile()
360
{
361 362 363 364 365 366 367 368
    visiblePlaylist()->slotGuessTagInfoFile();
    if(m_editor)
        m_editor->slotRefresh();
}

void PlaylistSplitter::slotGuessTagInfoInternet()
{
    visiblePlaylist()->slotGuessTagInfoInternet();
369 370 371 372
    if(m_editor)
        m_editor->slotRefresh();
}

373 374 375 376 377 378 379
void PlaylistSplitter::slotRenameFile()
{
    visiblePlaylist()->slotRenameFile();
    if(m_editor)
        m_editor->slotRefresh();
}

380 381 382 383 384 385
////////////////////////////////////////////////////////////////////////////////
// private members
////////////////////////////////////////////////////////////////////////////////

void PlaylistSplitter::setupLayout()
{
386 387
    setOpaqueResize(true);

388
    m_playlistBox = new PlaylistBox(this, "playlistBox");
389 390 391 392 393 394

    // Create a splitter to go between the playlists and the editor.

    QSplitter *editorSplitter = new QSplitter(Qt::Vertical, this, "editorSplitter");

    // Create the playlist and the editor.
395

396 397
    m_playlistStack = new QWidgetStack(editorSplitter, "playlistStack");
    m_editor = new TagEditor(editorSplitter, "tagEditor");
398 399 400

    // Make the editor as small as possible (or at least as small as recommended)

401
    editorSplitter->setResizeMode(m_editor, QSplitter::FollowSizeHint);
402

403
    // Make the connection that will update the selected playlist when a
404 405
    // selection is made in the playlist box.

406
    connect(m_playlistBox, SIGNAL(signalCurrentChanged(const PlaylistList &)),
407
	    this, SLOT(slotChangePlaylist(const PlaylistList &)));
408

409
    connect(m_playlistBox, SIGNAL(signalDoubleClicked()), this, SIGNAL(signalListBoxDoubleClicked()));
410

411
    // Create the collection list; this should always exist.  This has a
412
    // slightly different creation process than normal playlists (since it in
413
    // fact is a subclass) so it is created here rather than by using
414
    // slotCreatePlaylist().
415

416
    CollectionList::initialize(m_playlistStack, m_restore);
417 418
    m_collection = CollectionList::instance();
    setupPlaylist(m_collection, true, "folder_sound");
419
    connect(m_collection, SIGNAL(signalCollectionChanged()), m_editor, SLOT(slotUpdateCollection()));
420
    connect(m_collection, SIGNAL(signalRequestPlaylistCreation(const PlaylistItemList &)),
421
	    this, SLOT(slotCreatePlaylist(const PlaylistItemList &)));
422

423 424 425 426

    // Create the search widget -- this must be done after the CollectionList is created.
    m_searchWidget = new SearchWidget(editorSplitter, CollectionList::instance(), "searchWidget");
    editorSplitter->moveToFirst(m_searchWidget);
427
    connect(m_searchWidget, SIGNAL(signalQueryChanged()), this, SLOT(slotShowSearchResults()));
428 429 430
    connect(CollectionList::instance(), SIGNAL(signalVisibleColumnsChanged()),
	    this, SLOT(slotVisibleColumnsChanged()));

431
    // Show the collection on startup.
432
    m_playlistBox->setSelected(0, true);
433 434 435 436
}

void PlaylistSplitter::readConfig()
{
437 438 439 440
    KConfig *config = KGlobal::config();
    { // block for Playlists group
	KConfigGroupSaver saver(config, "Playlists");

441 442 443 444 445 446
	QValueList<int> splitterSizes = config->readIntListEntry("PlaylistSplitterSizes");
	if(splitterSizes.isEmpty()) {
	    splitterSizes.append(100);
	    splitterSizes.append(640);
	}
	setSizes(splitterSizes);
447

448
	if(m_restore) {
449 450 451 452

	    QString playlistsFile = KGlobal::dirs()->saveLocation("appdata") + "playlists";

	    QFile f(playlistsFile);
Nadeem Hasan's avatar
Nadeem Hasan committed
453

454 455 456
	    if(f.open(IO_ReadOnly)) {
		QDataStream s(&f);
		while(!s.atEnd()) {
457
		    Playlist *p = new Playlist(m_playlistStack);
458 459 460 461
		    s >> *p;

		    // check to see if we've alredy loaded this item before continuing

462
		    if(p->fileName().isEmpty() || !m_playlistFiles.insert(p->fileName()))
463 464 465 466
			setupPlaylist(p);
		    else
			delete p;
		}
467
	    }
468

469
	    m_directoryList = config->readListEntry("DirectoryList");
470
	    QTimer::singleShot(0, this, SLOT(slotScanDirectories()));
471 472

	    m_dirWatch = new KDirWatch();
473
	    connect(m_dirWatch, SIGNAL(dirty(const QString &)),
474
		    this, SLOT(slotDirChanged(const QString &)));
475

476 477
	    QStringList::Iterator it = m_directoryList.begin();
            for(; it != m_directoryList.end(); ++it)
478 479 480
		m_dirWatch->addDir(*it, false, true);

	    m_dirWatch->startScan();
481
	}
482 483 484

	// restore the list of hidden and shown columns

485
	if(m_collection) {
486
	    for(int i = 0; i < m_collection->columns(); i++)
487
		m_columnNames.append(m_collection->columnText(i));
488
	}
489

490
    }
491
}
492 493 494 495

void PlaylistSplitter::saveConfig()
{
    KConfig *config = KGlobal::config();
496

497
    // Save the list of open playlists.
Nadeem Hasan's avatar
Nadeem Hasan committed
498

499
    if(m_restore && m_playlistBox) {
500 501 502

	// Start at item 1.  We want to skip the collection list.

503 504
	QString playlistsFile = KGlobal::dirs()->saveLocation("appdata") + "playlists";
	QFile f(playlistsFile);
505

506 507 508 509
	if(f.open(IO_WriteOnly)) {

	    QDataStream s(&f);

510
	    PlaylistList l = m_playlistBox->playlists();
511

512 513
	    for(PlaylistList::Iterator it = l.begin(); it != l.end(); it++)
		s << *(*it);
514

515
	    f.close();
516 517 518
	}
	{ // block for Playlists group
	    KConfigGroupSaver saver(config, "Playlists");
519
	    config->writeEntry("DirectoryList", m_directoryList);
520
	    config->writeEntry("SortColumn", m_collection->sortColumn());
521
	    config->writeEntry("PlaylistSplitterSizes", sizes());
522 523
	}
    }
524 525
}

526 527 528 529 530 531 532
void PlaylistSplitter::addImpl(const QString &file, Playlist *list)
{
    processEvents();
    QFileInfo fileInfo(QDir::cleanDirPath(file));
    if(fileInfo.exists()) {
        if(fileInfo.isDir()) {
            QDir dir(fileInfo.filePath());
533
            QStringList dirContents = dir.entryList();
534 535 536 537 538
            for(QStringList::Iterator it = dirContents.begin(); it != dirContents.end(); ++it)
                if(*it != "." && *it != "..")
                    addImpl(fileInfo.filePath() + QDir::separator() + *it, list);
        }
        else {
539
            if(MediaFiles::isMediaFile(file))
540
		list->createItem(fileInfo, QString::null, 0, false);
541
	    else if(MediaFiles::isPlaylistFile(file))
542 543
		openPlaylist(fileInfo.absFilePath());
        }
Nadeem Hasan's avatar
Nadeem Hasan committed
544
    }
545 546
}

547
void PlaylistSplitter::setupPlaylist(Playlist *p, bool raise, const char *icon)
548
{
549 550 551 552 553 554
    connect(p, SIGNAL(signalSelectionChanged(const PlaylistItemList &)),
	    m_editor, SLOT(slotSetItems(const PlaylistItemList &)));
    connect(p, SIGNAL(signalDoubleClicked()),
	    this, SIGNAL(signalDoubleClicked()));
    connect(p, SIGNAL(signalNumberOfItemsChanged(Playlist *)),
	    this, SLOT(slotPlaylistCountChanged(Playlist *)));
555
    connect(p, SIGNAL(signalAboutToRemove(PlaylistItem *)),
556
	    this, SLOT(slotPlaylistItemRemoved(PlaylistItem *)));
557
    connect(p, SIGNAL(signalFilesDropped(const QStringList &, Playlist *)),
558 559 560
	    this, SLOT(slotAddToPlaylist(const QStringList &, Playlist *)));
    connect(p, SIGNAL(signalSetNext(PlaylistItem *)),
	    this, SLOT(slotSetNextItem(PlaylistItem *)));
561

562 563
    if(icon)
	m_playlistBox->createItem(p, icon, raise);
564

565 566 567 568 569
    if(raise) {
	PlaylistList l;
	l.append(p);
	slotChangePlaylist(l);
    }
570 571
}

572 573 574
Playlist *PlaylistSplitter::openPlaylist(const QString &file)
{
    QFileInfo fileInfo(file);
575 576 577
    if(!fileInfo.exists() ||
       !fileInfo.isFile() ||
       !fileInfo.isReadable() ||
578 579
       m_playlistFiles.insert(fileInfo.absFilePath()))
    {
580
	return 0;
581
    }
582

583
    Playlist *p = new Playlist(file, m_playlistStack, fileInfo.baseName(true).latin1());
584
    setupPlaylist(p);
585
    return p;
586 587
}

588 589 590 591 592 593 594
QString PlaylistSplitter::play(PlaylistItem *item)
{
    stop();

    if(!item)
	return QString::null;

595 596 597 598
    Playlist *p = static_cast<Playlist *>(item->listView());

    p->setPlaying(item, true);

599 600 601 602 603
    m_playingItem = item;

    return item->absFilePath();
}

604 605 606 607 608 609 610 611 612 613
void PlaylistSplitter::redisplaySearch()
{
    if(!m_searchWidget->isVisible() || visiblePlaylist()->search().isEmpty())
	visiblePlaylist()->setItemsVisible(visiblePlaylist()->items(), true);
    else {
	Playlist::setItemsVisible(visiblePlaylist()->search().matchedItems(), true);
	Playlist::setItemsVisible(visiblePlaylist()->search().unmatchedItems(), false);
    }
}

614 615 616 617
////////////////////////////////////////////////////////////////////////////////
// private slots
////////////////////////////////////////////////////////////////////////////////

618
void PlaylistSplitter::slotChangePlaylist(const PlaylistList &l)
619
{
620 621
    if(l.isEmpty()) {
	emit signalPlaylistChanged();
622
	return;
623
    }
624

625 626
    Playlist *current = m_dynamicList;

627
    m_nextPlaylistItem = 0;
628 629 630 631
    if(l.count() == 1) {
	m_playlistStack->raiseWidget(l.first());
	m_editor->slotSetItems(playlistSelection());
	m_dynamicList = 0;
632 633 634 635 636

	if(m_searchWidget) {
	    m_searchWidget->setSearch(l.first()->search());
	    redisplaySearch();
	}
637 638
    }
    else {
639
	m_dynamicList = new DynamicPlaylist(l, m_playlistStack, i18n("Dynamic List"));
640 641 642 643 644
	setupPlaylist(m_dynamicList, true, 0);
    }

    if(current)
	delete current;
645 646

    emit signalPlaylistChanged();
647 648
}

649
void PlaylistSplitter::slotPlaylistCountChanged(Playlist *p)
650
{
651 652
    if(p && p == m_playlistStack->visibleWidget())
	emit signalSelectedPlaylistCountChanged(p->childCount());
653 654
}

655
void PlaylistSplitter::slotPlaylistItemRemoved(PlaylistItem *item)
656
{
657 658
    if(item == m_playingItem)
	m_playingItem = 0;
659 660 661

    if(item == m_nextPlaylistItem)
	m_nextPlaylistItem = 0;
662 663
}

664
void PlaylistSplitter::slotCreatePlaylist(const PlaylistItemList &items)
665
{
666 667 668
    if(items.isEmpty())
	return;

669
    Playlist *playlist = slotCreatePlaylist();
670

671
    if(!playlist)
672
        return;
673

674
    playlist->createItems(items);
675 676
}

677
void PlaylistSplitter::slotShowSearchResults()
678 679 680 681
{
    PlaylistList playlists;
    playlists.append(visiblePlaylist());

682
    PlaylistSearch search = m_searchWidget->search(playlists);
683

684 685
    visiblePlaylist()->setSearch(search);
    redisplaySearch();
686 687
}

688 689 690 691 692
void PlaylistSplitter::slotVisibleColumnsChanged()
{
    m_searchWidget->slotUpdateColumns();
    m_searchWidget->slotQueryChanged();
    if(m_searchWidget->searchedColumns(0).count() > 1)
693
        slotShowSearchResults();
694 695
}

696
#include "playlistsplitter.moc"
Nadeem Hasan's avatar
Nadeem Hasan committed
697 698

// vim:ts=8