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)



- JasonMeudt - 2011-11-16

bradvido88 Wrote:Yeah i've got it working. I just need to put the finishing touches on. I was hoping to test it against eden-b1 when it comes out, but we'll see.

Looking at things, it appears that JSON code implementation changed quite a bit from Dharma to Eden... I am going to try the curl implementation in the meantime to see if it still is applicable...

http://forum.xbmc.org/showpost.php?p=803407&postcount=7

-Jason


- bradvido88 - 2011-11-16

JasonMeudt Wrote:Looking at things, it appears that JSON code implementation changed quite a bit from Dharma to Eden... I am going to try the curl implementation in the meantime to see if it still is applicable...

http://forum.xbmc.org/showpost.php?p=803407&postcount=7

-Jason
I'll probably post it on both sites.
Changing to curl won't help you. That just changes the transport. My code has to actually be changed to handle the new responses.

I'll post a release on this as soon as i can and hope that you & others can test and give feedback.


- bradvido88 - 2011-11-16

It's been stable for me in my testing for a while, so I figure why not let everyone have their hands on it. See my first post for an Eden-compatible version and please give feedback.

How to upgrade:
#1 - Wipe out your current streaming files dropbox. (They will all be re-created when you run the new version as long as you keep your config the same).
#2 - Unzip v 1.2 next to your current version. You can use your old config file, but note that the methods for JSON-RPC have changed, namely you must pick either HTTP or RAW now. The rest of the config file is the same.
#3 - Run and enjoy. Make sure you modify the config as necessary to points to your Eden XBMC installation databases/ip's/etc.


- MiLO83 - 2011-11-18

