Uploaded image for project: 'MediaPortal 1'
  1. MediaPortal 1
  2. MP1-4752

Add ability to MyVideo grabbers: Add movie to custom/manual User Group.

    XMLWordPrintable

Details

    • Icon: Improvement/Rework Improvement/Rework
    • Resolution: Fixed
    • Icon: Major Major
    • 1.13.100
    • 1.13.0
    • Videos
    • None

    Description

      <p>More info in forum -&nbsp;<a href="http://forum.team-mediaportal.com/threads/add-ability-to-myvideo-grabbers-add-movie-to-custom-manual-user-group.133373/">http://forum.team-mediaportal.com/threads/add-ability-to-myvideo-grabbers-add-movie-to-custom-manual-user-group.133373/&lt;/a&gt;&nbsp;&lt;/p>

      <p>Expected decision,&nbsp;<span style="font-family: 'Helvetica Neue', Helvetica-Neue, Arial, sans-serif; font-size: 14.3px; line-height: 20.02px;">add block:</span></p>

      <pre class="brush: csharp;" name="code" style="background-color:#f7f7f7;border:1px solid #d7d7d7;padding:.5em 1em .5em 1em;">
                  // Add custom user groups
                  if (!string.IsNullOrEmpty(_movieDetails.SingleUserGroup))
                  {
                    PipesArray = new string[3] { ",", "/", "|" };
                    string[] sGroups = _movieDetails.SingleUserGroup.Split(PipesArray, StringSplitOptions.RemoveEmptyEntries);
                    foreach (string sGroup in sGroups)
                    {
                      VideoDatabase.AddUserGroupToMovie(_movieDetails.ID, VideoDatabase.AddUserGroup(sGroup.Trim()));
                    }
                    _movieDetails.SingleUserGroup = string.Empty;
                  }</pre>

      <p>At:&nbsp;<a href="https://github.com/MediaPortal/MediaPortal-1/blob/963779a832eb4b7c08b9779210e6f935af312f2e/mediaportal/Databases/Video/IMDBFetcher.cs#L520">https://github.com/MediaPortal/MediaPortal-1/blob/963779a832eb4b7c08b9779210e6f935af312f2e/mediaportal/Databases/Video/IMDBFetcher.cs#L520&lt;/a&gt;&nbsp;&lt;/p>

      Attachments

        Activity

          People

            sebastiii sebastiii
            ajs Andrew J.Swan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: