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

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



- bradvido88 - 2011-05-03 22:52

icky Wrote:<fastpasstv path="plugin://plugin.video.fpt" multi_part="true" recursive="true">

<subfolder name="all tv shows/friends/" type="episodes">

</subfolder>

after the friends directory it then goes to /season1 episode1/divxden#1/play/

obviously i left it as recursive inorder to get the final video stream but all that happens is the video starts playing in xbmc when xbmc.mylibrary is activated
Looks like "/play" is not actually a file, but otherwise a trigger to start playing. Since the plugin was designed this way, it won't work with XBMC.MyLibrary. I've never seen a plugin like that and not sure why it's designer set it up that way.


- icky - 2011-05-04 09:33

i feel that the "divxden" part is the actual part that starts the file playing rather than the play bit, is there anyway that xbmc.mylibrary can ignore the plan at the end and scrape the details from the divxden part?


- bradvido88 - 2011-05-04 14:55

icky Wrote:i feel that the "divxden" part is the actual part that starts the file playing rather than the play bit, is there anyway that xbmc.mylibrary can ignore the plan at the end and scrape the details from the divxden part?
Only if the divxden part is a file, not a directory. The way the plugin is programmed decides that. I'm guessing since there is a play option beneath it, that is is a directory. In which case you are SOL.
I could attempt to write in some sort of work-around for this, but it seems like an unusual way for a plugin to work, so I probably wont spend much time on it.


- icky - 2011-05-04 19:36

have asked nixa, the maintainer of the plugin if its a file or a "trigger" and hope he gets back to me with the info/ if or when he does i will let you know. cheers for the help


- MattNZ - 2011-05-07 18:07

I'm having a bit of trouble getting this to work with the NZ On Demand plugin.

This is what I have entered for the plugin text, which I wrote based on examples for simillar plugins:
Code:
<NZOnDemand path="plugin://plugin.video.nz.ondemand/" multi_part="true" recursive="false">
    <subfolder name="TV3/Channels/TV3" type="episodes" suffix="(TV3)" download="true" max_videos="5"/>
</NZOnDemand>
Most of the process seems to be working as it finds the listed shows and creates the corresponding folders in the dropbox folders. However, it seems to be picking up the wrong URLs for the media files as it only downloads the thumbnail pics for the shows. If I enable streaming and turn off the download option, this is an example of what's in the .strm file:
Code:
plugin://plugin.video.nz.ondemand/?ch=TV3&id=Glee-Season-2-Ep-18,59,2779,87&info=%7B%27Count%27%3A%204%2C%20%27Plot%27%3A%20u%27Will%20teaches%20the%20k​ids%20a%20valuable%20lesson%20about%20self-acceptance%20through%20the%20music%20of%20Lady%20Gaga.%27%2C%20%27PlotOutline%27​%3A%20u%27Season%202%2C%20Ep%2018%27%2C%20%27Episode%27%3A%2018%2C%20%27Thumb%27​%3A%20u%27http%3A//wa2.ondemand.tv3.co.nz/Portals/0/AM/2010/6/2/2779/GLEE_0218-300.jpg%3Fwidth%3D145%26amp%3Bheight%3D96%3Bpv8ce8f6547ef55b46%27%2C%20%27Title%​27%3A%20u%27Glee%20-%20Season%202%2C%20Ep%2018%27%2C%20%27TVShowTitle%27%3A%20u%27Glee%27%2C%20%27Pr​emiered%27%3A%20%27Friday%2C%20May%2006%2C%202011%27%2C%20%27Date%27%3A%20%27Fri​day%2C%20May%2006%2C%202011%27%2C%20%27Season%27%3A%202%2C%20%27Studio%27%3A%20%​27tv3%27%2C%20%27Duration%27%3A%20%2755%27%2C%20%27Icon%27%3A%20%27DefaultVideo.​png%27%7D

Is this something I can fix through this tool or is it more a problem with the way the NZ Ondemand plugin is doing things?


- icky - 2011-05-09 00:50

hey bradvido88, search filter for muzu.tv... have got the plugin to scan but it returns that it cannot get artist/title from scrape... any way to fix this?


- bradvido88 - 2011-05-15 23:58

