scraping/database size
#1
Just wondering if when you scrape your media, does it resize the images down?

I know on imdb for example, the images range from 500x750 to much larger than the preferred 1000x1500. I was wondering if when downloaded does xbmc save the files at a smaller size especially for android devices.

I linked my new tablet up to my main htpc, but worried that when I scrape it my database will be 2.06gb in size like on my PC in which case I'll have to skip scraping because I'll take up too much space.
System 1: HK1 RBox - Android 11, S905X4 Quad-Core, 4GB DDR3 - CoreElec KODI 20.3
System 2: Beelink GT1 Ultimate - Android 7.1, S912 Octa-Core 1.5 GHz, 3GB DDR4 - CoreElec KODI 18
Storage: WD MyCloud EX2 Ultra NAS - 2x4TB WD Blue (WD40EZRZ)
Display: 55" TCL 55R615-CA 4K TV
Reply
#2
Nothing specific to Android.
If your data is 2Gb on your PC, it probably will be the same size on Android with the same sources.
Reply
#3
Bummer...

Looking through the thumbnail folders on my PC (clicked thumbnails and searched for *.jpg to bring everything up), I noticed that, apart from background images, the images were 720 and under for height... didn't see any that were 1000x1500 for posters which I know there should be a lot of (I've personally uploaded over 1000 images to IMDB so I know some of them should be that size).

That's why I figured on import, XBMC must shrink them down keeping the original aspect ratio, then save them. Thought (hoped) maybe if on an android device, since they're all under 12" in size, maybe XBMC for Android shrinks them down to half that size to save space.
System 1: HK1 RBox - Android 11, S905X4 Quad-Core, 4GB DDR3 - CoreElec KODI 20.3
System 2: Beelink GT1 Ultimate - Android 7.1, S912 Octa-Core 1.5 GHz, 3GB DDR4 - CoreElec KODI 18
Storage: WD MyCloud EX2 Ultra NAS - 2x4TB WD Blue (WD40EZRZ)
Display: 55" TCL 55R615-CA 4K TV
Reply
#4
You can do this manually using the art-res tags in advancedsettings.xml (wiki)
Reply
#5
Hmm, seems handy. And that will work on Android? Just got mine a few days ago so still not sure fully how it works. But if I can make a file for it that will cache the images at say 360 height for posters, and fanart at 540, it should look fine on my Nexus 10, and be much smaller.
System 1: HK1 RBox - Android 11, S905X4 Quad-Core, 4GB DDR3 - CoreElec KODI 20.3
System 2: Beelink GT1 Ultimate - Android 7.1, S912 Octa-Core 1.5 GHz, 3GB DDR4 - CoreElec KODI 18
Storage: WD MyCloud EX2 Ultra NAS - 2x4TB WD Blue (WD40EZRZ)
Display: 55" TCL 55R615-CA 4K TV
Reply
#6
(2014-02-04, 22:40)Ned Scott Wrote: You can do this manually using the art-res tags in advancedsettings.xml (wiki)

I'm thinking this is a windows only thing? since directions seem to point at the users folder in the C:\.
System 1: HK1 RBox - Android 11, S905X4 Quad-Core, 4GB DDR3 - CoreElec KODI 20.3
System 2: Beelink GT1 Ultimate - Android 7.1, S912 Octa-Core 1.5 GHz, 3GB DDR4 - CoreElec KODI 18
Storage: WD MyCloud EX2 Ultra NAS - 2x4TB WD Blue (WD40EZRZ)
Display: 55" TCL 55R615-CA 4K TV
Reply
#7
(2014-02-06, 19:06)THRobinson Wrote:
(2014-02-04, 22:40)Ned Scott Wrote: You can do this manually using the art-res tags in advancedsettings.xml (wiki)

I'm thinking this is a windows only thing? since directions seem to point at the users folder in the C:\.

No, it works on all XBMC platforms. The note is just about Windows users needing to make sure they use the right folder in their setup. For the location in other platforms you just click on the userdata folder (wiki) link.
Reply
#8
Nice, thanks... will give it a try this weekend.

It's like when the ice cream truck comes around, you can't choose what you want without the little pictures...movies are the same, I need my little pictures! Big Grin
System 1: HK1 RBox - Android 11, S905X4 Quad-Core, 4GB DDR3 - CoreElec KODI 20.3
System 2: Beelink GT1 Ultimate - Android 7.1, S912 Octa-Core 1.5 GHz, 3GB DDR4 - CoreElec KODI 18
Storage: WD MyCloud EX2 Ultra NAS - 2x4TB WD Blue (WD40EZRZ)
Display: 55" TCL 55R615-CA 4K TV
Reply
#9
So, since I only need the file for fanart/posters, if I make the advancedsettings.xml file, it would be a very small file of about 4 lines correct? Like this

