Kodi Community Forum
XBMC.MyLibrary - Scan any source to the library (Hulu/Netflix/Plugins) - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/forumdisplay.php?fid=116)
+--- Thread: XBMC.MyLibrary - Scan any source to the library (Hulu/Netflix/Plugins) (/showthread.php?tid=98210)



- pkscout - 2012-01-06

bradvido88 Wrote:I may also eliminate support for the SQLite databases, only supporting MySQL (as this will eliminate a lot of headaches).... So you know, you may want to get your MySQL setup.

That change would make me sad. XBMC works fine for me with the SQLite database, and this program has worked fine for me as well in that configuration. I know you have to make choices about what to support, but I'd like to ask that you leave the SQLite support in there, even if you tell folks you won't support it.

It wouldn't really be an issue for me until I upgrade to Eden, and at this point I'm planning on waiting awhile anyway.


- TheCasa - 2012-01-06

In that case, just ignore my log and these problems. I'll just wait for Beta 2 to be released.

This weekend I've got the whole weekend set aside to get everything setup and on MySQL, so hopefully, everything will be happy soon.


- pkscout - 2012-01-25

I see in the first post that this wasn't working with Eden beta 1. Do we know whether it works with Eden beta 2? I'm thinking about making the leap to Eden this week, but this plugin is too important, so I'll wait if it still isn't working with beta 2.


- bradvido88 - 2012-01-25

pkscuot Wrote:I see in the first post that this wasn't working with Eden beta 1. Do we know whether it works with Eden beta 2? I'm thinking about making the leap to Eden this week, but this plugin is too important, so I'll wait if it still isn't working with beta 2.

