Home sharing missing content and messes thing up

I use iTunes Home Sharing on my network. I have a Mac Mini that has my iTunes Library. Home Sharing is turned on with my Apple ID. When I want to stream a movie or tv show to my iPad, a lot of them are missing in the home sharing menu in the Video App. Even movies and tv shows I purchases in iTunes store. Also a lot of artwork is messed up (wrong picture with wrong movie).


So it is buggy....I aready tried turning home sharing off and on again, but that didn't help.


I have this on my iPad and iPhone. On my Apple TV, however, all content is ordered as it should be. There it works perfect.


Any thoughts?

iPad, iOS 5

Posted on Nov 20, 2011 1:51 PM

Reply
62 replies

Dec 25, 2011 5:31 PM in response to kirkpants

Just to had to this very handy thread. Resetting home sharing (disconnect and reconnect from settings on iPad) is essential for getting artwork to display correctly - must clear a cache or something. Also, the iTunes view option with a button that looks like 2 rows of little tiles displays an iOS style album art view of TV series but within iTunes. This view allows you to see how your meta-data repairs are going as there is more similarity between this view and the iPad view that anything else allows.

And whatever you do, make the episode ID such that it is a lower number for an earlier episode, or you will watch things out of order on the iPad which is very annoying.

Feb 28, 2012 7:29 AM in response to StoneSoup

Many thanks to your posting StoneSoup,


Thanks to your clear description, I have cleared up the mess of TV Shows in the Sharing pane on my iPad. I have many hundreds of TV shows, so I wrote a little applescript to do the job. It is gereral enough that it ought to help anyone with this problem.


If you'd like to try it, just open Applescript editor on your Mac, create a new empty script and paste the following in the window (NB copy everything from "-- CleanUp..." down to "--end of script"). Press run and it should clear up your TV shows in iTunes. It will list the show names where it has changed one or more episodes in the results pane. You can run it each time you have added new TV shows which may miss some of the metadata needed by the iPad Videos app.


I note that I didn't need to change the year field, as StoneSoup suggests, but I do also copy Album into Sort Album due to a recomendation I read elsewhere. As a minimum it needs TV shows with a name & show set. It will also use season number and episode num or track num if they are set, to fill in the rest of the required fields.


I hope this can be of help.

Cheers

Guy



-- CleanUp TV Show metadata

-- Guy Brooker, Feb 2012


tell application "iTunes"

set changeList to {}


set shows to tracks whose (video kind is TV show)


repeat with trk in shows

set trkShow to show of trk

set trkSeason to season number of trk

set trkN to track number of trk

set trkEN to episode number of trk


if trkN is not equal to trkEN then

if (trkEN is equal to 0) and (trkN is not equal to 0) then

set episode number of trk to trkN

if trkShow is not in changeList then set changeList to changeList & trkShow

end if

if (trkN is equal to 0) and (trkEN is not equal to 0) then

set track number of trk to trkEN

if trkShow is not in changeList then set changeList to changeList & trkShow

end if

end if


if (album artist of trk) is "" then

set album artist of trk to trkShow

if trkShow is not in changeList then set changeList to changeList & trkShow

end if


if (artist of trk) is "" then

set artist of trk to trkShow

if trkShow is not in changeList then set changeList to changeList & trkShow

end if


if (episode ID of trk) is "" then

set eID to "E" & (text -3 thru -1 of ("000" & trkEN))


if trkSeason is greater than 99 then

set episode ID of trk to ("S" & (text -4 thru -1 of ("0000" & trkSeason)) & eID)

else

set episode ID of trk to ("S" & (text -2 thru -1 of ("00" & trkSeason)) & eID)

end if

if trkShow is not in changeList then set changeList to changeList & trkShow

end if


if (album of trk) is "" then

set showSeason to trkShow

if trkSeason is not equal to 0 then

set showSeason to trkShow & ", Season " & trkSeason

end if

