1. Welcome to the official forum for MINIX devices!

Ignoring advancedsettings.xml?

Discussion in 'Kodi/XBMC for MINIX' started by Lock, Jan 11, 2017.

  1. Lock

    Lock Member

    Hi, I'm trying to stop XBMC to automatically mark my videos as watched (I'm using some exercises lessons and I don't want them to disappear*) so I added the following code to the advancedsettings.xml file in USERDATA:

    Code:
    <advancedsettings>
    
        <!-- Minimum percentage that has to be played before it is marked as watched. -->
        <!-- Set to 101 to never auto-mark items as watched -->
        <playcountminimumpercent>101</playcountminimumpercent>
    
    </advancedsettings>
    XBMC keeps ignoring it, as soon as I finished to watch a video it's automatically marked as read, and it disappears.
    Any way to solve this problem?
    Thanks.

    * I know there's an option not to hide watched movies, but I like it for movies and TV series. I only want to manually mark something when I count it as watched.
  2. mark2

    mark2 Active Member

    You could keep them in favourites
  3. Lock

    Lock Member

    Yes Mark2, thanks, I know. But my favorites already has tons of stuff. :)

    Mine was a general question, just to understand if the Minix XBMC version ignores or not the advancedsettings file. Or if it expects it in another folder.
  4. Higgs

    Higgs Yellow Dude Super Moderator

    Where did you get the code you are using?
    I'm assuming there is more to your advanced settings file, as I'm sure that tag must be under another parent tag other than the root tag.

    Sent from my MotoG3 using Tapatalk
    Lock likes this.
  5. Lock

    Lock Member

    From Kodi official Wiki: http://kodi.wiki/view/Advancedsettings.xml

    I'm very new to this file, I tried some other time in the past and it never worked. But now I'd like to understand why. :)
  6. Lock

    Lock Member

    Update:

    You were right, Higgs, I needed to put it inside a <video></video> tag.

    I was fooled by the first example in the page:

    Code:
    <advancedsettings>
        <setting>value</setting>
        ...
        <setting>value</setting>
    </advancedsettings>
    So I was thinking it was enough to put that string just inside the <advancedsettings> tag.

    Problem solved, many tanks. :)