[Q] Connecting Kodi on Fire TV to Mac on the Same Network - Fire TV Q&A, Help & Troubleshooting

How do I go about connecting Kodi on my FireTV to my Mac on the same network? I'd like to back up Kodi and save the backups externally on my Mac, but I'm not sure how to access my Mac from the Fire TV. For example, when I go to the "Install from Zip File" window, I don't see any references to my Mac's hard drive listed in the sources there.

Raymondo17 said:
How do I go about connecting Kodi on my FireTV to my Mac on the same network? I'd like to back up Kodi and save the backups externally on my Mac, but I'm not sure how to access my Mac from the Fire TV. For example, when I go to the "Install from Zip File" window, I don't see any references to my Mac's hard drive listed in the sources there.
Click to expand...
Click to collapse
You can try NFS or FTP (however ftp makes your password visible in Kodi's sources list). SMB and AFP shares never seem to work right for me on OSX with Kodi. Actually NFS can be a pain too.
You may just what to push the file to the SDcard with adbfire
http://forum.xda-developers.com/showthread.php?t=2786505
To add the sdcard to the Install from zip file source selection list in Kodi:
System>File Manager>Add source>Browse>select root filesystem>select sdcard
click ok
give it a name like #sdcard, the Hash tag is only to put it at the top of the source list alphabetically.
You can delete the zip file when you are done with ADBfire too.

I appreciate the reply. Yes, I've been using the SDcard as my connection point, but I was hoping to be able to connect my Fire TV to my Mac so I could schedule Backup to automatically store backups off of the Fire TV. In lieu of my Mac, I attempted to use my Dropbox account, but ran into difficulties there as well, which I'll post in a new thread.

Create an smb (windows) share on your Mac. If you want to use a password for the share create a user for network shares or use your own (gives a warning about not secure password storage). Otherwise enable the guest account on your Mac for network shares and add your destination folder to the list of shares in system settings.
Sent from my GT-I9195 using XDA Free mobile app

Success! Thank you, superkoal, for pointing the way. I was able to finally connect my Mac to my Fire TV.
The only bummer is the Backup program add-on still throws an error when I try and do a backup to my Mac. (I thought it might be a problem with using Dropbox as a backup location). But at least I'm finally connected, and that will certainly come in handy elsewhere.
Many thanks!

Could someone please post this method with more details for us newbs? The only method I have been able to figure out (and I've tried LOTS of guides and a parade of programs) is using SSHDroid and Yummy FTP on my Mac. Something is lacking here as if you send a large file it seems to hang at 2.14 GB and never complete. Don't know if that's a SSHDroid issue or not.
Wound up moving to es file explorer and have a more stable connection with no issues sending that large file. Guide is on my site as it's loaded with pictures. I can't post links so go to hackthatphone.com, click tutorials, click the fire tv icon and you'll see the short guide list I have.
My next goal: learning how to unmount and remount an external hard drive through a powered hub, if it's even possible....

Related

[Q] Copy one FTV to Another, possible?

I was wondering if it is possible to Copy over my flash drive from one FireTV to another one. I am buying 2 more for my house, have my first one set up perfectly with all the side loaded apps, XBMC and all of its settings. For XBMC I do have XBMC Backup - it doesn't remember a few things when I use the backup but it gets it mostly right. But loading all of this took me 1-2 hours.
Just wondering if there is an easier way to get my setup onto the other 2 new boxes.
Might be possible to do what you're trying to do with Titanium Backup, I know it runs on the FTV but I haven't used it for backing anything up yet.
Joemilwaukee said:
I was wondering if it is possible to Copy over my flash drive from one FireTV to another one. I am buying 2 more for my house, have my first one set up perfectly with all the side loaded apps, XBMC and all of its settings. For XBMC I do have XBMC Backup - it doesn't remember a few things when I use the backup but it gets it mostly right. But loading all of this took me 1-2 hours.
Just wondering if there is an easier way to get my setup onto the other 2 new boxes.
Click to expand...
Click to collapse
1.) Download and sideload SSH Daemon http://apps.evozi.com/apk-downloader/?id=web.oss.sshsftpDaemon on your configured amazon fire tv box
2.) run ftp client and connect to fire tv, using IP
3.) navigate in the android folder and copy the xbmc folder (SPMC com.semperpax.spmc, XBMC org.xbmc.xbmc) to your computer
4.) sideload SSH daemon on the new fire tv, install the same xbmc or spmc version that is one your first amazon fire tv
5.) use ftp client to connect to the new fire tv box and copy the folder from step 3 into the android folder of the new box.
mejdam said:
1.) Download and sideload SSH Daemon http://apps.evozi.com/apk-downloader/?id=web.oss.sshsftpDaemon on your configured amazon fire tv box
2.) run ftp client and connect to fire tv, using IP
3.) navigate in the android folder and copy the xbmc folder (SPMC com.semperpax.spmc, XBMC org.xbmc.xbmc) to your computer
4.) sideload SSH daemon on the new fire tv, install the same xbmc or spmc version that is one your first amazon fire tv
5.) use ftp client to connect to the new fire tv box and copy the folder from step 3 into the android folder of the new box.
Click to expand...
Click to collapse
He wants to backup everything, that could be slow as hell to do over again for every app he has. There are also much easier ways to backup XBMC settings. Titanium Backup should be able to let him backup/restore all his apps and their respective settings at one time.
0xi said:
He wants to backup everything, that could be slow as hell to do over again for every app he has. There are also much easier ways to backup XBMC settings. Titanium Backup should be able to let him backup/restore all his apps and their respective settings at one time.
Click to expand...
Click to collapse
Thank you! I will try Titanium Backup and let you know how it goes. Thanks for responding!
Hi - did you manage to do this with titanium?
I'm looking at doing this myself also. I've got one FTV set up exactly how did like it and want to copy apk's and all xbmc settings in one.

