#include "dialogs/open.hpp"
#include "dialogs/help.hpp"
#include "dialogs/gototime.hpp"
+#include "dialogs/podcast_configuration.hpp"
DialogsProvider* DialogsProvider::instance = NULL;
}
}
-void DialogsProvider::openDirDialog()
-{
- openDirectory( p_intf, true, true );
-}
-
void DialogsProvider::PLAppendDir()
{
openDirectory( p_intf, true, false );
{
if( qfd->selectedFiles().count() > 0 )
{
- char *psz_module, *psz_m3u = "export-m3u",
- *psz_xspf = "export-xspf";
+ static const char psz_xspf[] = "export-xspf",
+ psz_m3u[] = "esport-m3u";
+ const char *psz_module;
QString file = qfd->selectedFiles().first();
QString filter = qfd->selectedFilter();
b_transcode_only );
if( s->exec() == QDialog::Accepted )
{
- msg_Err(p_intf, "mrl %s\n", qta(s->mrl));
+ msg_Err( p_intf, "mrl %s\n", qta( s->getMrl() ) );
/* Just do it */
- int i_len = strlen( qtu(s->mrl) ) + 10;
+ int i_len = strlen( qtu( s->getMrl() ) ) + 10;
char *psz_option = (char*)malloc(i_len);
- snprintf( psz_option, i_len - 1, ":sout=%s", qtu(s->mrl));
+ snprintf( psz_option, i_len - 1, "%s", qtu( s->getMrl() ) );
playlist_AddExt( THEPL, qtu( mrl ), "Streaming",
PLAYLIST_APPEND | PLAYLIST_GO, PLAYLIST_END,
}
}
+void DialogsProvider::podcastConfigureDialog()
+{
+ PodcastConfigurationDialog c( p_intf );
+ c.exec();
+}
+
void DialogsProvider::switchToSkins()
{
var_SetString( p_intf, "intf-switch", "skins2" );