XBMC crashes when scanning / scaping movie folder - Fire TV Q&A, Help & Troubleshooting

XBMC always crashes when trying to scan movie folders. This happened to Gatham 13.1, 13.2 as well as SPMC. I have seen other people reporting the same issue and it seems there are some common conditions when this happens:
1. Connection over wifi,
2. access through SMB,
3. using movie scraper (no issue if using series scraper)
4. to folder with secondary sub-folder.
The issue is gone if secondary sub-folder is removed, or change the file accessing protocol from SMB to SSH.

shadowcliffs said:
XBMC always crashes when trying to scan movie folders. This happened to Gatham 13.1, 13.2 as well as SPMC. I have seen other people reporting the same issue and it seems there are some common conditions when this happens:
1. Connection over wifi,
2. access through SMB,
3. using movie scraper (no issue if using series scraper)
4. to folder with secondary sub-folder.
The issue is gone if secondary sub-folder is removed, or change the file accessing protocol from SMB to SSH.
Click to expand...
Click to collapse
My issue was with this:
1.- Ethernet cable connection
2.- Access through SMB
3.- Movie screper (no issue if using series scraper)
I was on spmc and kodi. I uncheck and delete subfolders and the special characters and diacritics from filenames [/รก...
Now it works.

After switching from SMB to NFS to access file on my Synology NAS, xbmc wont crash any more when scraping movies.
Therefore, this must have something to do with Synology's SMB, or related settings.

My system doesn't seem to crash, but it takes a lifetime to gather a movies information via a SMB share.
Is there anyway to speed this up ?

theINSKIP said:
My system doesn't seem to crash, but it takes a lifetime to gather a movies information via a SMB share.
Is there anyway to speed this up ?
Click to expand...
Click to collapse
Depends on your setup. SMB works fine for my with wired connection and 3 different drives with videos.
From my understanding NFS is faster. I just haven't found a good free nfs server for Windows though. I tried haneWIN, and it worked great performance on my Rpi was better, just didn't want to put anymore money into my setup.
If someone knows a good free nfs server for windows please do share.

Related

Accessing shared files on PC wirelessly. Possible?

Hey guys,
tried to find some other thread about this topic but didn't find anything related. i have also googled it and nothing came up, or at least useful.
thing is: considering that today many computer media players such as itunes, winamp and even ms's windows media player itself have builtin media sharing capabilities for videogame consoles (wii, psp, ps3, xbox) and nokia mobile phones (NSeries)... is this really possible that there's no application for windows mobile capable of doing the same?
if so, please post their names, i'm sure some other folks might be after this too. otherwise, guys give me a hand with creativity to work around efficiently. to get that the user should be able to access library, play and skip tracks as long as they are in the same wi-fi network.
lol is it that too much?
Not too much to ask really, and it has been answered if you did a little search. Depends on what ROM you use, what file explorer you use etc .. but if you follow this post you should be fine. Works for me!
If ya use Resco Explorer as file manager, network shares can be viewed from WLAN.
gomax said:
If ya use Resco Explorer as file manager, network shares can be viewed from WLAN.
Click to expand...
Click to collapse
Totally!! Same here man!!
Yep, you can also install the Network Plugin, map the drives and add the files into your media player.
You can also run videos from the network without problems, just make sure you have the codecs.
you see... that's what i'm talking about, accessing files on a shared folder is easy, i could even install IIS on my computer and then access files via HTTP on a home network but this is not worth.
media sharing is the answer cause the library updates itself automatically cause that's all it's need. on a tap you have all your songs, videos and pictures just as if they were there. and the best of all, just one single application.
working with shared folders is always a pain and you have to open various applications to get the things done...
a media player that would automatically scan shared folders could be an option...
Yeah, it is possible.
If you run Network Plugin, find the shared folder with your music and map it.
You can go to (in my case, Pocket Music), go to options then Load, and there you can specify what folder(s) will be the ones that will come up as a playlist, in this case, your shared folder with music.
So everytime you open Pocket Music, the files that are stored on your pc's music folder, will display on your media player.
And you will play them without problem.
SlakerBoi said:
you see... that's what i'm talking about, accessing files on a shared folder is easy, i could even install IIS on my computer and then access files via HTTP on a home network but this is not worth.
media sharing is the answer cause the library updates itself automatically cause that's all it's need. on a tap you have all your songs, videos and pictures just as if they were there. and the best of all, just one single application.
working with shared folders is always a pain and you have to open various applications to get the things done...
a media player that would automatically scan shared folders could be an option...
Click to expand...
Click to collapse
I know what you mean about running a media server. I do this with media player 11, and access it from my xbox and roku soundbridge. I don't know of any ppc software which will access the media server though.
I should imagine that an audio player which scanned shared folders to build a library would take some time to scan my 18000 tracks on my pc.
jez83uk said:
I know what you mean about running a media server. I do this with media player 11, and access it from my xbox and roku soundbridge. I don't know of any ppc software which will access the media server though.
I should imagine that an audio player which scanned shared folders to build a library would take some time to scan my 18000 tracks on my pc.
Click to expand...
Click to collapse
that's exactly what i think. i have an xbox original converted in media centre that takes ages to scan my entire library, i wonder what would be using a shared folder in my phone and i have just over 3000 tracks.
i'm waiting to get a wireless router to start playing with it, the tests i tried to run using an ad-hoc connection were all a pain in the butt...
well, let's see... still open for ideas.

Xbmc Torrents on AFT

Has anyone installed xbmc-torrents on Amazon Fire Tv and experienced any problems? Thx
athosk said:
Has anyone installed xbmc-torrents on Amazon Fire Tv and experienced any problems? Thx
Click to expand...
Click to collapse
Works perfectly fine for me
Sent from my Nexus 5 using XDA Free mobile app
athosk said:
Has anyone installed xbmc-torrents on Amazon Fire Tv and experienced any problems? Thx
Click to expand...
Click to collapse
I have che following setup.
Rooted ftv. Xbmc 13.1. Stick mount to connect an external HDD.
Xbmctorrent is configured to save stuff on a subdir in the HDD. It works fine for TV series episodes. Yesterday night I tried with a movie and had two times the fire TV to completely crash after something like 15 minutes watching. I guess this might be related to having downloaded a file which is larger than a certain threshold. The first time it crashed I also got scared because it was stuck in the Amazon black screen without any sign of life. I removed power for a while to have it start back.
I am watching a TV episode now and it seems fine.
The other issue I experienced is sometimes getting the Xbmctorrent script failed. Not on eztv though, I guess this is related on how they handle individual sources.
Any help or other experiences?
Do you guys also know a better way integrated in xbmc to pick up a torrent to be downloaded and then watch it later, rather than immediately streaming?
I have two AFTV with XBMC 13.1 and xbmctorrent.
I never had issues with any files over 4gb. I mounted a usb flash drive (NTFS formatted) with stickmount, but I don't use that for xbmctorrent. I have xbmctorrent buffer up on the AFTV internal memory.
Shinyhead said:
I have two AFTV with XBMC 13.1 and xbmctorrent.
I never had issues with any files over 4gb. I mounted a usb flash drive (NTFS formatted) with stickmount, but I don't use that for xbmctorrent. I have xbmctorrent buffer up on the AFTV internal memory.
Click to expand...
Click to collapse
This is really interesting. I wonder why I have so serious issues.
Yesterday I tried with a TV show, and it was stopping the reproduction immediately after starting, even though the download had no problems at all! After tried a few times, I had again the most disruptive crash with AFTV stuck on the black screen with white amazon logo. After that, I decided to uninstall the plugin.
Any suggestion?!
bastXda said:
This is really interesting. I wonder why I have so serious issues.
Yesterday I tried with a TV show, and it was stopping the reproduction immediately after starting, even though the download had no problems at all! After tried a few times, I had again the most disruptive crash with AFTV stuck on the black screen with white amazon logo. After that, I decided to uninstall the plugin.
Any suggestion?!
Click to expand...
Click to collapse
Try not putting any path for the download field in xbmctorrent, so it will use the internal memory to download on.
XBMCTorrent
This issue is happenning to me as well, I have toyed with all the options\save pathes possible, nothing seems to fix it.
I also opened an Issue on XBMCTorrent's Gibhub and Stream (a fork of this addon) but no help yet.
This is my favorite addon and it's a total deal-breaker for me about the AFTV
I really hope someone will find a fix for this...
Is there a difference between xbmc torrent and an android based torrent client?
Sent from my SM-G900A using XDA Premium 4 mobile app
Dragracekid said:
Is there a difference between xbmc torrent and an android based torrent client?
Sent from my SM-G900A using XDA Premium 4 mobile app
Click to expand...
Click to collapse
the difference is xbmc isnt a regular torrent addon. Its used only to stream/seed movies. you cant load a regular torrent file and expect it to download.
Oh ok cool thanks
Sent from my SM-G900A using XDA Premium 4 mobile app
I think the solution is simple.....uninstall XBMC and install SPMC (XBMC for Ouya). Alot more stable and dosnt keep the data stuck in memory.
You can get it here
https://github.com/koying/SPMC/releases/download/13.2.1-spmc/spmc-armeabi-v7a_13.2.1.apk
athosk said:
I think the solution is simple.....uninstall XBMC and install SPMC (XBMC for Ouya). Alot more stable and dosnt keep the data stuck in memory.
Click to expand...
Click to collapse
Is there evidence of better behavior of SPMC on AFTV than regular XBMC? I just went to the official XBMC, but maybe I did the wrong choice! Is it possible to install it without losing all the preferences over current XBMC?
I'm using the xbmc with the launcher mod, and last night got the xbmctorrent to sort of work. It was making my firetv unstable, I had at least two blackscreens while using it.
I'm not on the latest xbmc but am on the latest torrent plugin, but at this point I'm not inclined to keep chasing the plugin too often, neat as it is when it works.
bastXda said:
Is there evidence of better behavior of SPMC on AFTV than regular XBMC? I just went to the official XBMC, but maybe I did the wrong choice! Is it possible to install it without losing all the preferences over current XBMC?
Click to expand...
Click to collapse
the older version of spmc works the best.
load the apk on post 9
http://forum.xda-developers.com/showpost.php?p=54237038&postcount=9
I have personally tried XBMC on all available platforms (Apple TV, Ipad, Windows 8.1, Android minix, Android tv box wih quad core processor and 8core graphics card capable of 4K output). Best one i think is windows.....it would be apple tv but that only gives 720p output.
Now, with Amazon, XBMC torrents somehow data is being saved somewhere and if you look at the screen before launching it, you will notice that the data file keeps getting bigger and at some point that would create a problem as AFT has only 8 GB memory.
With SPMC, I haven't really seen any increaments on the data file size...i wil keep you posted in the next few days if i notice any change
I've been seeing many of the issues with xbmc torrent that I've heard reported from others - problems downloading, issues where, once a stream gets into enough trouble, the box itself resets, very long initial load times.
I thought I was giving up on it, but I was curious and decided to look into what I was seeing.
Once things get bad enough that the FTV bombs out, I also noticed that I needed to reset my firewall to get anything going on the internet in the house - aside from things that were running before I started xbmc torrent.
I took a look, and my firewall has an 8064 session limit. What I'm seeing is that I need to limit how many sessions a single client can spin up. The xbmc torrent plugin is insanely chatty, and it was exhausing my session pool!
When things got to their worst, I wasn't able to get DNS moving and when I dug in, I found that what I was seeing was that I couldn't translate the DNS requests from my lan. (In some ways, the firewall I'm using is a gynormous pain in the butt - it'd be nice if I had more than 8k outbound translations - but it makes up for it with truly epic diagnostic info.)
So, it's worth trying to see if there's a way limit the number of connections a client on your network can establish. I'm getting decent performance and still having resources available to other systems using a 512 session limit.
My impression on the FTV rebooting is that once DNS was unavailable, other services I was trying to run were crapping out, taking the OS with them.
XBMCTorrent
athosk said:
I think the solution is simple.....uninstall XBMC and install SPMC (XBMC for Ouya). Alot more stable and dosnt keep the data stuck in memory.
You can get it here
https://github.com/koying/SPMC/releases/download/13.2.1-spmc/spmc-armeabi-v7a_13.2.1.apk
Click to expand...
Click to collapse
mejdam said:
the older version of spmc works the best.
load the apk on post 9
http://forum.xda-developers.com/showpost.php?p=54237038&postcount=9
Click to expand...
Click to collapse
I have tried XBMC 13.1 official, BeyondXBMC, XBMC For Ouya and SPMC.
In all of them the plugin had made my XBMC go crazy and eventually reboot the entire Fire TV, on some occasions even corrupted my XBMC Skin settings somehow.
athosk said:
I have personally tried XBMC on all available platforms (Apple TV, Ipad, Windows 8.1, Android minix, Android tv box wih quad core processor and 8core graphics card capable of 4K output). Best one i think is windows.....it would be apple tv but that only gives 720p output.
Now, with Amazon, XBMC torrents somehow data is being saved somewhere and if you look at the screen before launching it, you will notice that the data file keeps getting bigger and at some point that would create a problem as AFT has only 8 GB memory.
With SPMC, I haven't really seen any increaments on the data file size...i wil keep you posted in the next few days if i notice any change
Click to expand...
Click to collapse
roustabout said:
I've been seeing many of the issues with xbmc torrent that I've heard reported from others - problems downloading, issues where, once a stream gets into enough trouble, the box itself resets, very long initial load times.
I thought I was giving up on it, but I was curious and decided to look into what I was seeing.
Once things get bad enough that the FTV bombs out, I also noticed that I needed to reset my firewall to get anything going on the internet in the house - aside from things that were running before I started xbmc torrent.
I took a look, and my firewall has an 8064 session limit. What I'm seeing is that I need to limit how many sessions a single client can spin up. The xbmc torrent plugin is insanely chatty, and it was exhausing my session pool!
When things got to their worst, I wasn't able to get DNS moving and when I dug in, I found that what I was seeing was that I couldn't translate the DNS requests from my lan. (In some ways, the firewall I'm using is a gynormous pain in the butt - it'd be nice if I had more than 8k outbound translations - but it makes up for it with truly epic diagnostic info.)
So, it's worth trying to see if there's a way limit the number of connections a client on your network can establish. I'm getting decent performance and still having resources available to other systems using a 512 session limit.
My impression on the FTV rebooting is that once DNS was unavailable, other services I was trying to run were crapping out, taking the OS with them.
Click to expand...
Click to collapse
This is very interesting!
I have tried various combonations of this plugin (keep torrents, trying to save to SMB share, to Disk on Key, changing File Systems [exFAT,fat32,ntfs] and nothing seemed to work).
I have never thought of it as a network problem...
It works so good on my Windows PC and my Android Mini PC...
Maybe someone can post a way to limit the connections?
Thanks
Yeah maybe you are on the right track. My xbmctorrent also crashes quite oftenly and makes my firetv to reboot. It's very annoying.
Enviado de meu GT-N7100 usando Tapatalk
KillerJoeBR said:
Yeah maybe you are on the right track. My xbmctorrent also crashes quite oftenly and makes my firetv to reboot. It's very annoying.
Enviado de meu GT-N7100 usando Tapatalk
Click to expand...
Click to collapse
Same for me.
Has anyone gotten the stream plugin to work? It's being actively developed and is apparently a fork of the xbmc torrent code.
I'm unable to get it to run, either on ftv or on a tablet, and the diagnostic logging doesn't say much to me.
My firewall supports outbound rules that apply per host, and the values it takes are sess-limit per-src-ip <number>
Probably you can do something similar in one of the open source dd-wrt platforms. There's an interesting discussion of advanced config of those at http://markmaunder.com/2011/01/26/h...-your-room-mate-or-bad-office-colleague-uses/ - but it doesn't cover sessions, but rather total per-address or per-network bandwidth. (Which I've also had set up to deal with aftv chewing up everything it can when I need to have a few hundred low-latency kilobits to reach the office - it's challenging to apply QoS to inbound, simpler to drop everything over a cap that's trying to reach a host. I unset those rules before trying xbmctorrent.)
I have the impression that xbmctorrent, at least, has its own torrent client built in. And although I've seen a configuration in the system / network menus that lets you define a proxy for xbmc to use, I haven't seen a similar config for global torrent settings.
Many standalone torrent clients have a lot of controls over maximum connections, in addition to upload/download speeds, etc.
I haven't looked to see whether a standalone torrent client, or one of the various torrent plugins for xbmc, might be able to give one systemwide control over session initiation, session timeout and session number - applying some settings that xbmctorrent would need to respect, in essence.
I suspect that they'd make it harder to use if they were able to control those things, though - xbmctorrent is doing something pretty unusual: it's polling a swarm of peers (into the thousands) and asking not just 'who has the file' but 'who has this specific piece of the file starting at time X'
It would be nice if those kinds of advanced network settings were available in the configuration of one of these video on demand torrent clients, though

[Q] Samba shared folder to AFTV XBMC

I recently tried to mount a samba shared folder from my router to my AFTV, I can mount it and start playing videos, but only for a few minutes then freeze with seeking displayed. Anyone familiar with this issue or should I start looking at the router even though I don't have any issues with a PC playing those videos.
Thanks in advance!
I have several SMB shares setup and they are working just fine. My shares are on a separate PC though, not on/directly attached to the router. Have you tried setting up a share on another PC to try to isolate the issue?

[Q] FTV : XBMC / SPMC :: Video playback stops in seconds (Workaround available)

Friends,
I just got a new AFTV and trying to run XBMC but playback is just not working. I have a Gigabit wired connection and most MKVs start playing quickly with sound, but then stop in few seconds. Some run for 25 seconds and others (usually the larger MKVs) freeze and then quit under 10 seconds. Tried disabling hardware acceleration completely as well as with/without below network settings but nothing worked -
<buffermode>1</buffermode>
<readbufferfactor>10</readbufferfactor>
<cachemembuffersize>52428800</cachemembuffersize>
Did a factory reset of FTV and ran XBMC with default settings and just 1 video file but didn't help. The same files (shared in Drobo) work great on my HTPC (XBMC). Tried Kodi Alpha and SPMC with video acceleration changes as well but no go.
Here is the log with mediacodec off and then on. All other apps work very well and it's otherwise smooth so want to keep it but I got it primarily for XBMC.
Thanks for any suggestions / pointers.
10/28/2014 Update: See the last post for workaround.
Am I missing something obvious? With so many people successfully running XBMC on FTV there must be something odd in my environment.
Only thing I can think of is maybe a network issue playing off your drobo that the aftv doesn't like. Do files play properly from a local folder copied onto the aftv?
Other than that, there is a known issue with one particular firmware and xbmv, but I don't think that's the case here, Check aftvnews.com for a post about it.
Last suggestion would be to check http://kodi.wiki/view/Amazon_Fire_TV and follow everything there. It was fairly trivial to get it working, so it's odd it's not working for you.
Good luck.
eskay993 said:
Only thing I can think of is maybe a network issue playing off your drobo that the aftv doesn't like. Do files play properly from a local folder copied onto the aftv?
Other than that, there is a known issue with one particular firmware and xbmv, but I don't think that's the case here, Check aftvnews.com for a post about it.
Last suggestion would be to check http://kodi.wiki/view/Amazon_Fire_TV and follow everything there. It was fairly trivial to get it working, so it's odd it's not working for you.
Good luck.
Click to expand...
Click to collapse
Thanks eskay. I too thought it might be Drobo or network related due to the below error in the log -
ERROR: virtual unsigned int XFILE::CSmbFile::Read(void*, int64_t) - Error( -1, 110, Connection timed out )
Installing nfs 1.2.8 as we speak. If that doesn't work will try USB drive and report.
I think I found the problem. Couldn't get NFS to work on Drobo yet but XBMC on FTV works perfectly when I share a directory from my HTPC. So, it's clear that Drobo is the culprit. The HTPC share uses SMB too (Windows 8.1) so it's not specifically to SMB, maybe Drobo's implementation of SMB ...
Couldn't get NFS to work with XBMC on FTV Sad Installed NFS on Drobo 5N and my HTPC can see the directories shared from XBMC (Windows) but not XBMC on FTV. It can see the shared directory (/mnt/DroboFS/Shares/Public) not the files/folders under it. Possobly a bug in NFS code in XBMC for Android and that makes me wonder whether it's really Drobo, or XBMC for Android on FTV ...
An update in case anyone else encounters the same problem with this combination of FTV / Drobo 5N/ Netgear Nighthawk. I couldn't resolve SMB issue and nfs didn't work with XBMC on FTV properly either. I tried SFTP but it was too slow and was buffering too frequently.
I then installed lighttpd with simple directory listing on Drobo and set up XBMC to use HTTP Directory and it worked perfectly. Playback is smooth and I can skip to next chapter without any noticeable delay. Only issue is that I can't delete the files on Drobo. I am going to try WebDAV next but it's not a big issue as I can always remove the watched files from my HTPC, which connects using SMB.
I can watch 3D BluRay ISOs with just acceleration set to "software" and that shows FTV's processing power! Overall I am very happy with XBMC on FTV.

Mount NAS (Drobo 5N) as Source in Kodi

I have a Drobo 5N as a NAS with all of my media on it. For the life of me, I can't get Kodi to mount it as a source. I am able to see the Drobo in the list of servers but I can't get past that point. I have disabled any security on the folder share and I have also tried to manually add the SMB share with the IP address of the device but haven't had any luck. There are other protocols that can be used but I'm not sure if it should be that difficult, nor do I know how to use the other protocols. I am able to see and access my PC shares just fine. Does anybody have any ideas?
I am a newbie to Kodi and I am beyond excited to get this working. I have been using a WDTV Live Streaming Media Player for many years and this is going to take my movie experience to a whole new level if I can get it working. Any help is appreciated!
Anyone? I'm dying to get this thing working. I've had a small taste of what Kodi can do by connecting it to my PC but I need to connect it to my NAS. I'm so close but so far!
Sent from my SM-G900P using XDA Free mobile app
Simply use the following connection:
smb://droboIP/share_name
Mine was smb://192.168.1.100/movies
Error message
zb870421 said:
Simply use the following connection:
smb://droboIP/share_name
Mine was smb://192.168.1.100/movies
Click to expand...
Click to collapse
I keep getting "Error - Connection timed out" even though I have a hardwired Ethernet connection! Can you help?
I don't have a Drobo 5N. I have a Synology unit. SMB was way too problematic. I use NFS instead and it works much nicer. I don't know how easy/difficult it will be to set up on your NAS.

Categories

Resources