Moved Cached images to a NAS ? - Fire TV Q&A, Help & Troubleshooting

Hello
I found this on Kodi Wiki Page - it that possible on the fire tv ?
and if yes - how is it done ? - i am a totally newbie when i comes to XML files
Move cached images to another drive
Main page: Path substitution
Path substitution is another advancedsettings.xml tag. If you simply need more space for XBMC's files but don't wish to limit the image quality then you can use path subs to relocate the images to another drive. The cached images in the Thumbnails folder takes up the most amount of space of all the different XBMC files, so using pathsubs on that folder alone is often all you need to do. It's even possible to use a network file share path, but it is recommended that you use another local drive, if possible, for performance reasons.
If you have not made an advancedsettings.xml file before, see the example in the above section #Limit the size of cached images.
Note: If you have an existing advancedsettings.xml file, make sure the <pathsubstitution></pathsubstitution> tags are between the main <advancedsettings></advancedsettings> tags.
<advancedsettings>
<pathsubstitution>
<substitute>
<from>special://profile/Thumbnails/</from>
<to>G:\Other Drive\</to>
</substitute>
</pathsubstitution>
</advancedsettings>

jakepe said:
Hello
I found this on Kodi Wiki Page - it that possible on the fire tv ?
and if yes - how is it done ? - i am a totally newbie when i comes to XML files
Move cached images to another drive
Main page: Path substitution
Path substitution is another advancedsettings.xml tag. If you simply need more space for XBMC's files but don't wish to limit the image quality then you can use path subs to relocate the images to another drive. The cached images in the Thumbnails folder takes up the most amount of space of all the different XBMC files, so using pathsubs on that folder alone is often all you need to do. It's even possible to use a network file share path, but it is recommended that you use another local drive, if possible, for performance reasons.
If you have not made an advancedsettings.xml file before, see the example in the above section #Limit the size of cached images.
Note: If you have an existing advancedsettings.xml file, make sure the <pathsubstitution></pathsubstitution> tags are between the main <advancedsettings></advancedsettings> tags.
<advancedsettings>
<pathsubstitution>
<substitute>
<from>special://profile/Thumbnails/</from>
<to>G:\Other Drive\</to>
</substitute>
</pathsubstitution>
</advancedsettings>
Click to expand...
Click to collapse
Should work on the AFTV, but is not really needed anymore in XBMC v13... What are you trying to do?

i would like to move all my thumbnails (fanart) - games, to the nas - to free up some internal memory on my Fire Tv - because you run very fast out of memory/Storage on the Firetv - i have seen that this should be possible on a USB harddrive on an rooted device .. but i thought it maybe would be easier to do it on my NAS but i dont know what i should do to tried this on my NAS

I tried it, problem was thumbnails would take too long to show so slowed browsing xbmc down, but that could also be skin related...
Sent from my SM-G900T using Tapatalk

I put thumbnails on a share mapped to a SSD which seems to greatly improve responsiveness in many skins.

Related

[SUGGESTION] X PLORE the best file manager apps that i used on my i9001

