MrMackey 26 Posted January 29, 2022 Share Posted January 29, 2022 Thanks @rbjtech for your research to get Direct File Access working again! I hope it will be possible again soon. Link to comment Share on other sites More sharing options...
ebr 14912 Posted January 30, 2022 Share Posted January 30, 2022 19 hours ago, rbjtech said: Hi @ebr I'm sure you have seen this - but could the 'All Files' configuration detailed on the link below be what we need ? https://developer.android.com/training/data-storage/manage-all-files Explicitly : I'm not an Android Developer - so apologies if it's a lot more complex than this - we just want to try and help to resolve this .. But there is no reason that an app that just wants to read files should have to be granted permissions to manage files. This implies that the app will be able to delete and move files around which is not correct. As an end user, I would never enable that for a playback app. The bottom line here is - this option is not really necessary for probably 99% of users (and maybe even 100%). And, with its current performance, it is a detriment. So, unless that gets corrected by an Nvidia update fairly quickly, the option will just go. Sorry. Link to comment Share on other sites More sharing options...
adamsuail 6 Posted January 30, 2022 Share Posted January 30, 2022 10 minutes ago, ebr said: But there is no reason that an app that just wants to read files should have to be granted permissions to manage files. This implies that the app will be able to delete and move files around which is not correct. As an end user, I would never enable that for a playback app. The bottom line here is - this option is not really necessary for probably 99% of users (and maybe even 100%). And, with its current performance, it is a detriment. So, unless that gets corrected by an Nvidia update fairly quickly, the option will just go. Sorry. We do need the file management option, I like to delete my legal content after watching it and am sure am not the only one. For xplore, I gave write access to NAS as below. Menu>Apps>special app access> Nas storage access....then I was able to delete files off samba share . Link to comment Share on other sites More sharing options...
ebr 14912 Posted January 30, 2022 Share Posted January 30, 2022 2 minutes ago, adamsuail said: We do need the file management option, I like to delete my legal content after watching it and am sure am not the only one Hi. The app does not perform delete operations. Your server does so the app does not need permissions to modify your file system. Link to comment Share on other sites More sharing options...
FrostByte 5049 Posted January 30, 2022 Share Posted January 30, 2022 (edited) 24 minutes ago, ebr said: But there is no reason that an app that just wants to read files should have to be granted permissions to manage files. This implies that the app will be able to delete and move files around which is not correct. As an end user, I would never enable that for a playback app. The bottom line here is - this option is not really necessary for probably 99% of users (and maybe even 100%). And, with its current performance, it is a detriment. So, unless that gets corrected by an Nvidia update fairly quickly, the option will just go. Sorry. SMB doesn't work though if you don't have that option. X-plore and VLC also don't work without that option. See my pics below "Allow all the time" smb playback works as you you can see the words smb next to my Media share However, if I change permissions to "Allow while using the app" smb doesn't work Also, when you turn on "Allow all the time" a big prompt comes up asking if you want to grant the app permissions Edited January 30, 2022 by FrostByte Link to comment Share on other sites More sharing options...
FrostByte 5049 Posted January 30, 2022 Share Posted January 30, 2022 There must be some link between SMB and that option because it has to be enabled for other apps like X-plore and VLC to use SMB. Link to comment Share on other sites More sharing options...
adamsuail 6 Posted January 30, 2022 Share Posted January 30, 2022 20 minutes ago, ebr said: Hi. The app does not perform delete operations. Your server does so the app does not need permissions to modify your file system. We are not on the same page. 1 Link to comment Share on other sites More sharing options...
vdatanet 1549 Posted January 30, 2022 Share Posted January 30, 2022 Just now, adamsuail said: We are not on the same page. That action deletes the file at server level. You can do that even without having acess to the file at client side. Link to comment Share on other sites More sharing options...
ebr 14912 Posted January 30, 2022 Share Posted January 30, 2022 16 minutes ago, vdatanet said: That action deletes the file at server level. You can do that even without having acess to the file at client side. Correct. The app does not need direct file permissions for this operation. This is nothing new and not impacted at all by what is being discussed here (direct file access for playback). 1 Link to comment Share on other sites More sharing options...
Riggs 300 Posted January 30, 2022 Share Posted January 30, 2022 Okay, After read all pages, I will doing some test today, I leave the report tomorrow Thanks for all tips and test Link to comment Share on other sites More sharing options...
ebr 14912 Posted January 30, 2022 Share Posted January 30, 2022 37 minutes ago, FrostByte said: SMB doesn't work though if you don't have that option. You are making a bit of a leap of logic assuming that the "Allow all the time" option is at all related to the FILE_MANAGEMENT permission. I don't think it is. I believe the apps that are showing the "Allow all the time" option have been compiled to a different (lower) API level than the ones that do not. 1 Link to comment Share on other sites More sharing options...
FrostByte 5049 Posted January 30, 2022 Share Posted January 30, 2022 44 minutes ago, ebr said: You are making a bit of a leap of logic assuming that the "Allow all the time" option is at all related to the FILE_MANAGEMENT permission. I don't think it is. I believe the apps that are showing the "Allow all the time" option have been compiled to a different (lower) API level than the ones that do not. It might be possible smb is required in order to use FILE _MANAGMENT though. For some reason I don't believe Emby is requesting or has permission to request an SMB2/3 connection and the only reason it works for me after 60 seconds is that it sees another smb connection and jumps on it. It's sort of like Jurassic Park when the guy says somehow Mother Nature finds a way. 2 Link to comment Share on other sites More sharing options...
rbjtech 4260 Posted January 31, 2022 Share Posted January 31, 2022 14 hours ago, ebr said: You are making a bit of a leap of logic assuming that the "Allow all the time" option is at all related to the FILE_MANAGEMENT permission. I don't think it is. I believe the apps that are showing the "Allow all the time" option have been compiled to a different (lower) API level than the ones that do not. As I said, I'm not an Android Developer, so if you could confirm this is not required - then we will start lobbying Nvidia directly to fix your Emby App. They will I presume, need to discuss with you directly as we obviously don't have the source code - Are you ok for us to lay the groundwork with Nvidia ? Link to comment Share on other sites More sharing options...
Riggs 300 Posted January 31, 2022 Share Posted January 31, 2022 My report: I had no luck My stream still http and not file. I turned on or off the settings of the APP on Android side. I'm over OMV SMB/CIFS. My server is not very powerful but still is a i7 6700k with 32GB RAM, nor graphic card and no transcode settings on, all my content is curated for direct play in my devices and personal network. I have no raid yet because $$$ However I use 10 HDD's between 18 - 10TB over Open Media Vault SMB/CIFS I have no delay, just 5 seconds because I use the "match refresh rate ON" and with that feature turned ON it always take around 4-5 seconds to start. Without that feature nevermind if I use the direct path or not, I have no delays at start... However for fast forward and heavy original 4K content direct path works faster. So, my only problem is http with or without direct path ON or OFF Link to comment Share on other sites More sharing options...
rbjtech 4260 Posted January 31, 2022 Share Posted January 31, 2022 19 minutes ago, Riggs said: However for fast forward and heavy original 4K content direct path works faster. tbh I haven't actually tried this - I've been focussing on the 'start' timings - so you may have a very good point. What is the difference during FF/RWD and chapter navigation for example vs the previous SMB (Direct FILE) response ? I'll do some tests myself later on tonight .. Link to comment Share on other sites More sharing options...
ebr 14912 Posted January 31, 2022 Share Posted January 31, 2022 2 hours ago, Riggs said: However for fast forward and heavy original 4K content direct path works faster How do you know that when you cannot get the direct path working with the current Nvidia firmware? How long does it take to FF using the http method with the new firmware? Link to comment Share on other sites More sharing options...
ebr 14912 Posted January 31, 2022 Share Posted January 31, 2022 6 hours ago, rbjtech said: Are you ok for us to lay the groundwork with Nvidia ? Sorry, no because, as I've stated multiple times, I am not prepared to spend a lot of time on this particular feature at this point. There are much more important things to spend time on. Link to comment Share on other sites More sharing options...
Audiomixer 328 Posted January 31, 2022 Share Posted January 31, 2022 This isn’t something nvidia will fix for Emby when I’ve submitted logs in the past. They simply state state fixing the Emby app is up to Emby as other apps have done. 1 Link to comment Share on other sites More sharing options...
Riggs 300 Posted February 1, 2022 Share Posted February 1, 2022 19 hours ago, ebr said: How do you know that when you cannot get the direct path working with the current Nvidia firmware? How long does it take to FF using the http method with the new firmware? It works how I said, but it reports http in stats for nerds, and not how file, but the difference is there. I did the re-check and yes the FF is faster when the APP is set to direct path, nevermind if change or not the Android settings. I can't tell you why, you're the programmer, I'm just an user reporting for you. 2 Link to comment Share on other sites More sharing options...
ebr 14912 Posted February 1, 2022 Share Posted February 1, 2022 5 hours ago, Riggs said: but it reports http in stats for nerds The display is correct. The direct file access is no longer working for you with the Shield firmware update. 5 hours ago, Riggs said: I did the re-check and yes the FF is faster when the APP is set to direct path Any difference you saw was coincidental and unrelated to the setting since, no matter how you set that setting, it is playing back via http. 1 Link to comment Share on other sites More sharing options...
lightsout 144 Posted February 1, 2022 Share Posted February 1, 2022 Should I avoid this update still, I run Emby server on an external PC, are these issues only for those running it on the Shield? Link to comment Share on other sites More sharing options...
GrimReaper 3291 Posted February 1, 2022 Share Posted February 1, 2022 23 minutes ago, lightsout said: Should I avoid this update still, I run Emby server on an external PC, are these issues only for those running it on the Shield? It affects AndroidTV client app on Shield, regardless of your server platform. If you haven't utilized DFA till now, you'll see no change and can safely update. 1 Link to comment Share on other sites More sharing options...
FrostByte 5049 Posted February 1, 2022 Share Posted February 1, 2022 I would sign up for the hotfixes also, but other than DFA I'm not seeing any issues with the current ATV beta which may have been caused by Android 11. Link to comment Share on other sites More sharing options...
adamsuail 6 Posted February 2, 2022 Share Posted February 2, 2022 Just sharing my best workaround for the direct file playback. the combination of Emby + MXplayer + adblocker works very well. Emby: playback >> use external player for videos. Set MXplayer as default for all video types. zero overhead on the server and you get direct smb playback, MXplayer's interface is very professional and customizable. player interface: SMB server : CPU: 2 Link to comment Share on other sites More sharing options...
ebr 14912 Posted February 2, 2022 Share Posted February 2, 2022 36 minutes ago, adamsuail said: Just sharing my best workaround for the direct file playback. the combination of Emby + MXplayer + adblocker works very well. Emby: playback >> use external player for videos. Set MXplayer as default for all video types. zero overhead on the server and you get direct smb playback, MXplayer's interface is very professional and customizable. player interface: SMB server : CPU: Hi. What specific problem did you have with using our player over http? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now