Library Update Missing Files

AFP is sketchy at best.

Also, you should really remove the tags from the file names of the movies you have illegally downloaded.

Thank you for your assistance.

Just to confirm so my issue is that I’m using AFP? Any recommendations on how to solve this?

Thank you.

Try using Samba or NFS.

If neither work then we know that AFP isnt the problem.

I’ll see if I can change my protocol over the weekend and will let you know.

Thanks again.

AFP is nothing but problems

Wow. Switched the protocol to SMB3 and it seems to be more stable now. Can’t believe it took me over a year to figure that. Greatly appreciate your help.

The only issue I’m having now is that it listed all my TV Shows as duplicates? Not sure what would cause that.

You need to remove the AFP source and answer yes when prompted to clean library. If the source is already removed then add the afp source as a separate source, restart Kodi then remove the AFP source, you should be prompted to remove media in this source, answer yes

I edited the source from AFP to SMB and yes to remove the files from the AFP source. This cleared the library and once I set up the SMB source I updated the library and this created duplicate listings.

I even added a new file and ran the update and this listing came up twice.

Right click/context menu on a set of duplicates and see what the path is for each. Note ANY differences including capitalization

Where can you see this? The only options I have are:

  • Queue Item
  • Play from here
  • Add to favorites
  • Episode Information
  • Mark as Watched
  • Manage

When I click on Episode information all I see is Play, Cast, Refresh, Choose art.

Thanks again for your help.

It’s under Episode Information, you may have to switch to Confluence skin as the OSMC skin is still a work in progress

Ok so I’ve looked into the path to each one and there is a small difference. I have my shows organized in the following manner: Show > Season > Episode. Now there are two listing that show and point to the following structure:

  • Show > Season > Episode (The one that works and I want to keep)
  • Show > Season > .AppleDouble > Episode (the one I want to get rid of)

Not sure where this hidden .AppleDouble folder came from, if you’ve seen this before please let me know.

Thank you again for the help.

See this thread for the .appledouble fix Duplicate episodes in series stored in NAS

It says here that this has been resolved:/ Issues · xbmc/xbmc · GitHub

Does this mean that it will be fixed in the next update of OSMC? If so I will just wait for it then.

Thank you.

No, probably not until Kodi 15.0 is released


Then if I replace the OSMC SMBDirectory.cpp file with this new file would that be alright? Would this break things?

That is a C++ file, there is nothing to exchange.
You need to compile Kodi for OSMC with this fix included.

I see that this fix is included in Kodi 14.2 though so you do not have to wait for Kodi 15.
Edit: Tthis fix is also included in the Kodi branch we use, so it will be fixed on next mediacenter update.

Perfect thanks. :slight_smile: I’ll will wait for the update then.

Thank you again for all the help from @CaNsA, @Dilligaf and @miappa. What a great community.

Hi all,

I am completely new to OSMC. My Vero was delivered over the weekend and I’ve spent a lot of time setting it up to access my media collection on my Apple TimeCapsule (shared using SMB). Things are mostly working now but I am having the same issue as gelias in that every time Kodi scans my SMB share for new content I get duplicate TV shows listed. I believe it is the AppleDouble issue because I am managing and adding new files to my TimeCapsule using the OS X Finder. I used OnyX to remove the AppleDouble files from my share (warning - it deleted some of my actual .mp4 files instead of the AppleDouble files - so make sure you have a backup) but I guess they are going to be recreated as changes are made.

So to my questions…

  1. How can I tell if the fix mentioned by @miappa above has been added to OSMC on my Vero?
  2. Can anybody provide step by step instructions on how to create and populate the advancedsettings.xml fix mentioned by @Dilligaf on a Vero running the latest version of OSMC?

Many thanks

Hi @stukey,

As mentioned above by @miappa the issue has been resolved in Kodi 14.2 and you just have to wait for the next release of OSMC.