THE BEST THING IS THIS IS A FREE APP... NO NEED TO PAY!!"!
ANOTHER AMAZING THING IS YOU CAN USE IT AS A ROOT FILE MANAGER(just you need to set it in your setting)
Highlights:
* Dual-pane tree view
* Root, FTP, SMB, Sqlite, Picasa, Zip, Rar
explorer
* Cloud storage access: Google Drive™,
Dropbox, SugarSync, Box.net, SkyDrive,
Webdav, Yandex.disk, Dump Truck
* Favorite folders
* Built-in viewers for images, video, audio,
text
* Hex viewer
* Fast Image viewer with zoom and slide to
previous/next images in folder
* Thumbnails for images and video as well as
for various file types (depending on
associated application)
* Multi-selection - always available, yet not
disturbing
* View APK files as ZIP
* Share - send files by Bluetooth, email, or
whatever the device supports, from any
location
* Configurable buttons and key shortcuts
* Seamless work with Zip (as if it was
normal folder)
X-plore allows you to see inside of your
Android phone or tablet.
This is a dual-pane explorer, which means
that there're two folders shown at same time,
and common operation such as copying files
are done from one pane to another.
And X-plore shows folder hierarchy in a tree
view. This offers clear orientation on where in
file system you currently are, and fast
switching to other location.
Currently selected folder and files are
highlighted, while other folders/files have
slightly darker background.
You may explore internals of the device, and
if you're power user and have your device
rooted, you can make changes to system
data - backup files, remove unwanted
applications, etc.
If you're standard user, you may choose to
hide internal memory from view and be sure
not to mess with system.
You can comfortably see contents of your
external memories, either be it built-in high
capacity memory, external memory card, or
possibly USB memory stick attached to your
tablet. All these memory types are listed in
main level, you don't need to search for their
folders on the device.
Access to FTP and FTPS (secure FTP)
servers is supported.
Multiple servers may be configured. All
standard file operations can be done on FTP
server.
X-plore can display shared folders on other
computers in LAN (local area network).
The system allows access to shared folders
on computers connected to LAN, or even
remote server if it supports SMB protocol.
X-plore can access various web storage
"Cloud" servers, and access their files.
You need to have account in supported web
service, then you can access your files stored
online through X-plore.
Main operations are related to managing files
and folders - viewing, copying, moving,
deleting, compressing to Zip, extracting,
renaming, sharing, and more.
Picasa albums
X-plore can list images in Picasa albums,
download them, create albums, upload and
delete photos, edit captions.
SQLite database viewer
X-plore can show SQLite database files
(those with .db extension) as expandable list
of tables, each table containing list of rows
and columns with database entries.
Main interaction is done by touch screen,
clicking on folders or files to open files, or
long-click to open context menu which
contains options which can be done on
particular clicked item, or multiple selected
items.
Multi-selection allows to do operation on
more files at once. Files can be selected by
clicking check box. It is also possible to
select all files in a folder, or clear selection,
by clicking parent folder's check box.
Opening file may mean to use one of built-in
viewer for most popular file types: images,
audio, video and text.
Or you may configure X-plore to use system
application for opening files, in which case
system-predefined application that can open
particular file is launched.
Archives (currently supported are Zip and
Rar) are displayed as other folders. You may
open them, see contents, and do standard
operations that you'd do on files - rename,
delete, copy from/to, etc.
Additional interaction is possible by button
bar, which is between two panes, and is fully
configurable. You may put buttons of your
desired operations here, and change ordering.
Googleplay linkhttps://play.google.com/store/apps/...m_medium=organic&utm_term=x+plore+google+play
Sent from my GT-I9001 using xda premium
Wrong place mate, just put it in the themes and apps section next time
mrjraider said:
Wrong place mate, just put it in the themes and apps section next time
Click to expand...
Click to collapse
I am new here... Next time i don't reaply this mistack... Thanks
Sent from my GT-I9001 using xda premium

[Q] XBMC Hogging all my space HELP!