OK, So I got BlueCops Vevo plugin sortof working here in Canada.
(Yahoo! Music Videos doesn't work at all)

I can only access videos in the "VEVO Playlists/VEVO Charts/" folder, the rest don't play.

I have tried

<SearchFilters>
<!--MiLO83 BlueCOP VEVO-->
<VEVO path="plugin://plugin.video.vevo/">
<subfolder name="VEVO Playlists/VEVO Charts/Top 10 on VEVO This Week" type="music_videos" max_videos="10"/>
</VEVO>
</SearchFilters>

And it unsurprisingly doesn't work.
It responds:

http://pastebin.com/2sJZtzU3

I guess i'm gunna need a little help! Blush

THANKS!
- MiLO83


- bradvido88 - 2011-11-18

MiLO83 Wrote:OK, So I got BlueCops Vevo plugin sortof working here in Canada.
(Yahoo! Music Videos doesn't work at all)

I can only access videos in the "VEVO Playlists/VEVO Charts/" folder, the rest don't play.

I have tried

<SearchFilters>
<!--MiLO83 BlueCOP VEVO-->
<VEVO path="plugin://plugin.video.vevo/">
<subfolder name="VEVO Playlists/VEVO Charts/Top 10 on VEVO This Week" type="music_videos" max_videos="10"/>
</VEVO>
</SearchFilters>

And it unsurprisingly doesn't work.
It responds:

http://pastebin.com/2sJZtzU3

I guess i'm gunna need a little help! Blush

THANKS!
- MiLO83
The problem here is that playlists show up as directories when we search from them in the JSON-RPC interface. This is intentional by XBMC, but an unfortunate side effect is that there is no way to know that the "Top 10 on VEVO This Week" playlist is not a traditional directories, so it gets skipped....
Also, I've noticed that bluecop lists the music videos under the category of "music" instead of "video". My plugin currently only searches for video content type, so it misses them. However, I've created a fix for it which will be in the Eden release.


- MiLO83 - 2011-11-19

When can I expect to get my hands on this fixed release? Big Grin

EDIT: I am currently messaging BlueCop to try and get the rest of the VEVO plugin working.
(Artist A-Z etc)

EDIT 2: I got BlueCops VEVO plugin working. (Artist A-Z etc)
Looking forward to fixed XBMC.MyLibrary (Finding Videos under "Music") and some help with config.xml.
I will make it worth your while!

- MiLO83


EDIT 3:
Please watch this 4 minute Youtube video I captured and uploaded,
I hope someone can point out what i'm doing wrong?

http://youtu.be/6lW-U5EiQ7c

Quote: <SearchFilters>
<!--MiLO83 musicvideojukebox-->
<MVJukebox path="plugin://plugin.video.musicvideojukebox" recursive="true">
<subfolder name="Genres/Hip Hop/Top artists - hip hop" type="music_videos" max_videos="5" />
</MVJukebox>
</SearchFilters>
<GlobalExcludes>
<contains>/No videos available</contains>
<regexp>/clip[s]?(/|$)</regexp>
<!--Prevent TV clip(s) from being archived (only want full episodes)-->
<!--shows that i dont want in my library-->
<contains>Play all</contains>
<contains>Top albums</contains>
<contains>Similar artists</contains>
</GlobalExcludes>

THANK YOU I CANT WAIT TO GET THIS UP AND WORKING!
- MiLO83


XBMC Live - txmed - 2011-11-22

So I'm trying to see if anyone has gotten any success with this plugin working on an XBMC Live system.

I installed JRE on the Ubuntu on the computer and copied XBMC.MyLibrary over via FTP. I just ditched the .cmd files because its on a linux system. I apparently had to rename the .jar file from XBMC.MyLibrary.jar because when I tried to execute it ubuntu was a having a problem with the '.' earlier in the file name. So I renamed it to library.jar and executed it.

It's not putting out a log file so I can't post that but basically it seems to be trying to reference various databases and the config.xml file from the directory: C:\XBMC.MyLibrary

In the end it tells me "Confirg File does not exist at: "C:\XBMC.MyLibrary/config.xml". Cannot continue."

I didn't include a pastebin of my config.xml file because I don't even think it's finding the config file.

Anyone have any luck running this on Ubuntu or even better on the sparse build that XBMC Live is loaded onto?


- bradvido88 - 2011-11-23

MiLO83 Wrote:When can I expect to get my hands on this fixed release? Big Grin

EDIT: I am currently messaging BlueCop to try and get the rest of the VEVO plugin working.
(Artist A-Z etc)

EDIT 2: I got BlueCops VEVO plugin working. (Artist A-Z etc)
Looking forward to fixed XBMC.MyLibrary (Finding Videos under "Music") and some help with config.xml.
I will make it worth your while!

- MiLO83


EDIT 3:
Please watch this 4 minute Youtube video I captured and uploaded,
I hope someone can point out what i'm doing wrong?

http://youtu.be/6lW-U5EiQ7c



THANK YOU I CANT WAIT TO GET THIS UP AND WORKING!
- MiLO83
I haven't looked too deep into this, but i believe the videos you are trying to archive are actually playlists, in which case, they are (currently) incompatible with this program Confused


- bradvido88 - 2011-11-23

txmed Wrote:So I'm trying to see if anyone has gotten any success with this plugin working on an XBMC Live system.

I installed JRE on the Ubuntu on the computer and copied XBMC.MyLibrary over via FTP. I just ditched the .cmd files because its on a linux system. I apparently had to rename the .jar file from XBMC.MyLibrary.jar because when I tried to execute it ubuntu was a having a problem with the '.' earlier in the file name. So I renamed it to library.jar and executed it.

It's not putting out a log file so I can't post that but basically it seems to be trying to reference various databases and the config.xml file from the directory: C:\XBMC.MyLibrary

In the end it tells me "Confirg File does not exist at: "C:\XBMC.MyLibrary/config.xml". Cannot continue."

I didn't include a pastebin of my config.xml file because I don't even think it's finding the config file.

Anyone have any luck running this on Ubuntu or even better on the sparse build that XBMC Live is loaded onto?
Problem here is that I stupidly hardcoded a windows-only path as the fallback for the base directory. I'll change it and release an update soon


- TheCasa - 2011-12-11

Ok, I have tried everything I have found through hours of searching and I can't figure out what I'm doing wrong. I can't get the mpg files renamed to strm with the database updated for them.

I've more than once cleared out the movies and tv shows folders, cleaned the database and re-run the program using just the example for bluecop's repository from the users guide. The database is referred to properly in the config file and stuff.

Is there something else I've missed? I'm sorry to ask, but I just can't figure it out.


- pkscout - 2011-12-11

@TheCasa, a log file would help. Are the fake mpg files being added to the XBMC library at least? Until that happens, XBMC.MyLibrary will not change the name.


Feature Request - pkscout - 2011-12-11

I was cleaning up my Hulu queue today, and a number of shows had no more items in my queue. When that happened, XBMC.MyLibrary deleted not only the season folder but the entire series folder. The same folder in which I had a theme.mp3 and extrafanart. No big deal, as I pulled them off the backup, but it would be nice to have an option to tell XBMC.MyLibrary to delete invalid strm files but leave the directory structure alone.


- bradvido88 - 2011-12-11

pkscuot Wrote:@TheCasa, a log file would help. Are the fake mpg files being added to the XBMC library at least? Until that happens, XBMC.MyLibrary will not change the name.

Ditto. Exactly what I would have said


- bradvido88 - 2011-12-11

pkscuot Wrote:I was cleaning up my Hulu queue today, and a number of shows had no more items in my queue. When that happened, XBMC.MyLibrary deleted not only the season folder but the entire series folder. The same folder in which I had a theme.mp3 and extrafanart. No big deal, as I pulled them off the backup, but it would be nice to have an option to tell XBMC.MyLibrary to delete invalid strm files but leave the directory structure alone.

Agreed. When I wrote the cleanup routine, I allowed it to delete all the way up to the series folder. It would be better to keep the dirs and only delete the files. I'll incorporate the next update


- TheCasa - 2011-12-12

Thanks for the quick response. For simplicity's sake, I changed the config to only pull in 2 movies. One of them is added to the library, the other is not. That mpg is not renamed though. Here's the log:
http://pastebin.com/pZD3nVrC
and here is my config:
http://pastebin.com/8T8vXdBJ

Thanks again in advance for the help. I'm a pretty quick learner, but I'm a virgin on this.