[Info] Release 0.7 (x86/x64) - MPExtended, WebMP, Bootstrap skin by ajs - Hard way (2 Viewers)

azzuro

Test Group
  • Team MediaPortal
  • May 10, 2007
    9,984
    5,663
    France - IDF
    Home Country
    France France
    So that when updating the package there is nothing to change? andrewjswan/MPExtended
    yes, you can dothis :

    XML:
    <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
      <!-- Copy the files to bin before the build -->
      <Target Name="CopyFFmpegToBin" BeforeTargets="BeforeBuild">
        <ItemGroup>
          <FilesToCopy Include="$(MSBuildThisFileDirectory)..\ffmpeg\ffmpeg.exe" />
        </ItemGroup>
        <Copy SourceFiles="@(FilesToCopy)" DestinationFolder="$(TargetDir)ffmpeg" SkipUnchangedFiles="true" />
      </Target>
      <!-- Delete the files from bin after clean -->
      <Target Name="DeleteFFmpegFromBin" BeforeTargets="AfterClean">
        <RemoveDir Directories="$(TargetDir)ffmpeg" />
      </Target>
    </Project>
    but this one must be provided as .props file located in build folder of the nuget package.
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,037
    11,109
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #92
    yes, you can dothis
    How about this?
    Code:
    xcopy $(SolutionDir)\Packages\MediaInfo.Native.19.9.0\build\native\x86\MediaInfo.dll $(TargetDir) /Y
    xcopy $(SolutionDir)\Packages\MediaInfo.Native.19.9.0\build\native\x86\libcrypto-1_1.dll $(TargetDir) /Y
    xcopy $(SolutionDir)\Packages\MediaInfo.Native.19.9.0\build\native\x86\libcurl.dll $(TargetDir) /Y
    xcopy $(SolutionDir)\Packages\MediaInfo.Native.19.9.0\build\native\x86\libssl-1_1.dll $(TargetDir) /Y
    xcopy $(SolutionDir)\Packages\MediaInfo.Wrapper.19.9.3\lib\net40\MediaInfo.Wrapper.dll $(TargetDir) /Y
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,037
    11,109
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #94

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,037
    11,109
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #95
    I’ll be happy to give any help if needed in testing.
    Yes, I don’t know yet what can be tested, as a whole I updated everything that could be, added something for My Video, now I’m looking for a nice skin, and I’ll edit it. While I stopped at Bootstrap, it seems to me that this is the most advanced, but in the mobile it completely does not work for me, if I can not fix it, I will look further.
    In the first message, the current version is available, it works for me, but for some reason it doesn’t show the video, although the regular version also didn’t show it, the problem is either in the server or in the settings. :)
     

    azzuro

    Test Group
  • Team MediaPortal
  • May 10, 2007
    9,984
    5,663
    France - IDF
    Home Country
    France France
    Hmmm, To know how to do this :(
    something possible is to allow vaiablepath .

    from DX9 sdk nuget (provided with MP) the .props ( the props filename must be the same than the package and stored in build folder)
    XML:
    <?xml version="1.0" encoding="utf-8"?>
    <Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
      <ImportGroup Label="PropertySheets" />
      <PropertyGroup Label="UserMacros"
          Condition="'$(DXSDK_DIR)' == ''">
        <DXSDK_DIR>$(MSBuildThisFileDirectory)</DXSDK_DIR>
      </PropertyGroup>
      <PropertyGroup />
      <ItemDefinitionGroup />
      <ItemGroup>
        <BuildMacro Include="DXSDK_DIR">
          <Value>$(DXSDK_DIR)</Value>
          <EnvironmentVariable>true</EnvironmentVariable>
        </BuildMacro>
      </ItemGroup>
    </Project>

    with this code, i use variablepath to define the path of the nuget, to be used by visualstudio.
     

    ajs

    Development Group
  • Team MediaPortal
  • February 29, 2008
    16,037
    11,109
    Kyiv
    Home Country
    Ukraine Ukraine
    • Thread starter
    • Moderator
    • #97
    the props filename must be the same than the package and stored in build folder
    If i have this packages.config - andrewjswan/MPExtended
    XML:
    <?xml version="1.0" encoding="utf-8"?>
    <packages>
      <package id="FFmpeg.Win32.Static" version="4.1.1.1" targetFramework="net40" />
      <package id="MediaInfo.Native" version="19.9.0" targetFramework="net40" />
      <package id="MediaInfo.Wrapper" version="19.9.3" targetFramework="net40" />
      <package id="MetadataExtractor" version="2.4.2" targetFramework="net40" />
      <package id="XmpCore" version="6.1.10" targetFramework="net40" />
    </packages>
    I need create FFmpeg.Win32.Static.props MediaInfo.Native.props MediaInfo.Wrapper.props files and store it in which folder?
    And then? Sorry if I ask stupid questions, but I do not understand the Studio at all, and there is nothing sane in the GUI. :coffee:
     

    azzuro

    Test Group
  • Team MediaPortal
  • May 10, 2007
    9,984
    5,663
    France - IDF
    Home Country
    France France

    Users who are viewing this thread

    Top Bottom