icky Wrote:hey bradvido88, search filter for muzu.tv... have got the plugin to scan but it returns that it cannot get artist/title from scrape... any way to fix this?
Never used that plugin, but is is Music Videos?
They have to be in the format {artist}-{title}.
I believe that if the artist is in the parent folder that works to but can't remember for sure.


- icky - 2011-05-16 09:34

sorry i didnt update this thread, t0mmo had the plugin print artist: title, asked him how to change it, and changed the code myself, it now prints artist - title, and works fine with xbmc.mylibrary.

The plugin is for Music videos and for most music it seems higher quality than yahoo.

A british site so dont think there is any country etc on there but most pop/rnb etc music is up there Smile


- bradvido88 - 2011-05-16 13:36

MattNZ Wrote:I'm having a bit of trouble getting this to work with the NZ On Demand plugin.

This is what I have entered for the plugin text, which I wrote based on examples for simillar plugins:
Code:
<NZOnDemand path="plugin://plugin.video.nz.ondemand/" multi_part="true" recursive="false">
    <subfolder name="TV3/Channels/TV3" type="episodes" suffix="(TV3)" download="true" max_videos="5"/>
</NZOnDemand>
Most of the process seems to be working as it finds the listed shows and creates the corresponding folders in the dropbox folders. However, it seems to be picking up the wrong URLs for the media files as it only downloads the thumbnail pics for the shows. If I enable streaming and turn off the download option, this is an example of what's in the .strm file:
Code:
plugin://plugin.video.nz.ondemand/?ch=TV3&id=Glee-Season-2-Ep-18,59,2779,87&info=%7B%27Count%27%3A%204%2C%20%27Plot%27%3A%20u%27Will%20teaches%20the%20k​ids%20a%20valuable%20lesson%20about%20self-acceptance%20through%20the%20music%20of%20Lady%20Gaga.%27%2C%20%27PlotOutline%27​%3A%20u%27Season%202%2C%20Ep%2018%27%2C%20%27Episode%27%3A%2018%2C%20%27Thumb%27​%3A%20u%27http%3A//wa2.ondemand.tv3.co.nz/Portals/0/AM/2010/6/2/2779/GLEE_0218-300.jpg%3Fwidth%3D145%26amp%3Bheight%3D96%3Bpv8ce8f6547ef55b46%27%2C%20%27Title%​27%3A%20u%27Glee%20-%20Season%202%2C%20Ep%2018%27%2C%20%27TVShowTitle%27%3A%20u%27Glee%27%2C%20%27Pr​emiered%27%3A%20%27Friday%2C%20May%2006%2C%202011%27%2C%20%27Date%27%3A%20%27Fri​day%2C%20May%2006%2C%202011%27%2C%20%27Season%27%3A%202%2C%20%27Studio%27%3A%20%​27tv3%27%2C%20%27Duration%27%3A%20%2755%27%2C%20%27Icon%27%3A%20%27DefaultVideo.​png%27%7D
Is this something I can fix through this tool or is it more a problem with the way the NZ Ondemand plugin is doing things?
I haven't used this plugin either, but it seems that the file path is just pointing to an image. The plugin may fire off an additional process when you click on the file that actually starts the stream. If that's case, we can't do much about it.


Best Practice? - ThermoDust - 2011-05-16 23:39

Is there best practice on how to have the script run to check for new content?

This is some of my XBMC launch code that I am running when my computer starts to load XBMC and the MyLibrary script. As you can see I have it on a loop so that the script checks for new content every 20 min(Normal will be 2 hours). However unless I close XBMC and reload my launch code it doesn't seem to find any new content.

Code:
echo.
echo Starting XBMC MyLibrary Refresh.
start /wait /min "XBMC MyLibrary" "%ProgramFiles%\Java\jre6\bin\java.exe" -jar "C:\Users\LivingRoom\AppData\Roaming\XBMC\MyLibrary\dist\XBMC.MyLibrary.jar"
echo MyLibrary update complete.
echo Waiting 20 minutes to run MyLibrary again.
choice /d y /t 1200 > nul

Also here is the log file http://thermodust.com/XBMC.MyLibrary.2011-05-16.log - Sorry can't post to PasteBin as the log file was to big or something as IE and Firefox said the page stopped working.

The log shows it running and checking for almost 9 hours and it never found the new content till I quit the XBMCLoader(my batch file) and reloaded it so it ran the MyLibrary again.