<advancedsettings>
<imageres>240</imageres>
<fanartres>480</fanartres>
</advancedsettings>

Posters would be 240 high, and background art 480 high? Can't be that simple can it?
System 1: HK1 RBox - Android 11, S905X4 Quad-Core, 4GB DDR3 - CoreElec KODI 20.3
System 2: Beelink GT1 Ultimate - Android 7.1, S912 Octa-Core 1.5 GHz, 3GB DDR4 - CoreElec KODI 18
Storage: WD MyCloud EX2 Ultra NAS - 2x4TB WD Blue (WD40EZRZ)
Display: 55" TCL 55R615-CA 4K TV
Reply
#10
Yup, it's that simple. Obviously it only applies to newly cached stuff though. You can look at MilhouseVH's scripts on how to clear things out though (or alternatively, delete Textures*.db and images will re-generate where they can).
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#11
Luckily all I've done so far was add the sources, I haven't set content or scraped anything.

I know the FAQ shows that the path is "usually" located at

.../android/data/org.xbmc.xbmc/files/.xbmc/userdata/

Mine ends at .../files/ so should I just make the sub folders /.xbmc/userdata/ and drop the file there? Then start up xbmc, set content and scrape away?
System 1: HK1 RBox - Android 11, S905X4 Quad-Core, 4GB DDR3 - CoreElec KODI 20.3
System 2: Beelink GT1 Ultimate - Android 7.1, S912 Octa-Core 1.5 GHz, 3GB DDR4 - CoreElec KODI 18
Storage: WD MyCloud EX2 Ultra NAS - 2x4TB WD Blue (WD40EZRZ)
Display: 55" TCL 55R615-CA 4K TV
Reply
#12
If you've run XBMC the userdata folder will be there already. If it's not, it could be somewhere else. Keep searching.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#13
Nope, no where to be found. Using Astro file manager and used the search feature to find user data and it doesn't find it either. XBMC does run, I can play videos over WiFi from my server and I setup the weather app. Restarted my tablet, went in and all my settings for the app are there.

Does the folder get recreated when XBMC gets opened? Wondering maybe if one of the cleaner apps I tried may have deleted something.

EDIT - well, did a full uninstall, restarted the tablet, installed the app, went in and added back the folders, weather settings, etc... Still no signs of /.xbmc/userdata/
System 1: HK1 RBox - Android 11, S905X4 Quad-Core, 4GB DDR3 - CoreElec KODI 20.3
System 2: Beelink GT1 Ultimate - Android 7.1, S912 Octa-Core 1.5 GHz, 3GB DDR4 - CoreElec KODI 18
Storage: WD MyCloud EX2 Ultra NAS - 2x4TB WD Blue (WD40EZRZ)
Display: 55" TCL 55R615-CA 4K TV
Reply
#14
Gotta click "show hidden files" which I guess includes folders. Smile
System 1: HK1 RBox - Android 11, S905X4 Quad-Core, 4GB DDR3 - CoreElec KODI 20.3
System 2: Beelink GT1 Ultimate - Android 7.1, S912 Octa-Core 1.5 GHz, 3GB DDR4 - CoreElec KODI 18
Storage: WD MyCloud EX2 Ultra NAS - 2x4TB WD Blue (WD40EZRZ)
Display: 55" TCL 55R615-CA 4K TV
Reply
#15
Wow... really saved me some space.

Desktop computer is 2.6GB for the thumbnail folder, the Android is 406MB. Changed my file a little

<advancedsettings>
<imageres>240</imageres>
<fanartres>360</fanartres>
</advancedsettings>

Bit grainy but, looks good enough and saved me over 2GB space. Kinda debating backing up my stuff, then making a custom file as a test on my desktop as well... 500px for posters and 720px for fanart... maybe save some space and may speed up a bit if small files.

Thanks for the help.
System 1: HK1 RBox - Android 11, S905X4 Quad-Core, 4GB DDR3 - CoreElec KODI 20.3
System 2: Beelink GT1 Ultimate - Android 7.1, S912 Octa-Core 1.5 GHz, 3GB DDR4 - CoreElec KODI 18
Storage: WD MyCloud EX2 Ultra NAS - 2x4TB WD Blue (WD40EZRZ)
Display: 55" TCL 55R615-CA 4K TV
Reply

Logout Mark Read Team Forum Stats Members Help
scraping/database size0