Im running XBMC 13 and tried relocating the app with per instructions on this site however it doesnt use the data/obb directories. How do I change the profile path/directory in XBMC to point it to the stickmount mounted drive. I know this will solve alot of users problems as XBMC can be a space hog on the Fire TV? Thanks in advance
I believe this has already been covered...
http://forum.xda-developers.com/showthread.php?t=2790246
{ParanoiA} said:
I believe this has already been covered...
http://forum.xda-developers.com/showthread.php?t=2790246
Click to expand...
Click to collapse
Very close but not what I was looking for. Ideally I want to redirect addons directory, userdata,addon_data directory only. Some addons use alot of space in their own addon folders and make it difficult to manage. Thanks in advance
..
Try moving your thumbnail folder
myteematt said:
Very close but not what I was looking for. Ideally I want to redirect addons directory, userdata,addon_data directory only. Some addons use alot of space in their own addon folders and make it difficult to manage. Thanks in advance
Click to expand...
Click to collapse
The thumbnails folder in userdata takes up the most memory. That is unless you've downloaded metadata packs which can be 2GB and are located in the metahandler folder under addon data in your userdata folder. I've solved all of my storage issues by relocating metadata and/or the thumbnails folder.
htpcforall said:
The thumbnails folder in userdata takes up the most memory. That is unless you've downloaded metadata packs which can be 2GB and are located in the metahandler folder under addon data in your userdata folder. I've solved all of my storage issues by relocating metadata and/or the thumbnails folder.
Click to expand...
Click to collapse
Has anyone successfully moved the XBMC with stickmount and folder mount, and only use the external drive for storage in XBMC?
XBMC data on external storage slow read/write
myteematt said:
Has anyone successfully moved the XBMC with stickmount and folder mount, and only use the external drive for storage in XBMC?
Click to expand...
Click to collapse
I haven't but I will. Keep in mind XBMC accesses data constantly. The quickest access is the onboard memory. An external USB drive read/write speed will be much slower for sure.
I just thought of an idea, but idk if it will work. What is someone is able to make a script that would symlink /data or /system (whatever you want) to a usb (formatted ext) that is plugged in. Possibly use Script Manager to run it at boot. Unless someone knows a way to do it directly on the device without an app. That would give you enough space as you would need.

[Q] Playing RTMP Streams

