Posts: 45
Joined: Jun 2011
Reputation:
0
Hyram
Junior Member
Posts: 45
I'm working on building an idiot-proof XBMC install for a friend's mum, and I have most of it how I want including an automated full-restore ghost on a separate bootable partition. I also have it set to scan and update the library every time it starts, and the machine is scheduled to reboot itself once every 24 hours at 5am.
Has anyone written a batch-script or something that can trigger a library export to single files? I want all of the scraped material kept with the actual media files (which are on separate drives), in case a full-restore is called for?
(I'm actually suprised that this isn't a standard feature!)
Posts: 7,256
Joined: Nov 2008
Reputation:
121
I wouldn't do a library export, just copy the %appdata%\xbmc folder somewhere safe. Preferably keep a few copies in case there's library corruption that you don't spot for a few days.
JR
Posts: 45
Joined: Jun 2011
Reputation:
0
Hyram
Junior Member
Posts: 45
For my current needs, this is unacceptable -- I see it as an essential feature to make XBMC more idiot-proof, and more appealing to those who want something they can plug in and have working with a minimum of futzing. It would also standardise things with external media managers & scrapers, and if the internal library does screw up, it's a simple (albeit time consuming) task to re-absorb the metadata.
Posts: 2,901
Joined: Jun 2009
Reputation:
7
2011-07-01, 13:14
(This post was last modified: 2011-07-01, 13:17 by >>X<<.)
You can create a batch to backup your cache and database I did something similar in XP using windows xcopy so it only updates the new/changed files so its pretty quick
I know its not what you asked for but it is a solution and as far as exporting for use with external media managers IMHO it's a waste of time using a media manager after the movies are already in your library unless you like refreshing loads of movies not to mention exported artwork is lower quality than artwork scraped by external media managers as its cached at a lower resolution, apart from XWMM media managers are best used before you add the content to your library
Current HTPC •
Lian-Li PC-C37 • Gigabyte GA-E7AUM-DS2H • Intel C2D E8400 E0 Stepping • OCZ Vertex SSD • 4GB Corsair TwinX XMS2 DDR2 • Corsair HX650W Modular PSU (Free Upgrade) • LG CH08LS10 Blu-Ray Drive • Scythe Big Shuriken • Acousti DustPROOF 70mm Fan
Posts: 1,190
Joined: Oct 2010
Reputation:
8
There are scripting programs that will simulate mouse and button presses. I've written an AutoHotkey script in the past to click the update library button in Ember. I'm sure something similar could be scripted to control xbmc.
How to use Git
| AMD Athlon II X3 Triple Core Processor 2.9 GHz |GIGABYTE GA-MA785GM-US2H Mobo 2GB DDR2 Ram | MSI N430GT |
| Logitec Harmony Smart Control Remote| 52" Sharp Aquos LED TV | Denon AVR-X1000 |
| Freenas Server with 18TB ASRock Intel Avoton C2750 |
Posts: 2,145
Joined: Jul 2008
Reputation:
12
*cough*cough*Shill*cough*cough*
I posted the way to automate it.
Code:
GRANT ALL PRIVILEGES ON `xbmc_%`.* TO 'xbmc'@'%';
IF you have a mysql problem, find one of the 4 dozen threads already open.
Posts: 8
Joined: May 2011
Reputation:
0
Xbmc-send is a command line utility. Just call it from your batch file.
Posts: 95
Joined: Dec 2010
Reputation:
0
I can't seem to find the utility. Is it in the XBMC folder. I'm using Windows.
TV:
VIZIO E-Series 43”
HTPC: Raspberry Pi 3
STORAGE: Windows 8 Server with DrivePool (Currently with 24TB)