Firestick stream from NAS help

Hi;
I have set up my Firestick.
Sideloaded Kodi.
I want to be able to stream movies, etc. from the NAS to the TV and will it be possible to do it when away from home as I can do with my android phone?
When I go into setup on the stick, I see my network and then my Synology 212j NAS. I am using the windows (smb) function. When I click on the NAS, it gives me an error window. It does not connect.
I need specific directions on what to do. Is there a change on the NAS I need to make or a setting on the Firestick I need to change?
I can access the NAS from my computer, android phone, etc.
Thank you.
are u trying to add it in kodi?
firestick help
Yes. I am trying to add it into kodi. I have tried multiple ways with no success
your NAS has guest access disabled, you should add it manually in kodi.
in add video click browse, then in the list go down and add network location.
add your NAS manually in address field smb://your-nas-network-smb-name , then put the username and address and save it.
then go to the smb://your-nas and browse for your shared folders.
Firestick NAS help
Hi;
I have the amazon firestick.
I sideloaded Kodi 14.0 Helix,
It is connected on a 5G wifi with WPA2/PSK. /
I go to:
System / File manager / Add Source (A) / Browse / Scroll down to Windows network (SMB) /
When I click on it, it then shows my home workgroup, I click on it and it shows a printer, my "Diskstation, etc.
When I click on the Diskstation, I get an error pop up window that states, "Operation not permitted"
On an older laptop, on a non 5G network (because it will not see 5G), I can see the diskstation on the net work and log into it.
I'm sorry but I don't see the add video option that you mention. Any more specific path/info. would be appreciated.
Thank you for your help.
On main Kodi screen select Video then Files. Add videos. and browse to your NAS. Select NFS. You can rename it to your liking and access it the same way. Videos and Files. Don't try to add source through system.

[SCRIPT] Mount Samba/CIFS shares