Yes it works with Eden B2 (I'm currently using this). All of the JSON-RPC bugs i reported were fixed and put into eden b2.

Also, .strms for movies and TV Shows can now be added the library natively, so i'm going to do some updates to the program so it doesn't have to convert it from a dummy .mpg to a .strm, but that will be down the road a bit.

Let me know if you run into any troubles with edenB2.


- pkscout - 2012-01-26

Nevermind (for anyone who saw the post before I deleted it). I realized I forgot to download the Eden compatible version of XBMC.MyLibrary. Amazingly the Dharma version doesn't work in Eden. Wink


- bradvido88 - 2012-01-26

pkscuot Wrote:Nevermind (for anyone who saw the post before I deleted it). I realized I forgot to download the Eden compatible version of XBMC.MyLibrary. Amazingly the Dharma version doesn't work in Eden. Wink
Ha, I was just about to say that the JSON-RPC calls in the debug log are not Eden calls Smile

I should really print out which version of the script you are running at the top of the debug log.

Also, I'd recommend using the HTTP method for JSON-RPC connectivity. Its much faster and more stable. (see Eden release Config.xml for sample)


Files deleted after adding to library - fotoshack - 2012-01-26

I've been using this addon for quite some time with great results. Yesterday I decided to upgrade to Eden Beta 2 and XBMC.MyLibrary 1.2.1 and haven't been able to get it working since.

It's able to successfully find videos and create the mpg files which then get added to the library. However, after the content scanning completes, it deletes all the files it created. I've attached my config.xml log file below.

I've already tried changing to a MySQL database with the same results. I even did a completely clean install on a different machine, (using the built in DB) which these files are from.

Any help would be most appreciated.

Log: http://pastebin.com/BaeJmkAY
config: http://pastebin.com/qBDLU2x2


- bradvido88 - 2012-01-26

fotoshack Wrote:I've been using this addon for quite some time with great results. Yesterday I decided to upgrade to Eden Beta 2 and XBMC.MyLibrary 1.2.1 and haven't been able to get it working since.

It's able to successfully find videos and create the mpg files which then get added to the library. However, after the content scanning completes, it deletes all the files it created. I've attached my config.xml log file below.

I've already tried changing to a MySQL database with the same results. I even did a completely clean install on a different machine, (using the built in DB) which these files are from.

Any help would be most appreciated.

Log: http://pastebin.com/BaeJmkAY
config: http://pastebin.com/qBDLU2x2
For some reason, the archived files are not being found in my tracker db.
I could tell you what's going on if you send me your \res\ArchivedFiles.db file


- bradvido88 - 2012-01-26

bradvido88 Wrote:For some reason, the archived files are not being found in my tracker db.
I could tell you what's going on if you send me your \res\ArchivedFiles.db file

Thanks for the file.

OK, it looks like your problem is that you previously archived files under the user folder c:\Users\FojtasekK and now you are using c:\Users\newuser.

If you simply delete all *.db files in the res folder, and re-run you should be good to go.


- fotoshack - 2012-01-26

bradvido88 Wrote:Thanks for the file.

OK, it looks like your problem is that you previously archived files under the user folder c:\Users\FojtasekK and now you are using c:\Users\newuser.

If you simply delete all *.db files in the res folder, and re-run you should be good to go.

Thanks for the continued help. Unfortunately, though, that still produced the same results.

Config.xml: http://pastebin.com/WeA4EkBs
XBMC.MyLibrary.log: http://pastebin.com/bzEnf1Gq
ArchivedFiles.db: http://m.fojtasek.com/ArchivedFiles.db


- bradvido88 - 2012-01-27

fotoshack Wrote:Thanks for the continued help. Unfortunately, though, that still produced the same results.

Config.xml: http://pastebin.com/WeA4EkBs
XBMC.MyLibrary.log: http://pastebin.com/bzEnf1Gq
ArchivedFiles.db: http://m.fojtasek.com/ArchivedFiles.db

Hmm.. That is very odd. The file is definitely in the archivedfiles.db database.

You could try changing your dropbox to be a network share. Sometimes that helps with the sql queries. You'd need to change your config.xml to use \\server\share and set up new sources for xmbc as smb://server/share/TV Shows etc.

Otherwise, you can wait for a new version of this program I'm currently making. It has support for native strms and will hopefully eliminate the sqlite query problems you are seeing.


- fotoshack - 2012-01-27

bradvido88 Wrote:Hmm.. That is very odd. The file is definitely in the archivedfiles.db database.

You could try changing your dropbox to be a network share. Sometimes that helps with the sql queries. You'd need to change your config.xml to use \\server\share and set up new sources for XBMC as smb://server/share/TV Shows etc.

Otherwise, you can wait for a new version of this program I'm currently making. It has support for native strms and will hopefully eliminate the sqlite query problems you are seeing.

I should have mentioned earlier that I've tried the network shares, too. On two different machines making sure that the case was the same in the config and XBMC. Smile

I'll keep playing around with it and wait for the new version. Thanks for all your hard work!


- pkscout - 2012-01-27

fotoshack Wrote:I've been using this addon for quite some time with great results. Yesterday I decided to upgrade to Eden Beta 2 and XBMC.MyLibrary 1.2.1 and haven't been able to get it working since.

It's able to successfully find videos and create the mpg files which then get added to the library. However, after the content scanning completes, it deletes all the files it created.

I ran into the same problem this morning after I upgraded. I deleted all the SQLite databases the program creates (several times) with no change in the behavior. I'll just wait for the next version. Most of what I move into my library is Hulu content, so I enabled the hulu library archiving stuff for now.


- bradvido88 - 2012-01-27

pkscuot Wrote:I ran into the same problem this morning after I upgraded. I deleted all the SQLite databases the program creates (several times) with no change in the behavior. I'll just wait for the next version. Most of what I move into my library is Hulu content, so I enabled the hulu library archiving stuff for now.

I'm working on the new version. Should be ready soon. It seems to be more stable in determining what files are successsfully archived and what ones should be removed.

How does the hulu library archiving stuff work? I've been meaning to look at that but haven't gotten around to it.
As far as I can tell, bluecop does the exact same thing this program does, but also adds some .nfo's to help get them in the library properly

Does it clean up expired videos?


- bradvido88 - 2012-01-27

Ok guys, please try this latest 1.3 build and let me know if it improves things.
http://www.bradvido.com/XBMC.MyLibrary/XBMC.MyLibrary-1.3.zip

See first post for changelog.

You should be able to use your current config.xml