[vlmc-devel] Builds?

T Knoll tryst2020 at gmail.com
Tue Jan 3 15:32:20 CET 2017


Do you have any premade alpha builds or updated detailed instructions on
how to make a build from the source code?

Sent by the CraftyMiner via PC

On Tue, Jan 3, 2017 at 5:00 AM, <vlmc-devel-request at videolan.org> wrote:

> Send Vlmc-devel mailing list submissions to
>         vlmc-devel at videolan.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://mailman.videolan.org/listinfo/vlmc-devel
> or, via email, send a message with subject or body 'help' to
>         vlmc-devel-request at videolan.org
>
> You can reach the person managing the list at
>         vlmc-devel-owner at videolan.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Vlmc-devel digest..."
>
>
> Today's Topics:
>
>    1. Reflect recent MediaLibrary API changes (Hugo Beauzée-Luyssen)
>    2. Core: Create Workspace before Library (Hugo Beauzée-Luyssen)
>    3. Workspace: Ensure the provided path exists (Hugo Beauzée-Luyssen)
>    4. Workspace: Remove leftover "Workspace" variable
>       (Hugo Beauzée-Luyssen)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 02 Jan 2017 23:42:16 +0100
> From: Hugo Beauzée-Luyssen <git at videolan.org>
> To: vlmc-devel at videolan.org
> Subject: [vlmc-devel] Reflect recent MediaLibrary API changes
> Message-ID: <20170102224217.B8ADD172743 at albiero.videolan.org>
> Content-Type: text/plain; charset=UTF-8
>
> vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Mon Jan
> 2 22:49:57 2017 +0100| [37615c8650c58a05fcacf75a102ed097f4042d34] |
> committer: Hugo Beauzée-Luyssen
>
> Reflect recent MediaLibrary API changes
>
> > https://code.videolan.org/videolan/vlmc/commit/
> 37615c8650c58a05fcacf75a102ed097f4042d34
> ---
>
>  src/Library/Library.cpp           | 24 ++++++++++++++++++------
>  src/Library/Library.h             |  3 +++
>  src/Library/MediaLibraryModel.cpp |  4 ++--
>  src/Media/Media.cpp               |  3 +--
>  4 files changed, 24 insertions(+), 10 deletions(-)
>
> diff --git a/src/Library/Library.cpp b/src/Library/Library.cpp
> index 1ae4f83..9c74b43 100644
> --- a/src/Library/Library.cpp
> +++ b/src/Library/Library.cpp
> @@ -51,8 +51,8 @@ Library::Library( Settings* vlmcSettings, Settings
> *projectSettings )
>      // Setting up the external media library
>      m_ml.reset( NewMediaLibrary() );
>      m_ml->setVerbosity( medialibrary::LogLevel::Warning );
> -    m_videoModel = new MediaLibraryModel( *m_ml,
> medialibrary::IMedia::Type::VideoType, this );
> -    m_audioModel = new MediaLibraryModel( *m_ml,
> medialibrary::IMedia::Type::AudioType, this );
> +    m_videoModel = new MediaLibraryModel( *m_ml,
> medialibrary::IMedia::Type::Video, this );
> +    m_audioModel = new MediaLibraryModel( *m_ml,
> medialibrary::IMedia::Type::Audio, this );
>
>      auto s = vlmcSettings->createVar( SettingValue::List, QStringLiteral(
> "vlmc/mlDirs" ), QVariantList(),
>                          "Media Library folders", "List of folders VLMC
> will search for media files",
> @@ -216,10 +216,10 @@ Library::onMediaAdded( std::vector<medialibrary::MediaPtr>
> mediaList )
>      {
>          switch ( m->type() )
>          {
> -        case medialibrary::IMedia::Type::VideoType:
> +        case medialibrary::IMedia::Type::Video:
>              m_videoModel->addMedia( m );
>              break;
> -        case medialibrary::IMedia::Type::AudioType:
> +        case medialibrary::IMedia::Type::Audio:
>              m_audioModel->addMedia( m );
>              break;
>          default:
> @@ -235,10 +235,10 @@ Library::onMediaUpdated( std::vector<medialibrary::MediaPtr>
> mediaList )
>      {
>          switch ( m->type() )
>          {
> -        case medialibrary::IMedia::Type::VideoType:
> +        case medialibrary::IMedia::Type::Video:
>              m_videoModel->updateMedia( m );
>              break;
> -        case medialibrary::IMedia::Type::AudioType:
> +        case medialibrary::IMedia::Type::Audio:
>              m_audioModel->updateMedia( m );
>              break;
>          default:
> @@ -327,3 +327,15 @@ Library::onParsingStatsUpdated( uint32_t percent )
>  {
>      emit progressUpdated( static_cast<int>( percent ) );
>  }
> +
> +void Library::onPlaylistsAdded( std::vector<medialibrary::PlaylistPtr> )
> +{
> +}
> +
> +void Library::onPlaylistsModified( std::vector<medialibrary::PlaylistPtr>
> )
> +{
> +}
> +
> +void Library::onPlaylistsDeleted( std::vector<int64_t> )
> +{
> +}
> diff --git a/src/Library/Library.h b/src/Library/Library.h
> index 163e80b..5c50927 100644
> --- a/src/Library/Library.h
> +++ b/src/Library/Library.h
> @@ -104,6 +104,9 @@ private:
>      virtual void onDiscoveryProgress( const std::string& entryPoint )
> override;
>      virtual void onDiscoveryCompleted( const std::string& entryPoint )
> override;
>      virtual void onParsingStatsUpdated( uint32_t percent ) override;
> +    virtual void onPlaylistsAdded( std::vector<medialibrary::PlaylistPtr>
> playlists ) override;
> +    virtual void onPlaylistsModified( std::vector<medialibrary::PlaylistPtr>
> playlists ) override;
> +    virtual void onPlaylistsDeleted( std::vector<int64_t> playlistIds )
> override;
>
>  private:
>      std::unique_ptr<medialibrary::IMediaLibrary>    m_ml;
> diff --git a/src/Library/MediaLibraryModel.cpp b/src/Library/
> MediaLibraryModel.cpp
> index b319cb5..cb766aa 100644
> --- a/src/Library/MediaLibraryModel.cpp
> +++ b/src/Library/MediaLibraryModel.cpp
> @@ -144,10 +144,10 @@ void MediaLibraryModel::refresh()
>
>      switch ( m_mediaType )
>      {
> -    case medialibrary::IMedia::Type::AudioType:
> +    case medialibrary::IMedia::Type::Audio:
>          m_media = m_ml.audioFiles();
>          break;
> -    case medialibrary::IMedia::Type::VideoType:
> +    case medialibrary::IMedia::Type::Video:
>          m_media = m_ml.videoFiles();
>          break;
>      default:
> diff --git a/src/Media/Media.cpp b/src/Media/Media.cpp
> index 5ce81b0..cde058d 100644
> --- a/src/Media/Media.cpp
> +++ b/src/Media/Media.cpp
> @@ -68,8 +68,7 @@ Media::Media( medialibrary::MediaPtr media, const QUuid&
> uuid /* = QUuid() */ )
>      Q_ASSERT( files.size() > 0 );
>      for ( const auto& f : files )
>      {
> -        if ( f->type() == medialibrary::IFile::Type::Entire ||
> -             f->type() == medialibrary::IFile::Type::Main )
> +        if ( f->type() == medialibrary::IFile::Type::Main )
>          {
>              m_mlFile = f;
>              break;
>
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 02 Jan 2017 23:42:17 +0100
> From: Hugo Beauzée-Luyssen <git at videolan.org>
> To: vlmc-devel at videolan.org
> Subject: [vlmc-devel] Core: Create Workspace before Library
> Message-ID: <20170102224218.C4B37172743 at albiero.videolan.org>
> Content-Type: text/plain; charset=UTF-8
>
> vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Mon Jan
> 2 23:12:07 2017 +0100| [f8dc1abcccba8b931a76fa1f77d847499f3d95f9] |
> committer: Hugo Beauzée-Luyssen
>
> Core: Create Workspace before Library
>
> So that the Workspace can perform safety checks on the provided path
>
> > https://code.videolan.org/videolan/vlmc/commit/
> f8dc1abcccba8b931a76fa1f77d847499f3d95f9
> ---
>
>  src/Main/Core.cpp | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/Main/Core.cpp b/src/Main/Core.cpp
> index 86f7a8f..d53c85c 100644
> --- a/src/Main/Core.cpp
> +++ b/src/Main/Core.cpp
> @@ -47,9 +47,9 @@ Core::Core()
>
>      createSettings();
>      m_currentProject = new Project( m_settings );
> +    m_workspace = new Workspace( m_settings );
>      m_library = new Library( m_settings, m_currentProject->settings() );
>      m_recentProjects = new RecentProjects( m_settings );
> -    m_workspace = new Workspace( m_settings );
>      m_workflow = new MainWorkflow( m_currentProject->settings() );
>
>      QObject::connect( m_workflow, &MainWorkflow::cleanChanged,
> m_currentProject, &Project::cleanChanged );
>
>
>
> ------------------------------
>
> Message: 3
> Date: Mon, 02 Jan 2017 23:42:19 +0100
> From: Hugo Beauzée-Luyssen <git at videolan.org>
> To: vlmc-devel at videolan.org
> Subject: [vlmc-devel] Workspace: Ensure the provided path exists
> Message-ID: <20170102224220.DE009172776 at albiero.videolan.org>
> Content-Type: text/plain; charset=UTF-8
>
> vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Mon Jan
> 2 23:32:52 2017 +0100| [9ad256c1782e6330f3b70fd53ffd2f781e6751fc] |
> committer: Hugo Beauzée-Luyssen
>
> Workspace: Ensure the provided path exists
>
> > https://code.videolan.org/videolan/vlmc/commit/
> 9ad256c1782e6330f3b70fd53ffd2f781e6751fc
> ---
>
>  src/Project/Workspace.cpp | 11 +++++++++--
>  1 file changed, 9 insertions(+), 2 deletions(-)
>
> diff --git a/src/Project/Workspace.cpp b/src/Project/Workspace.cpp
> index eefe122..d7c6e99 100644
> --- a/src/Project/Workspace.cpp
> +++ b/src/Project/Workspace.cpp
> @@ -34,6 +34,7 @@
>  #include "Tools/VlmcDebug.h"
>
>  #include <QFileInfo>
> +#include <QDir>
>
>  const QString   Workspace::workspacePrefix = "workspace://";
>
> @@ -49,9 +50,15 @@ Workspace::Workspace(Settings *settings)
>  }
>
>  void
> -Workspace::workspaceChanged(const QVariant &newWorkspace)
> +Workspace::workspaceChanged( const QVariant &newWorkspace )
>  {
> -    m_workspaceDir = newWorkspace.toString();
> +    QString path = newWorkspace.toString();
> +    Q_ASSERT( path.isEmpty() == false );
> +    m_workspaceDir = std::move( path );
> +
> +    QDir workspace( m_workspaceDir );
> +    if ( workspace.exists() == false )
> +        QDir().mkdir( m_workspaceDir );
>  }
>
>  bool
>
>
>
> ------------------------------
>
> Message: 4
> Date: Mon, 02 Jan 2017 23:42:18 +0100
> From: Hugo Beauzée-Luyssen <git at videolan.org>
> To: vlmc-devel at videolan.org
> Subject: [vlmc-devel] Workspace: Remove leftover "Workspace" variable
> Message-ID: <20170102224226.C14651725A0 at albiero.videolan.org>
> Content-Type: text/plain; charset=UTF-8
>
> vlmc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Mon Jan
> 2 23:18:13 2017 +0100| [831961baa543ad2e49aca4c92b4655b3aec0b33d] |
> committer: Hugo Beauzée-Luyssen
>
> Workspace: Remove leftover "Workspace" variable
>
> Ensure there's only one workspace location setting, that is created by
> the Workspace class
>
> > https://code.videolan.org/videolan/vlmc/commit/
> 831961baa543ad2e49aca4c92b4655b3aec0b33d
> ---
>
>  src/Main/Core.cpp         | 4 ----
>  src/Project/Workspace.cpp | 7 +++++--
>  2 files changed, 5 insertions(+), 6 deletions(-)
>
> diff --git a/src/Main/Core.cpp b/src/Main/Core.cpp
> index d53c85c..d5f16a5 100644
> --- a/src/Main/Core.cpp
> +++ b/src/Main/Core.cpp
> @@ -82,10 +82,6 @@ Core::createSettings()
>      QString configPath = configDir + QDir::separator() +
> qApp->organizationName()
>              + QDir::separator() + qApp->applicationName() + ".conf";
>      m_settings = new Settings( configPath );
> -    m_settings->createVar( SettingValue::String,
> "vlmc/WorkspaceLocation", "",
> -                                    QT_TRANSLATE_NOOP( "Settings",
> "Workspace location" ),
> -                                    QT_TRANSLATE_NOOP( "Settings",
> "VLMC's workspace location" ),
> -                                    SettingValue::Nothing );
>      m_settings->createVar( SettingValue::Bool, "private/FirstLaunchDone",
> false, "", "", SettingValue::Private );
>  }
>
> diff --git a/src/Project/Workspace.cpp b/src/Project/Workspace.cpp
> index 879eb48..eefe122 100644
> --- a/src/Project/Workspace.cpp
> +++ b/src/Project/Workspace.cpp
> @@ -39,8 +39,11 @@ const QString   Workspace::workspacePrefix =
> "workspace://";
>
>  Workspace::Workspace(Settings *settings)
>  {
> -    SettingValue* workspaceDir = settings->createVar(
> SettingValue::String, "vlmc/Workspace", "",
> -                                                      "", "",
> SettingValue::Private );
> +    SettingValue* workspaceDir = settings->createVar(
> +                SettingValue::String, "vlmc/WorkspaceLocation", "",
> +                QT_TRANSLATE_NOOP( "Settings", "Workspace location" ),
> +                QT_TRANSLATE_NOOP( "Settings", "VLMC's workspace
> location" ),
> +                SettingValue::Nothing );
>      connect(workspaceDir, SIGNAL( changed( QVariant ) ),
>              this, SLOT( workspaceChanged( QVariant ) ) );
>  }
>
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> Vlmc-devel mailing list
> Vlmc-devel at videolan.org
> https://mailman.videolan.org/listinfo/vlmc-devel
>
>
> ------------------------------
>
> End of Vlmc-devel Digest, Vol 55, Issue 1
> *****************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlmc-devel/attachments/20170103/441d1aa6/attachment-0001.html>


More information about the Vlmc-devel mailing list