I hacked up a script to mount a single Samba/CIFS share using adb shell directly on the firetv. This can be executed using any script manager (I use Rom Toolbox Pro's scripter) and if configured by your script manager it will in fact execute and mount the share on boot. If you have more than one share just use more than one copy of this script or feel free to hack it up yourself to extend it I am pretty much done with it at the moment but wanted to share.
Requires root and a script manager that can run scripts as root - also I have busybox installed on my firetv so that may be helpful as well.
https://github.com/mattgyver83/pyro
mattgyver83 said:
I hacked up a script to mount a single Samba/CIFS share using adb shell directly on the firetv. This can be executed using any script manager (I use Rom Toolbox Pro's scripter) and if configured by your script manager it will in fact execute and mount the share on boot.
Click to expand...
Click to collapse
Awesome! Any chance that games/apps could be run off of the mounted SMB share?
What is the purpose of this? Can you not just use an app like ES File Explorer or another SMB app to browse to a shared LAN folder?
Thanks.
tdfsu said:
What is the purpose of this? Can you not just use an app like ES File Explorer or another SMB app to browse to a shared LAN folder?
Thanks.
Click to expand...
Click to collapse
Unfortunately no. ES File Explorer lets you browse network shares but it does not let you mount them and this means that only ES File Explorer can see the contents no other application can see those files and that problem is two fold, not only is that because its not a feature of ES File Explorer but its because of the security implementation of Android even if they tryed to implement it. The purpose of this script is to mount the network share to a local folder on the filesystem so that within any application you can browse to that directory and see those network files so they can be used, this is GREAT if you have a device that has a small storage footprint like the FireTV and you are already sharing out files on your network.
onlinespending said:
Awesome! Any chance that games/apps could be run off of the mounted SMB share?
Click to expand...
Click to collapse
Sorry I thought I had already replied to this a few days ago but apparently I didnt hit submit or something. Yes, that is exactly what this script is for and for that use case it works very well.
Edit: Sorry, I incorrectly answered your question. You can't run or install android applications over the network with this but you can perhaps store data on your network and load it within the application. An example would be like installing an emulator on your firetv and browsing to a ROM share on your network and loading the rom over the LAN. It would be pretty complicated to execute games or applications and likely troublesome.
I think I get the basic idea but I have questions...
1. Will this make it possible for aftv to be seen in workgroup by my other devices or at least show up if added as a network share?(remembered I don't think android can be in workgroup)
2. If your aftv's external drive is already mounted with adbFire mount samba drives script, are there any potential conflicts? Busybox is installed through adbFire.
This is the last piece for me. Every xbmc device can connect to the others, all connect to server, but my 2 aftvs can't share local files over smb with any other devices or each other.
KLit75 said:
I think I get the basic idea but I have questions...
1. Will this make it possible for aftv to be seen in workgroup by my other devices or at least show up if added as a network share?(remembered I don't think android can be in workgroup).
2. If your aftv's external drive is already mounted with adbFire mount samba drives script, are there any potential conflicts? Busybox is installed through adbFire.
This is the last piece for me. Every xbmc device can connect to the others, all connect to server, but my 2 aftvs can't share local files over smb with any other devices or each other.
Click to expand...
Click to collapse
To answer your questions;
1. No, this doesn't implement samba which is what would make it seen on your network. The way that I personally achieve this on my firetv is by sideloading and running "Samba FileSharing", that will do exactly what your trying todo there.
2. Until you said that I had no idea that adbFire even offered this kind of feature and have never used it. I would have to play with it but assuming its doing things the same way then unless your using the same mountpoint then no there should be no issues.
edit: The adbFire thing intrigued me so I took another look at it - please correct me if I am wrong though. From what I gather it does not actually mount a network share, what it does is start a samba server to share out your attached USB drive as a network share. This is very different than what my script does as it just connects network shares to your fireTV locally. My answers remain the same then, it shouldn't hurt anything. What I think you are looking for is probably more along the lines of a Samba Server running on the FireTV and you would only require my script if you need the other fireTVs to be able to see the shared out files as if they resided locally on it for apps to use.
Hope that helps
mattgyver83 said:
To answer your questions;
1. No, this doesn't implement samba which is what would make it seen on your network. The way that I personally achieve this on my firetv is by sideloading and running "Samba FileSharing", that will do exactly what your trying todo there.
2. Until you said that I had no idea that adbFire even offered this kind of feature and have never used it. I would have to play with it but assuming its doing things the same way then unless your using the same mountpoint then no there should be no issues.
edit: The adbFire thing intrigued me so I took another look at it - please correct me if I am wrong though. From what I gather it does not actually mount a network share, what it does is start a samba server to share out your attached USB drive as a network share. This is very different than what my script does as it just connects network shares to your fireTV locally. My answers remain the same then, it shouldn't hurt anything. What I think you are looking for is probably more along the lines of a Samba Server running on the FireTV and you would only require my script if you need the other fireTVs to be able to see the shared out files as if they resided locally on it for apps to use.
Hope that helps
Click to expand...
Click to collapse
Thanks. I wish I could speak a little more confidently about it it but at this time I've got more to learn.
Yes. That's exactly what I want--aftv to act as a server just like my computers do. I didn't fully understand that function on adbfire so I did install 3rd party smb software on aftv. There was a conflict. I needed to uninstall the software. Now I can transfer files over sftp, I can ssh to aftv but my Mac won't connect to the smb://adbfire/USB/ I tried cifs as well. Adbfire's script DOES support this but I can't get it working with Mac. Normally I'd say user error but I'm not the only one who can't do it. And it doesn't work on the new aftv I just bought so definetly not something I messed up.
I hesitate just because adbfire uses the same binaries as one of the popular smb softwares on play store. So I don't want to potentially break things trying to make it better. But this would be a great feature to get working. I know, as you said, your script doesn't do that. But if I get samba working as it should your script might be useful.
Sorry. I'm probably just filling this with words that don't all apply. Apparently I could benefit from what your offering but not until I get samba working correctly. And I'd be appreciative for any info to get that going but it MIGHT be a little off topic here. Thanks a lot for the quick detailed response!
Hey no problems glad I could help get you sorted out, I'll PM you with some more specific information that I think you are after that should get you where you want to be.
mattgyver83 said:
Sorry I thought I had already replied to this a few days ago but apparently I didnt hit submit or something. Yes, that is exactly what this script is for and for that use case it works very well.
Click to expand...
Click to collapse
Perfect. Any chance you can share how you actually install Fire TV apps to the SMB share? This would be great given the limited internal storage
Any chance you can share how you actually install Fire TV apps to the SMB share?
Click to expand...
Click to collapse
I don't use it in that way I just use it for accessing my current network shares from within applications on the fireTV, that is about all this script is intended for. To be honest I don't even think the way that the script is mounting the shares and in order for it to work would have to be implemented at the lower android levels so it could even properly boot that way. Its for the best though, networks generally are not as reliable as direct disk IO so I would suggest sticking to using internal storage, possibly checking out one of the external USB methods, and then just using your shares to house large data so you can basically make the most of all of your storage along the way. Hope this helps.
Edit: I just wanted to add that I looked back at our conversation and I see how I made it seem that might be possible. Sorry I clearly did not answer your question correctly for some reason what I read and what you said were two very different things, I was of the mindset that you were asking about loading ROMs persay over the network from within an emulation app and I have no idea why I thought thats what you were asking. That is not what your asking, no this wont load android applications over the network - Ill edit that post to make that distinction clearer.
mattgyver83 said:
I hacked up a script to mount a single Samba/CIFS share using adb shell directly on the firetv. This can be executed using any script manager (I use Rom Toolbox Pro's scripter) and if configured by your script manager it will in fact execute and mount the share on boot. If you have more than one share just use more than one copy of this script or feel free to hack it up yourself to extend it I am pretty much done with it at the moment but wanted to share.
Requires root and a script manager that can run scripts as root - also I have busybox installed on my firetv so that may be helpful as well.
https://github.com/mattgyver83/pyro
Click to expand...
Click to collapse
Works for me, thanks
Hi Mr Richard Dean Anderson
Magyver or O'neil?
..does this ciffs method depend on having fire tv i.e. a fire tv OS/kernel
What i mean is, can this script, potentially, be used, to work on "any" android, or does this only work for fire tv specifically?
banderos101 said:
Hi Mr Richard Dean Anderson
Magyver or O'neil?
..does this ciffs method depend on having fire tv i.e. a fire tv OS/kernel
What i mean is, can this script, potentially, be used, to work on "any" android, or does this only work for fire tv specifically?
Click to expand...
Click to collapse
Looks like it should work for android where you can enable adb, must have root and busybox.
Thank you for the script. Got it working using your example, but with one caveat I can't figure out.
So here's what I was trying to accomplish using this. I have a large library in Kodi so I was going to move all the data to my NAS and point Kodi to it. I had originally moved everything to a usb disk but just preferred the NAS route. The share mounts to /mnt/obb/myfiles and if I'm logged in as 'su' I can see the directory inside myfiles. Problem is anything stored inside myfiles isn't viewable outside of 'su'. How do I setup the share to be viewable by the shell acct?

EZ File Explorer over Wired. Is there a way with latest rooted firmware?

With the latest rooted custom rom. One thing I've noticed is ez file explorer does not work unless on wifi. Has anything changed? Is there a way to make it work wired?
navigates said:
With the latest rooted custom rom. One thing I've noticed is ez file explorer does not work unless on wifi. Has anything changed? Is there a way to make it work wired?
Click to expand...
Click to collapse
Got 2 rooted aftvs, one wired and one WiFi and they both work...what'd you mean by work? Is it crashing? Can't enable root explorer?
I mean enabling ftp when wired it says enable wan. When on wifi it shows turn on.
I have the same question. Is it not possible on wired?
Panic84 said:
I have the same question. Is it not possible on wired?
Click to expand...
Click to collapse
It used to work in the earlier firmware. I'm on the latest version of the rooted amazon firmware. The one earlier to this, it worked just fine. I've made a few firetv's and have the same setup for everyone. My parents have the earlier firmware and on wired, ftp can be enabled. It has something to do with the firmware but can't pin point. I've since downloaded the ftp server from amazon (link below) and that works for now but I like EZ file explorer better.
http://www.amazon.com/gp/product/B00S48KP96/ref=oh_aui_d_detailpage_o00_?ie=UTF8&psc=1
Same issue. Anyone figured this out yet...?
tdfsu said:
Same issue. Anyone figured this out yet...?
Click to expand...
Click to collapse
I connect on WiFi and wired using the Lan tab. For stick I couldn't get it to work at all. Needed to use ftp server from play store.
Btw--before the update I used adbfire to mount smb drives and I could see sdcard and USB but now I can't see USB storage. There are ways to do it such as cyberduck on Mac and a sftp server on aftv (forgot the exact name of the app.) But would rather keep it simple.
I thought I tried the Lan tab. Will go back and check...
In the meantime, I installed 'Ftp Server Ultimate' onto my FTV from the Play Store and set it up to start the ftp server at boot and can connect to extUsb and internal. Works really well.
Another note, if u install AndFTP from the Play store to your phone and configure it to connect to your FTV ftp server, you can u use your phone file browser, like ES, to long press files on your phone, select share, and share the file to AndFTP and then select your FTV. Works awesome.
tdfsu said:
I thought I tried the Lan tab. Will go back and check...
In the meantime, I installed 'Ftp Server Ultimate' onto my FTV from the Play Store and set it up to start the ftp server at boot and can connect to extUsb and internal. Works really well.
Another note, if u install AndFTP from the Play store to your phone and configure it to connect to your FTV ftp server, you can u use your phone file browser, like ES, to long press files on your phone, select share, and share the file to AndFTP and then select your FTV. Works awesome.
Click to expand...
Click to collapse
I have Es on all my devices but find I get much faster transfers over Lan so I use that except on stick where I can't get ftp to work without the ftp server installed.
****actually I might've unintentionally misled you about the lan connection. I've just been using it so long I forgot. I have funkyfresh samba installed on both boxes and pretty sure that's why the Lan tab works in ES. You need root for that (I'm pretty sure you do anyways).
Ok thanks. Yes, I have root and I dont use wifi with FTV. Im not using samba...but that would make sense. Guess we're outa luck with ES and ftp...no biggie. I like the FTP Server Ultimate setup tho.

Banging my head--WHY is AFTV automatically moving data?

I'm really confused so I'll try to provide details I can recall...
My AFTV gen 1 with OS5 kodi install was a little glitchy so eventually wound up doing a clean install.
This came AFTER MANY attempts to preserve my data.
The last 2 times I tried this I completely wiped every bit of kodi data I had on internal and USB. I installed kodi Jarvis.
The 1st time I scanned sources and it populated fine. But when I exit kodi then relaunch it I'm greeted with what looks like a blank install!
To sum up, it appears like when I exit Kodi it sends Kodi data to my usb BUT there are no settings in place to actually read that data so Kodi is blank.
Last time I made certain to remove everything. Then I took my sources.xml from my other aftv (same setup) and moved it to the problem aftv. I start up kodi, all seems fine--my movies and TV shows are there. I exit and POOF! Its gone again. If I delete my kodi data from usb drive Kodi works again but when I exit it repeats the cycle.
I'm stumped. Any help is appreciated. Thanks
***I think the issue would be resolved if someone could just tell me why data keeps exporting to my usb drive. I keep deleting it but Kodi winds up back on my usb once I exit.
http://kodi.wiki/view/HOW-TO:Change_data_location_for_Android
This took 5 seconds on google.
Backing up Kodi is as simple as copying over the userdata folder, btw. If you don't know how to copy files, learn to use adb and get to know the filestructure of kodi a bit better using a file explorer on the Fire TV. Or just use a File explorer and copy the userdata folder to a networkdrive (Total commandar f.e. has a lan plugin), or a usb stick, or... If you don't know what a folder is... Try to learn that as well...
harlekinwashere said:
http://kodi.wiki/view/HOW-TO:Change_data_location_for_Android
This took 5 seconds on google.
Backing up Kodi is as simple as copying over the userdata folder, btw. If you don't know how to copy files, learn to use adb and get to know the filestructure of kodi a bit better using a file explorer on the Fire TV. Or just use a File explorer and copy the userdata folder to a networkdrive (Total commandar f.e. has a lan plugin), or a usb stick, or... If you don't know what a folder is... Try to learn that as well...
Click to expand...
Click to collapse
I appreciate the help but Ive been using Kodi since Frodo and aftv gen 1 since June 2014. Ive been through numerous kodi versions and never has the aftv just defaulted to moving all the data to usb...
In fact Im pretty sure it doesn't because theres methods available specifically for aftv to properly move data to usb.
I have to take a closer look at my other aftv. Its running the same kodi version.
***Btw my bandaid was to remove my usb stick and copy sources.xml from my other aftv. It works fine but of course not having external storage isnt a good option.

Categories

Resources