![]() |
|
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) |
- Ryoga79 - 2011-12-13 05:15 bradvido88 Wrote:See my edited post above, it's a problem with me escaping backslashes in the query. In the meantime, you could try a smb share as those paths shouldn't have backslashes. Do you mind filling me in on the SMB syntax for the config.xml? I was using Code: <Dropbox>and in the log it comes out as: Code: 12/12/2011 10:12:55 PM INFO Search:Hulu Creating shortcut failed: smb:\FEEZFILESERV\Misc\Streaming\drop\Movies\Movies\The House Next Door.mpg (The specified path is invalid)in the log - no files get written. Any suggestions? I'm new to this XML thing, clearly
- TheCasa - 2011-12-13 05:16 After pulling only my queue in, again, the files were downloaded, added to the xbmc library, but not converted to strm for playing. Here's my searchfilter: Code: <Hulu path="plugin://plugin.video.hulu">Here's the dropbox: ![]() And the Library: ![]() Weird.... - bradvido88 - 2011-12-13 15:59 Ryoga79 Wrote:Do you mind filling me in on the SMB syntax for the config.xml?Sorry, I meant set up the path for your source as smb in XBMC. Then in the config file, you use whatever syntax your OS uses to access samba shares. For windows its Code: \\server\path\to\shareTheCasa Wrote:After pulling only my queue in, again, the files were downloaded, added to the xbmc library, but not converted to strm for playing. Here's my searchfilter:Do you happen to have the log file for this? You are really close. The reason it's not converted to a .strm is because this program never finds it in XBMC's database. The way I see it is that one of three things is wrong:
As a disclaimer, my testing is limited to a Windows environment so things may be slightly different if your running a different OS - bradvido88 - 2011-12-13 16:18 bradvido88 Wrote:See my edited post above, it's a problem with me escaping backslashes in the query. In the meantime, you could try a smb share as those paths shouldn't have backslashes. I fixed this bug, so now local paths should work for everyone. The new version can be downloaded here. To upgrade, you only need to replace the XBMC.MyLibrary.jar in your current version with the one from the new version. Also, this is compatible with Eden only (tested against Dec-10 build), if you're on Dharma, sorry I don't have time to fix that build. - TheCasa - 2011-12-13 16:29 bradvido88 Wrote:I think this is the problem! They were setup as sources when the dropbox was empty! I'll try it when I get home and see if that resolves it. Quote:I think I'm ok here, but I'll check that as well Quote:You're right, no errors. I'll post the log when I get home if resetting the sources doesn't solve it. Quote:As a disclaimer, my testing is limited to a Windows environment so things may be slightly different if your running a different OSI'm running windows, so that's cool. - bradvido88 - 2011-12-13 16:31 TheCasa Wrote:I think this is the problem! They were setup as sources when the dropbox was empty! I'll try it when I get home and see if that resolves it.Ok, let me know what you find. The problem is that if you add a source to XBMC's library that doesn't have any vidoes inside of it, XBMC basically doesn't save that source and you have to re-add it once vidoes are inside it. Also, if you can change your logging level to DEBUG for my program, that will show us the exact queries that are being used against the SQL database. One last thing to make certain of for Eden & MySQL Users: The video library name changes as you upgrade XBMC. It will have the database version number tacked on the end. So anytime you upgrade XBMC, you need to change the video database name in the Config.xml to match the new version number. The latest version is xbmc_video58 - TheCasa - 2011-12-13 17:42 Ok, can I just add the folders as sources now that the mpgs are in there and rerun the program and have it pick them up and rename them? Or do I need to add them as sources, then delete the mpgs and rerun it? I'm excited to get this working and turn my cable off. Also, is there a wiki that defines searchfilters for various sources? Just curious.. if not, it would be great to start one. It would help noobs like myself get the most use out of your program. Thanks, this is great! - bradvido88 - 2011-12-13 18:20 TheCasa Wrote:Ok, can I just add the folders as sources now that the mpgs are in there and rerun the program and have it pick them up and rename them? Or do I need to add them as sources, then delete the mpgs and rerun it?Once there are mpg's in there, you can add the source to XBMC. No need to rename/delete anything. No wiki yet, but I can help with searchfilters. They're really not that complicated once you get the hang of it. - Ryoga79 - 2011-12-13 19:52 A couple samples would be great - Specifically, i'd love to use FreeCable and Amazon Prime Video with the plugin! Also, and i'm not sure how i would exactly go about it, but i'd love to somehow use this in conjunction with sportsdevil and pseudotv to create "sports channels" and streaming news channels with my regular pseudotv lineup...i think that will take some more hackery above the scope of the plugin, but a guy can dream... Thanks for all your help! - TheCasa - 2011-12-14 05:41 Still no dice. I left the mpg files in the libary, removed the sources, re-added the source and re-ran the program. The shows import into the library, but the mpgs are still not renamed. Here's the verbose log. I'm at a loss now... http://pastebin.com/13JBN2DR I even tried to change it to a smb source instead of straight folder. |