I have AFTV setup and root , running Kodi 14.1 Helix.
It does not play any RTMP streams
Example: Several channels in Navi-X, if I click a channel ...I see IP address RTMP at the bottom .
But nothing plays.
How to make RTMP Files play?
imtiaz78 said:
I have AFTV setup and root , running Kodi 14.1 Helix.
It does not play any RTMP streams
Example: Several channels in Navi-X, if I click a channel ...I see IP address RTMP at the bottom .
But nothing plays.
How to make RTMP Files play?
Click to expand...
Click to collapse
You can try to update the RTMP that is bundled in with your Kodi. This might be necessary as sites change their mechanism for streaming using the protocol. For ref see, http://kodi.wiki/view/HOW-TO:Update_librtmp
As per the wiki, you replace the existing file at this location /data/data/org.xbmc.xbmc/lib/librtmp.so (use Kodi file structure). Backup your existing so file for reverting back to it in case of issues. Do a proper shutdown of Kodi, replace file and restart Kodi.
To get the latest one, you can go to https://www.mediafire.com/folder/spicq7r8l3n5f/Librtmp
The latest one seems to be from Feb 2nd, 2015. I have attached a copy. Other Kodi link discussing RTMP on official forum is http://forum.kodi.tv/showthread.php?tid=162307
I have not replaced mine from the stock one that came with Kodi. So, not sure if that will fix your Navi-X issue, but worth a try.
Remove the ".txt" at the end of the file name, so that the extension is ".so"
dbdoshi said:
You can try to update the RTMP that is bundled in with your Kodi. This might be necessary as sites change their mechanism for streaming using the protocol. For ref see, http://kodi.wiki/view/HOW-TO:Update_librtmp
As per the wiki, you replace the existing file at this location /data/data/org.xbmc.xbmc/lib/librtmp.so (use Kodi file structure). Backup your existing so file for reverting back to it in case of issues. Do a proper shutdown of Kodi, replace file and restart Kodi.
To get the latest one, you can go to https://www.mediafire.com/folder/spicq7r8l3n5f/Librtmp
The latest one seems to be from Feb 2nd, 2015. I have attached a copy. Other Kodi link discussing RTMP on official forum is http://forum.kodi.tv/showthread.php?tid=162307
I have not replaced mine from the stock one that came with Kodi. So, not sure if that will fix your Navi-X issue, but worth a try.
Click to expand...
Click to collapse
dbdoshi, Are you able to play RTMP files ?
I just downloaded Live Stream Player after watching this video.
Download from here: http://store.mdcgate.com/products.php?productId=18
It supports RTMP files...I was wondering if there is anyway to use this to launch XBMC RTMP streams
https://www.youtube.com/watch?v=ttwo2kAHsho
I will also try the spmc version from here to see if it helps
http://www.mediafire.com/download/wd4b9cf82b4y9bp/spmc-armeabi-v7a_14.1.0-signed.apk
No, I have not tried. I have a movie paused and will try after I am done in the evening.
As far as using external players within Kodi, see:
http://kodi.wiki/view/HOW-TO:Use_external_players_on_Android
http://kodi.wiki/view/External_players
Google search indicates these players with promise:
https://play.google.com/store/apps/details?id=org.videolan.vlc.betav7neon
https://play.google.com/store/apps/details?id=com.tencent.research.drop
If you make a working "playercorefactory.xml" file using your player, please post the content of that file. Appreciate it. Thanks.
So far no luck.
I can't seem to get it working even on my Mac.
I downloaded the lib for mac and tried
imtiaz78 said:
So far no luck.
I can't seem to get it working even on my Mac.
I downloaded the lib for mac and tried
Click to expand...
Click to collapse
VLC or Aceplayer can both play rtmp on firetv. You need to edit the playercorefactory.XML to either use one of those apps as default for rtmp or just to have them lusted as alternate players which you would press the menu key on the rtmp link you want to at and select play using which will bring up the list of players you made in playercorefactory.xml
http://wiki.acestream.org/wiki/index.php/AceStream_3.0/en
https://get.videolan.org/vlc-android/
There is no need for the library to be added, just make sure you have VLC and/or Aceplayer installed on the firetv. This will not work if try setting it up on your Mac as it is configured for android/firetv.
I posted a copy of playercorefactory.XML with Ace player and VLC setup but still using dvdplayer as default for all video... If you want to automatically use VLC/Aceplayer then just edit it.
https://mega.co.nz/#F!8sd3GLBK!s-fxf6Cok2v38jF0a0CMag
I tried to validate the XML (the playercorefactory.xml) and it was giving me issues. Not sure if I am doing something wrong here in validating it....
I did clean it up (with the meat of the file intact). Here it is:
Remove the ".txt" from the filename at the end.
EDIT: Open the xml file (after removing .txt) in any XML handler (Internet explorer being the most readily available). IE will make comments hazy and your XML tags bolded. Much easier to see what is commented out and what is not. Also, IE will intend your tags so that you can clearly see parent-child node relationships. If you cannot open an XML file in IE and not laid out correctly. the structure of your XML might be suspect...
You can use online XML validators, google search brings up plenty. They will tell you where your errors are (usually it will give the first error, fix it and revalidate. Keep fixing until you fix it all, LOL.
Thanks smartymcfly and dbdoshi.
I am trying the fixes right now.
Would never have been able to figure all this out without help from you 2!
Thanks again
imtiaz78 said:
Thanks smartymcfly and dbdoshi.
I am trying the fixes right now.
Would never have been able to figure all this out without help from you 2!
Thanks again
Click to expand...
Click to collapse
Hi imtiaz,
Did this work for you? Also is this expected for a AFTV /Android? I'm wondering of the 2 methods (librtmp / external player) would be a preferred method and has anyone verified either methods of working on a AFTV?
dbdoshi said:
I tried to validate the XML (the playercorefactory.xml) and it was giving me issues. Not sure if I am doing something wrong here in validating it....
I did clean it up (with the meat of the file intact). Here it is:
Remove the ".txt" from the filename at the end.
EDIT: Open the xml file (after removing .txt) in any XML handler (Internet explorer being the most readily available). IE will make comments hazy and your XML tags bolded. Much easier to see what is commented out and what is not. Also, IE will intend your tags so that you can clearly see parent-child node relationships. If you cannot open an XML file in IE and not laid out correctly. the structure of your XML might be suspect...
You can use online XML validators, google search brings up plenty. They will tell you where your errors are (usually it will give the first error, fix it and revalidate. Keep fixing until you fix it all, LOL.
Click to expand...
Click to collapse
What exactly do mean you were trying to validate the XML? I can put a space between each section to make it easier to read if needed but it should work as is.
Edit: I see what you are talking about, for some reason when last edited and saved the file it didn't save in the correct format because I was using an app on the phone that isn't made for XML but can still read the text. I edited it with notepad++ and now it should be good to go. I cleaned it up. It is set to automatically play rtsp & rtmp with vlc set as default and everything else is played by kodi which is DVDplayer. You can press the menu key and select play using if you would like to use an alternate player without editing the file.
I have two version of VLC and I am not sure which one everyone else uses that is why I listed both.
If you see the beginning if a line start as <!-- then that is telling Kodi to skip that line so if want to make it so VLC isn't default and make Kodi default then just put "!--" after the "<" on the line to make that way.
If you open this file in Jota+, or 920 text editor on android or firetv it will be color coordinated to let you know it is formatted correctly. And what is active or inactive in the file. On windows you can use notepad++ or on OSX you can use textwrangler....
https://mega.co.nz/#!0hciHSQK!9kXm0w5ndSb1l3rI-uQ495BS_mCp3Rg7hvDv4BfJahs
I updated the RTMP lib but that does not stick after a reboot.
So I installed this version of SPMC which has the latest librtmp.so
http://www.mediafire.com/download/wd4b9cf82b4y9bp/spmc-armeabi-v7a_14.1.0-signed.apk
I have a few more working links.
Still not able to play the Navi-X links.
Played with the external player options but had to roll back the changes because it did not work.

[Q] spmc thumbnails to ext USB help

Hi could you clever folks help a guy out, I'm trying to do what it says in the thread title but I do not have a PC, I use agk fire and es file explorer.
can anyone do a quick idiots guide on how I can do this.
Many thanks.
Just go to you SPMC foldr and delete the thumbnail folder, and make sure you also delete the texture database file too. The thumbnail folder will auto recreate itself. If you do not delete the textures DB file iit will take a long time for Kodi to make new thumbnails.
porkenhimer said:
Just go to you SPMC foldr and delete the thumbnail folder, and make sure you also delete the texture database file too. The thumbnail folder will auto recreate itself. If you do not delete the textures DB file iit will take a long time for Kodi to make new thumbnails.
Click to expand...
Click to collapse
Thanks for the reply.
Yes I already know how to delete thumbs and textures 13.dB.
I'm trying to redirect thumbs to external flash drive. It can be done but I have no PC.
Think this is for kodi
from ftv news
how can I do this manually using esfile explorer for spmc
Guide
Ensure that your USB drive is connected to your Fire TV, that Kodi is installed on your Fire TV, and that you’ve launched Kodi at least once before proceeding with this guide. It does not matter if Kodi is installed on the Fire TV’s internal storage or on external USB storage.
Force stop Kodi on your Fire TV by going to Settings > Applications > Manage Installed Applications, selecting Kodi, and selecting the Force stop option.
Connect to your Fire TV via ADB.
Open a Fire TV shell prompt by running the command:
adb shell
Create a directory called kodi on your USB drive where we will move Kodi’s thumbnail files by running the command:
mkdir /storage/extUsb/kodi
Copy Kodi’s thumbnail files to your USB drive by running the command:
cp -r /sdcard/Android/data/org.xbmc.kodi/files/.kodi/userdata/Thumbnails /storage/extUsb/kodi/
This may take a while depending on the size of your Kodi installation and the speed of your USB drive.
Create a blank Kodi configuration file by running the command:
touch /sdcard/Android/data/org.xbmc.kodi/files/.kodi/userdata/advancedsettings.xml
Fill the configuration file by running the command:
echo \<advancedsettings\>\<pathsubstitution\>\<substitute\>\<from\>special://thumbnails/\</from\>\<to\>/storage/extUsb/kodi/Thumbnails/\</to\>\</substitute\>\</pathsubstitution\>\</advancedsettings\> > /sdcard/Android/data/org.xbmc.kodi/files/.kodi/userdata/advancedsettings.xml
Launch Kodi and verify everything is working correctly.
Delete Kodi’s thumbnail files from your Fire TV’s internal storage by running the command:
rm -rf /sdcard/Android/data/org.xbmc.kodi/files/.kodi/userdata/Thumbnails
Can anyone please help
astro77 said:
Hi could you clever folks help a guy out, I'm trying to do what it says in the thread title but I do not have a PC, I use agk fire and es file explorer.
can anyone do a quick idiots guide on how I can do this.
Many thanks.
Click to expand...
Click to collapse
I have a Mac and a PC and I've never tried but unless someone corrects me....android terminal is very similar to Mac as it applies to Unix. So you can install android terminal on your device and run the same commands in the aftvnews guide. I'm not even 50% certain it works. Your android might need to be rooted but not certain there either.
Its just I noticed your notngetting many answers. At the very least I'm sure itnwont hurtnto try. And, I'm very curious to see if it would work.
As I understand it there are definite limits, thats why the guides usually say Mac, PC or linux. But we can connect with adb (actually that's much simpler to do with android) so its might be worth a shot.
You will need to Google if you don't know manually copy and paste paths but this isnpretty simple too. Hope it works. And if someone knows of a reason this won't work hopefully you'll let both of us know.
Thank you a lot
Downloaded the terminal on my android tablet but have no idea how to connect to fire TV over WiFi using the terminal app.
Was going to just create a "text" XML file containing the correct path then just put it in the right location on my fire TV with esfile explorer and maybe copy a few folders from spmc to flash drive........
I'm sure its simple when you know how lol.
If that works for you that's even simpler. You can still use the terminal to adb push your XML. Place it in userdata. Then you'll probably need to delete textures13db from the database and restart kodi. Before the new updates this was how I stored thumbs and it worked as well as it does now. Once you verify advanced settings and it works you can delete the thumbnails from your internal sdcard.
Good stuff :good:
just don't know what to name the XML and the contents path for spmc.
As you can tell I'm not very experienced at this stuff.
edit:
something like
<advancedsettings\>\<pathsubstitution\>\<substitu te\>\<from\>special://thumbnails/\</from\>\<to\>/storage/extUsb/kodi/Thumbnails/\</to\>\</substitute\>\</pathsubstitution\>\</advancedsettings\>
please someone help
if you have done this by whatever method could you please open up your advanced XML file and copy and paste it here please.
Cracked it
made a text file using esfile explorer on my tablet named:
advancedsettings.xml
then put this in the file:
<advancedsettings>
<pathsubstitution>
<substitute>
<from>special://profile/Thumbnails/</from>
<to>/storage/extUsb/Thumbnails/</to>
</substitute>
</pathsubstitution>
connected my tablet to aftv using esfile explorer over WiFi and moved the file to spmc userdata
opened spmc and deleted textures and thumbs folder, close spmc, restarted and it worked.
thanks too all that replied

Secure Files to external devices / NAS folders

In the settings I have seen the section BACKUP & RESTORE. In there, Backups can be done on external drives. And among other things, it says there can be shared folders from for example a NAS. Problem is, I dont find any shared folders although i have a NAS from Synology running with a lot of shared folders. However when I search in that setting, it doesnt show any NAS or folder. Why is that ?
wpkwolfseye said:
In the settings I have seen the section BACKUP & RESTORE. In there, Backups can be done on external drives. And among other things, it says there can be shared folders from for example a NAS. Problem is, I dont find any shared folders although i have a NAS from Synology running with a lot of shared folders. However when I search in that setting, it doesnt show any NAS or folder. Why is that ?
Click to expand...
Click to collapse
I use my shared folders to backup my phone and it's really convenient.
Try accessing your shared folders with the built in file explorer to make sure you can communicate with your NAS.
Steps :
1 - Connect your phone to your local wifi
2 - Launch file explorer
3 - Select Network neighborhood and you should see your shared folders
If it still doesn't work then you should probably have a look at your NAS settings.

Categories

Resources