Menu

Movie Sets

2017-10-19
2017-12-30
1 2 3 > >> (Page 1 of 3)
  • Marc Borland

    Marc Borland - 2017-10-19

    Seems I have made a mess of my movie sets. Looking in the Movieset tab I have a ton of errors. Oddly, in Kodi, everything is where it should be. Looked at moviesetcache.xml and see weird settings, duplicate set listings with no movies, <UserMovieSetName> not accurate. Looking at moviecache.xml, movies are assigned the correct set. I should add, many "user created" sets here. So long story, quick question. if I delete moviesetcache.xml, will this delete all my sets, or will it correct my problem?

     
  • Rob

    Rob - 2017-10-19

    Short answer, Yes.
    Close MC. Delete MovieSetCache.xml.
    Then Re-open Media Companion.
    Refresh all movies.
    Check the Movie Set Tab.

    Now, you'll notice no info for Movie Sets so depending on the amount of Movie Sets, you can either right click a set and select Rescrape collection data
    or
    go back to Main Browser tab, then go Movies -> Batch Rescraper Wizard.
    Select only tmdb set info in Main Tags groupbox.
    This will then populate all Movie Set Plots, and also all movies associated with a Set, so you know what you have, and what is missing.

    Kodi doesn't care about the extra data, and also doesn't note Set Id's. Kodi only reads the Set name if present in the nfo.

     
  • Marc Borland

    Marc Borland - 2017-10-19

    What happens to my user created sets?

     
  • Rob

    Rob - 2017-10-19

    User created sets are not affected.
    Moviesetcache.xml is only for the logging of collections, user or TMDb, and the holding of TMDb collection info.
    If concerned, rename moviesetcache.xml to .orig and try MC. I am sure all will be alright as I've endeavoured to make this work smoothly.

     
  • Marc Borland

    Marc Borland - 2017-10-19

    You and the program are amazing. Thanks much

     
  • Marc Borland

    Marc Borland - 2017-10-19

    So, deleted, did the refresh, go to movieset tab and they are all there! But, 2 of my user created have red line saying possible incomplete data... Found this line in xml
    <DirtyData>True</DirtyData>, can I just change it to false? the other user created ones say false, and appear fine. One user created has no films in the set.xml, but films show in MC set.
    <UserMovieSetName> is blank, should it be?
    After batch rescrape, some pre-made sets have red, incomplete data. Individually rescraping fixes it. Except for where I changed the name of a movie. And after individually rescaping, one "zeroed" out (removed the movies). Going through them one by one to see what is what.
    And as long as we're here, what happens if I custom add a movie to a set? Could that be where I got messed up? Let's say, Alvin Chipmunks, and I have some older ones, so I add them to the set.

     
  • Rob

    Rob - 2017-10-19

    sorry, out at moment , have to get back to later

     
  • Marc Borland

    Marc Borland - 2017-10-19

    No rush, another item. The custom sets that are bad have most films listed twice. I checked the xml, not twice there. Emptied cache, no change.

     
  • Rob

    Rob - 2017-10-19

    Just athought check the config. Xml file for movie set info and if any remove from the config .

     
  • Marc Borland

    Marc Borland - 2017-10-19

    all in config
    <moviesets>


    </moviesets>
    and
    <SetIdAsCollectionnumber>False</SetIdAsCollectionnumber>
    <MovSetOverviewToNfo>True</MovSetOverviewToNfo>
    wondering if this could be a problem
    <MovSetIgnArticle>False</MovSetIgnArticle>

     
  • Marc Borland

    Marc Borland - 2017-10-19

    So here is a custom set from setcache.xml
    <movieset title="#Racing">
    <moviesetname>#Racing</moviesetname>
    <id>
    </id>
    <plot>
    </plot>
    <LastUpdatedTs>20171019162643</LastUpdatedTs>
    <DirtyData>False</DirtyData>
    <UserMovieSetName>
    </UserMovieSetName>
    </movieset>
    no films listed, but the attached pic is what I see in MC

     
  • Marc Borland

    Marc Borland - 2017-10-19

    And here is one showing duplicates
    <movieset title="#Documentary">
    <moviesetname>#Documentary</moviesetname>
    <id>
    </id>
    <plot>
    </plot>
    <LastUpdatedTs>20171019162643</LastUpdatedTs>
    <DirtyData>False</DirtyData>
    <UserMovieSetName>
    </UserMovieSetName>
    <collection>
    <movietitle>And The Oscar Goes To...</movietitle>
    <movieid>253639</movieid>
    <backdrop_path>
    </backdrop_path>
    <poster_path>
    </poster_path>
    <release_date>2014-03-01</release_date>
    </collection>
    <collection>
    <movietitle>The Beatles: Eight Days A Week - The Touring Years</movietitle>
    <movieid>391698</movieid>
    <backdrop_path>
    </backdrop_path>
    <poster_path>
    </poster_path>
    <release_date>2016-09-16</release_date>
    </collection>
    <collection>
    <movietitle>Biography W.C. Fields: Behind The Laughter</movietitle>
    <movieid>0</movieid>
    <backdrop_path>
    </backdrop_path>
    <poster_path>
    </poster_path>
    <release_date>
    </release_date>
    </collection>
    <collection>
    <movietitle>George Harrison: Living In The Material World</movietitle>
    <movieid>75964</movieid>
    <backdrop_path>
    </backdrop_path>
    <poster_path>
    </poster_path>
    <release_date>2011-10-04</release_date>
    </collection>
    <collection>
    <movietitle>The Great Pretender</movietitle>
    <movieid>135403</movieid>
    <backdrop_path>
    </backdrop_path>
    <poster_path>
    </poster_path>
    <release_date>2012-09-24</release_date>
    </collection>
    <collection>
    <movietitle>I Am Chris Farley</movietitle>
    <movieid>345944</movieid>
    <backdrop_path>
    </backdrop_path>
    <poster_path>
    </poster_path>
    <release_date>2015-07-27</release_date>
    </collection>
    <collection>
    <movietitle>Imagine: John Lennon</movietitle>
    <movieid>26723</movieid>
    <backdrop_path>
    </backdrop_path>
    <poster_path>
    </poster_path>
    <release_date>1988-10-07</release_date>
    </collection>
    <collection>
    <movietitle>In The Shadow Of The Moon</movietitle>
    <movieid>14284</movieid>
    <backdrop_path>
    </backdrop_path>
    <poster_path>
    </poster_path>
    <release_date>2007-11-02</release_date>
    </collection>
    <collection>
    <movietitle>Michael Jackson: Life Of A Superstar</movietitle>
    <movieid>106537</movieid>
    <backdrop_path>
    </backdrop_path>
    <poster_path>
    </poster_path>
    <release_date>
    </release_date>
    </collection>
    <collection>
    <movietitle>Queen: Days Of Our Lives</movietitle>
    <movieid>74406</movieid>
    <backdrop_path>
    </backdrop_path>
    <poster_path>
    </poster_path>
    <release_date>
    </release_date>
    </collection>
    </movieset>

     
  • Rob

    Rob - 2017-10-25

    Plse be patient, working on a new feature to MC. Will look into this before I do the next release.

     
    • Marc Borland

      Marc Borland - 2017-10-26

      Not a problem. More of a curios thing. Like I said, it all works in Kodi.

       
  • Rob

    Rob - 2017-10-26

    I had sets working great at the beginning of the year...then another dev changed some of the code, adding extra features, and this broke TMDB sets, and Custom sets.

    I have been trying to get the Movie Sets function fully operation again, and thought I had nailed down all the kinks...but seems something is still throwing a spanner in the works...specially to do with custom sets, and/or customized naming of TMDb sets.

    At the moment I'm trying to add TV scraping from TMDb, so my spare time is working of getting that operational and fool-proof (yeah, right), as well as fixing the new TVDb scraping routines as bugs appear.

    But, I am going to re-visit the Sets functions when I've done the next release...looking at early next week.

     
    • Jon Stevens

      Jon Stevens - 2017-10-26

      Ooh, hope that wasn't me - I've had some interest in moviesets, so that may
      have been the one thing I messed with?!?

       
  • Rob

    Rob - 2017-10-27

    Hey Jon.

    Nope, wasn't you.

    Its all good. Getting there.

     
  • Marc Borland

    Marc Borland - 2017-10-28

    Sounds good. Like I said, not a real priority, keep the goodness coming!

     
  • Rob

    Rob - 2017-11-28

    Gidday Marc

    From next release, Movie Sets (collections) will hopefully behave better.

    I have created a separate MovieSetDatabase file. This will be the database of all Movie Collection ever scraped into the users Media Companion. This database will be updated if new collection information is scraped, and will be used to repopulate data when the user does a Movie Refresh, or wipes their media companion settings folder. Or Installs a new version.

    This is located in %APPDATA%\Media_Companion
    Why here? So it can survive a MC delete, MC clean extract etc. and also be available to any Media Companion the user runs...(well, from 3.6.8.9 onwards anyway)

     
  • Marc Borland

    Marc Borland - 2017-11-29

    So burning question is, what does it do with the bad information I already have?

     
  • Rob

    Rob - 2017-11-29

    In theory....(he he)... it should clean up all that rubbish and remove the duplicate stuff...
    But I will need to do further testing to ensure it does.

     
  • Marc Borland

    Marc Borland - 2017-11-29

    feel free to send me a "test" copy. I'll give it a serious shake. :)

     
  • Rob

    Rob - 2017-11-29

    So a quick look through and some testing, and this seems to clean-up the moviesetcache file.

    Custom sets should not have a Set ID attached to them. Also, any custom set should not have any titles attached to them either.

    <movieset_cache>
        <movieset title="Arrow Collection">
            <moviesetname>Arrow Collection</moviesetname>
            <id>
            </id>
            <plot>
            </plot>
            <LastUpdatedTs>19171130105727</LastUpdatedTs>
            <DirtyData>False</DirtyData>
            <UserMovieSetName>
            </UserMovieSetName>
        </movieset>
        <movieset title="Alfred Hitchcock: The Masterpiece Collection">
            <moviesetname>Alfred Hitchcock: The Masterpiece Collection</moviesetname>
            <id>354777</id>
            <plot>
            </plot>
            <LastUpdatedTs>20171128145739</LastUpdatedTs>
            <DirtyData>True</DirtyData>
            <UserMovieSetName>
            </UserMovieSetName>
            <collection>
                <movietitle>The Birds</movietitle>
                <movieid>571</movieid>
                <backdrop_path>
                </backdrop_path>
                <poster_path>
                </poster_path>
                <release_date>1963-03-29</release_date>
            </collection>
        </movieset>
    

    Above example shows custom set Arrow Collection, with not movies associated with the set. But, in MC, I have two movies assigned to this collection and MC shows them on the Movie Sets Tab.
    Under the above is Alfred Hitchcock: The Masterpiece Collection
    with one movie assigned to the collection, correct in MC Movie sets tab.

    If you find custom sets in your moviesetcache.xml file, I would like to get copies of the associated movies nfo files. I suspect an older version of Media Companion may have assigned a Set ID.

    I just spotted your reply, so download the attached file.....Please let me know when you have downloaded it, as I will remove it from here...its not for general use yet.

     
  • Marc Borland

    Marc Borland - 2017-11-30

    Testing as we speak, okay to delete.

     
  • Marc Borland

    Marc Borland - 2017-11-30

    I did a refresh all on movies. Not seeing much different. Missing on set (#Racing), #Documentary listed twice, #Christmas messed up still. Abbot & Costello I made an edit to the title of one of the films, aded it to the collection. Wondering if I just need to rename the collection?
    Maybe I need to delete my moviesetcache.xml first? I think I see the #Doc, #Racing problem in the xml
    Christmas has MANY entries. Are you saying there should be none? Partial Moviesetcache.xml, and the first Christmas movie.nfo

    <movieset_cache>
        <movieset title="#Documentary">
            <moviesetname>#Documentary</moviesetname>
            <id>
            </id>
            <plot>
            </plot>
            <LastUpdatedTs>19171130094803</LastUpdatedTs>
            <DirtyData>False</DirtyData>
            <UserMovieSetName>
            </UserMovieSetName>
        </movieset>
        <movieset title="#Racing">
            <moviesetname>#Racing</moviesetname>
            <id>
            </id>
            <plot>
            </plot>
            <LastUpdatedTs>19171130094803</LastUpdatedTs>
            <DirtyData>False</DirtyData>
            <UserMovieSetName>#Documentary</UserMovieSetName>
        </movieset>
        <movieset title="#Christmas">
            <moviesetname>#Christmas</moviesetname>
            <id>
            </id>
            <plot>
            </plot>
            <LastUpdatedTs>19171130094803</LastUpdatedTs>
            <DirtyData>True</DirtyData>
            <UserMovieSetName>
            </UserMovieSetName>
            <collection>
                <movietitle>Arthur Christmas</movietitle>
                <movieid>51052</movieid>
                <backdrop_path>
                </backdrop_path>
                <poster_path>
    
                Arthur Christmas (2011).nfo
                <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <movie>
        <fileinfo>
            <streamdetails>
                <video>
                    <width>720</width>
                    <height>472</height>
                    <aspect>1.81</aspect>
                    <codec>h264</codec>
                    <format>V_MPEG4/ISO/AVC</format>
                    <durationinseconds>5853</durationinseconds>
                    <bitrate>1 665 kb/s</bitrate>
                    <container>.mkv</container>
                    <scantype>Progressive</scantype>
                    <NumVideoBits>8</NumVideoBits>
                </video>
                <audio>
                    <language>eng</language>
                    <DefaultTrack>Yes</DefaultTrack>
                    <codec>ac3</codec>
                    <channels>6</channels>
                    <bitrate>448 kb/s</bitrate>
                </audio>
            </streamdetails>
        </fileinfo>
        <title>Arthur Christmas</title>
        <originaltitle>Arthur Christmas</originaltitle>
        <set>
            <name>#Christmas</name>
            <overview>
            </overview>
        </set>
        <setid>L0008</setid>
        <sorttitle>Arthur Christmas</sorttitle>
    
     

    Last edit: Rob 2017-11-30
1 2 3 > >> (Page 1 of 3)

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.