yo-han / Traktable

Trakt Scrobbler for iTunes/AppleTV
http://yo-han.github.io/Traktable/
31 stars 4 forks source link

Large iTunes libraries #1

Closed josephschmitt closed 11 years ago

josephschmitt commented 11 years ago

What's the largest library this is supposed to work with. I have 700+ movies and 60+ TV shows and the app hangs indefinitely when trying to do an iTunes import. Any plans to support larger libraries?

yo-han commented 11 years ago

Did you use the latest binary version or checkout of the code? In version 0.3 and higher there is a bit better support for large libraries but the biggest I tested was about 150 movies and 30 tv shows.

When you ALT-Click on the Traktable menulet, Feedback changes into Show Log. Can you send me a copy of that log? You can send it using the Feedback option :)

I'll check the log for info and will do some research in how handling large libraries could be done better. Thanks.

josephschmitt commented 11 years ago

I used the latest binary from http://w3f.nl/traktable/ v0.3.2. It managed to get through a lot of my library, but definitely stopped pretty short. When I view my library in trakt I see 581 movies (out of 697 in my iTunes), but only 4 TV shows (out of 64).

Here's the Log file, it doesn't seem to match what it actually scrobbled, which is interesting... http://cl.ly/OkA0

Let me know if you want me to try anything for ya, when this actually works, it's amazing and I love it, so would love to get it fully working for my ridiculous library :smile:

yo-han commented 11 years ago

Thanks a lot. I will look into the problem and report back when I found something to solve your problem.

yo-han commented 11 years ago

I just uploaded a test version with some tweaks in the import queue. If you like you can test it out. Just hit the "reset" button first in the "sync" tab of the preference window and "import" after. Should sync a lot better now.

You can download the test binary here: http://bit.ly/ZLI4ud

josephschmitt commented 11 years ago

I gave it a try and it worked MUCH better! A couple of notes after using it:

  1. No more UI hanging!
  2. It gave off the Notification Center notification that it had finished importing from iTunes almost immediately, which was confusing. At first I thought maybe it just wasn't working yet, but when I pulled up the Console I could see it was still going through and scrobbling/adding items to my collection. Maybe wait on that notification until after that whole process is done?
  3. Unlike with Movies which get scrobbled correctly into history, the TV shows are a bit wonky. It successfully marked all of my shows that have been watched in iTunes as watched in Trakt, but it set the watched date to the date and time that the API request was made, instead of to the date in iTunes. Also, when I look at those shows on the Trakt website, they're marked as "manually marked as seen" instead of "scrobbled from Traktable". Again, this is just with TV Shows, movies seem to be working fine.

You can check out my Trakt history here: http://trakt.tv/user/josephschmitt/history/. Everything listed under Monday, May 6th is what was scrobbled via the app binary above.

Overall, pretty much 95% there. Thanks so much for working on this, it's amazing.

yo-han commented 11 years ago
  1. Awesome!
  2. Fixed
  3. That needs some explaining from my side. At first the date for the TV Shows, this is simply not supported by the Trakt API. Last played times can only be set for movies. Which brings me to my next point, the difference between "scrobbled" and "seen". The Trakt API documentation says "scrobbled" is a API call requested directly after watching an episode or movie. "seen" is to mark an episode or movie as seen at another point of time. By using these different calls it's also very clear which tracks are imported and which are synced. For your Trakt history it makes no difference.

I'll release the 0.4 version of the app tonight. It includes these fixes and collection support. Thanks for testing.

josephschmitt commented 11 years ago

Ah, ok. :shipit:! Thanks so much for the fixes, loving having this syncd with Trakt on a daily basis now.