![]() |
|
BM Movie Library - show your movies on web - 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: BM Movie Library - show your movies on web (/showthread.php?tid=118649) |
BM Movie Library - show your movies on web - Regss - 2012-01-03 23:11 BM Movie Library New version available: 0.9 Hello. A long time I was looking for a script that quickly and easily would present library movies to all my friends in the network. At the same time I would have complete control over it. Because not anything specific I could find I decided to write my own script. If someone likes it, it can free to use it. Description: The script automatically reads the videodb.xml and the *.nfo files and imports them into the database. Then displays for all visitors poster, fanart and information about the film containing title, description, year, director, genre etc. Screenshoots: ![]() ![]() ![]() Requirements: Server with: - Apache with GD2 extension - PHP 5.3 - MySql database Installation: There are three methods to using script. 1. Script can work directly on the xbmc database, then movie list is always current (database must be always online). The best is to create a new user in xbmc database with access rights only to SELECT. This is not necessary because the script uses safe mode and will not damage the database. In the config.php file set main connection to xbmc database. Remote connection leave without change. Script run in safe mode (read-only). 2. Script connects to the xbmc database and one-click update his own database to current. The best is to create a new user in xbmc database with access rights only to SELECT. This is not necessary because the script uses safe mode and will not damage the database. In the config.php file set main connection to script database and remote connection to XBMC database. 3. Script import movie from a videodb.xml or nfo files. Set main connection to script database, import videodb.xml or nfo files to export/ directory and in admin panel import movies to database. In three cases, posters and fanarts will be downloaded from the links that xbmc scraper take. Not need to copy large amounts of jpg and tbn files. When watching the first time each film, library will load longer because it must create a poster and fanart thumbnails. If you want to create thumbnails for all files in the admin panel, click on the "create cache". Download from here: http://code.google.com/p/bm-movie-library/downloads/list sorry for my english... - Archigos - 2012-01-04 09:43 I set this up and it works great, but when I imported my videodb.xml file it gave me an error on about 30 movies but I couldn't seem to find a way to fix them from within the site so I renamed the videodb.xml.bak back to videodb.xml and refreshed the admin area to see if it would allow me to import again and I no longer have that option. I'm just wondering if I can find a way to add the remaining movies it missed. - smiffy1989 - 2012-01-04 12:48 Any chance of reading directly from a XBMC MySQL database? - Regss - 2012-01-04 13:22 Archigos Wrote:I set this up and it works great, but when I imported my videodb.xml file it gave me an error on about 30 movies but I couldn't seem to find a way to fix them from within the site so I renamed the videodb.xml.bak back to videodb.xml and refreshed the admin area to see if it would allow me to import again and I no longer have that option. I'm just wondering if I can find a way to add the remaining movies it missed. Make sure the correct name was changed to videodb.xml. The script should re-detect the file when you try to import should add only movies that do not exist in the database. Post errors message. I'll try to fix the problem. - Regss - 2012-01-04 14:45 smiffy1989 Wrote:Any chance of reading directly from a XBMC MySQL database? You mean that the script was working on xbmc mysql database or just import the data from it to the new database created by script? - Archigos - 2012-01-04 15:17 Regss Wrote:Make sure the correct name was changed to videodb.xml. The script should re-detect the file when you try to import should add only movies that do not exist in the database. Post errors message. I'll try to fix the problem. I just tried again and noticed that it did redetect the xml file I just didn't notice the 'import' that time. However, trying to import the file again, it still refuses to add certain movies (the same set it refused the first time). What I've figured out so far... The movies with 'issues' are all foreign movies with their English title in the xml file. The few foreign movies that I left the title alone seemed to have worked. I can PM you a copy of the xml file, along with a few of the names of movies that don't seem to work for testing if you think it'd help. - Regss - 2012-01-04 16:02 Please send me at: regss84@gmail.com Thanks for your help! - _Mikie_ - 2012-01-04 16:19 Looks awesome! Just wish it was python based so it didn't need its own web server.. - Archigos - 2012-01-04 16:30 _Mikie_ Wrote:Looks awesome! Just wish it was python based so it didn't need its own web server.. Mikie, I'm running mine through IIS
- _Mikie_ - 2012-01-04 16:49 Archigos Wrote:Mikie, I'm running mine through IIS I have a web server running so it isn't an issue just so much easier to have python services
|