set album of trk to showSeason

if trkShow is not in changeList then set changeList to changeList & trkShow

end if


if (sort album of trk) is "" then

set showSeason to (album of trk)

set sort album of trk to showSeason

if trkShow is not in changeList then set changeList to changeList & trkShow

end if

end repeat

{"CHANGES:", changeList}

end tell


-- end of script

Feb 28, 2012 8:51 AM in response to Jaap74

I worked with the creator of MetaX for Windows to make sure his tagging software could tag appropriately for Home Sharing with iTunes. There's a preference to turn on for "Format for iTunes Home Sharing". If you tag all your tv/movies using MetaX it definitely will solve your issue (as it solved it for me).


MetaX is $10 but is great TV and movie tagging software for windows if you need it.

http://www.danhinsley.com/metax/metax.html#feature_getinfo

Feb 28, 2012 9:14 AM in response to kailsabin99

I have both MetaX and MetaZ and can tell you that this feature does not work very well, you have to manually tag it properly the way StoneSoup described or else it will be all screwed up. On that note Meta tagger is head and shoulder above all other taggers for this purpose with MetaZ(Mac) being way way better than MetaX(Windows), however the last MetaZ update introduced several annoying bugs that should not be there, but that is getting off the thread.

Mar 3, 2012 1:47 AM in response to Nathan Guinle

Hi Nathan,


as I mention above, copy everything from "-- CleanUp..." down to "--end of script", inclusive.


Here is another way, you can download the script here.


http://dl.dropbox.com/u/6291291/CleanUp%20TV%20Shows%20Metadata%20-%20Feb%202012 .scpt


Once it has downloaded, double click the scpt file to load it in the AppleScript Editor and press RUN.

Make sure iTunes is already running.


It will scan through all the TV Shows in iTunes, fixing the items that StoneSoup worked out that the iPad Videos app is looking for from the sharing server.


Cheers

Guy

Mar 3, 2012 2:17 PM in response to Guy Brooker

thank you....! I will give this a go!

I switched to the mac as it just seemed to work and work the right way.

Seems lately (with more & more devices & stuff) this simple concept gets a little diluted.....

Thank you all for you help in this very informative thread!!!


Update:

I downloaded you script from dropbox. Gave it a go and got the following error...

error "iTunes got an error: File permission error." number -54

I have tried repairing the permissions and same thing...?

Thanks again but I guess having my itunes on an external HD may have something to do with this??

Any thoughts?

Mar 4, 2012 5:33 AM in response to Nathan Guinle

That error is because iTunes has a problem opening one of the files. There could be a few reasons for that, are you running iTunes on the same library from different user accounts at the same time ? Could the file it is trying to modify be playing on an appletv or ipad ? Are there multiple users accounts owning files in the itunes library on the external disk ?


For the former problems, just quit iTunes in all your user accounts, and run one instance only, then launch the script, without playing something on your ipad or appletv until it is done.


For the last problem, the easiest solution is to select the external disk in the finder, seelct Get Info form the Finder File menu, and select "Ignore ownership on this volume" at the bottom of the Get info window. (That may require you to click on the lock and authenticate yourself first)


Cheers

Guy

Mar 19, 2012 1:59 AM in response to HRDRIDER2002

Well, it looks like I finally solved this issue. It turns out that in the nearly two thousand episodes I have in my library, one had been moved and was no longer conected to the title in iTunes. This bad link was then triggering a permission error #54. I was trying everything, disk permission repairs, applescripts, terminal scripts, and then I noticed that an applesctipt I had used in the past was triggering the same error code. This meant that some file in particular was locked or bad or something. I was able to locate it by running the make video tags applescript through each series until I found the one that triggered the error. I then deleted the link in iTunes and started running the cleanup applescript and it is already working though it hasn't finished yet.


Thanks for all of the contributions everyone, and hang in there if you haven't quite got it figured out yet.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Home sharing missing content and messes thing up

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.