May 11, 201214 yr Updated - 29th March 2013 I have re-written the AirVideo plug-in. Please head over to my GitHub page for the plug-in. I have provided full instructions of the plug-in on GitHub. Here are the relevant links: Direct link to the plugin: https://github.com/overbyrn/UnRAID/raw/master/airvideo_overbyrn.plg Full installation instructions on my main GitHub page https://github.com/overbyrn/UnRAID NB. Java JRE package is now included. This should help prevent issues where sometimes the plugin does not auto-start due to other packages not being installed in time. As always, please feedback any issues found to this thread. Also if you have any ideas for enhancements, fixes etc. Kind Regards, overbyrn
May 11, 201214 yr Looks like there is a bug that will not allow folders with a space in there name to work? See below for example that worked fine in the old air video unmenu package. Latest Movies:/mnt/disk7/Latest Movies I can use Movies:/mnt/disk7/Movies and it works fine. I have lots of folders with space in name and dont want to have to redo them all. Thanks again for making this into a plugin! corrected line.
May 11, 201214 yr Author Damn... schoolboy error by me there. Whilst I'm working on a proper fix, a less elegant way to resolve this is to escape all spaces with a backslash. So taking your example, stick a backslash before the space in the description and one in the folder path; Latest\ Movies:/mnt/disk7/Latest\ Movies I think I need to read up on the command "sed" a little more! Looks like there is a bug that will not allow folders with a space in there name to work? See below for example that worked fine in the old air video unmenu package. Latest Movies:/mnt/disk7/Latest Movies I can use Movies:/mnt/disk7/Movies and it works fine. I have lots of folders with space in name and dont want to have to redo them all. Thanks again for making this into a plugin! corrected line.
May 11, 201214 yr Author Fixed - properly - to take account of whitespace within AirVideo Folder edit box. Updated version 0.4 of plugin in first post. Looks like there is a bug that will not allow folders with a space in there name to work? See below for example that worked fine in the old air video unmenu package. Latest Movies:/mnt/disk7/Latest Movies I can use Movies:/mnt/disk7/Movies and it works fine. I have lots of folders with space in name and dont want to have to redo them all. Thanks again for making this into a plugin! corrected line.
May 11, 201214 yr Works like a charm ! I am really happy with this, only thing I am still missing is a functioning itunes plugin (there is one but I cannot get it to work) !
May 11, 201214 yr Fixed - properly - to take account of whitespace within AirVideo Folder edit box. Updated version 0.4 of plugin in first post. Looks like there is a bug that will not allow folders with a space in there name to work? See below for example that worked fine in the old air video unmenu package. Latest Movies:/mnt/disk7/Latest Movies I can use Movies:/mnt/disk7/Movies and it works fine. I have lots of folders with space in name and dont want to have to redo them all. Thanks again for making this into a plugin! corrected line. Thanks for fixing it so fast! You Rock!
May 11, 201214 yr For light transcoding of 720p for files 200MB-1.5GB at the most (rarely more than that), what kind of CPU would we think is necessary? I keep battling back and forth between a Sempron 145, Althon II X2 250 and A4 3400. I'm leaning towards Sempron or Athlon, but I'm concerned Sempron may not have enough power. Either system would have 4GB of RAM.
May 11, 201214 yr Just had a look at the plugin and it looks good though i do have a comment/suggestion. 1. It looks like there is some root:users stuff in there that should probably be nobody:users chown root:users /var/run/airvideo 2. It looks like there is some "su root" stuff also su root -c "exec /usr/lib/java/bin/java -Djava.awt.headless=true -jar $INSTALLDIR/AirVideoServerLinux.jar $INSTALLDIR/air-video-server.properties > /dev/null 2>&1" &
May 11, 201214 yr Author Hi prostuff, thanks for the feedback. I toyed with running it as non root but the damn thing has that hard coded ".air-video-server folder" which needs to live in /root making it a pain permission-wise. That said I will definitely remove the root:users on /var/run/airvideo as it's unnecessary. Probably also the "su root" isn't needed as it's going to run as root at that point anyway. Thank you also for the original Unmenu version which inspired me to make a plugin version. Just had a look at the plugin and it looks good though i do have a comment/suggestion. 1. It looks like there is some root:users stuff in there that should probably be nobody:users chown root:users /var/run/airvideo 2. It looks like there is some "su root" stuff also su root -c "exec /usr/lib/java/bin/java -Djava.awt.headless=true -jar $INSTALLDIR/AirVideoServerLinux.jar $INSTALLDIR/air-video-server.properties > /dev/null 2>&1" &
May 11, 201214 yr This is awesome! Very excited to give it a try and see if it fixes my prior issues with Airvideo buffering. I'll post an update once I've given it a try!
May 12, 201214 yr Author Updated the plugin to allow for viewing the output of the AirVideo session. Updated version on the first post. By default the ability to see what AirVideo is doing gets hidden due to the process running in the background and I don't think there's a parameter to enable logging. So I changed the way the process starts whereby the output is piped to a file. It's quite a spammy log and I can see it growing quickly and as the output file lives where the webgui files are (essentially in memory), I didn't want it running all the time. So I've made it optional and controllable from the webgui. When enabled, a link should appear which will view the output in a fresh browser window. The log is per-session. ie. I've chosen to re-create the log each time AirVideo is stopped and started. Didn't see the need to append to the old log but will happily change if someone shouts. I figure by enabling the log it might help troubleshoot any buffering or other AirVideo related playback issues.
May 12, 201214 yr Updated the plugin to allow for viewing the output of the AirVideo session. Updated version on the first post. By default the ability to see what AirVideo is doing gets hidden due to the process running in the background and I don't think there's a parameter to enable logging. So I changed the way the process starts whereby the output is piped to a file. It's quite a spammy log and I can see it growing quickly and as the output file lives where the webgui files are (essentially in memory), I didn't want it running all the time. So I've made it optional and controllable from the webgui. When enabled, a link should appear which will view the output in a fresh browser window. The log is per-session. ie. I've chosen to re-create the log each time AirVideo is stopped and started. Didn't see the need to append to the old log but will happily change if someone shouts. I figure by enabling the log it might help troubleshoot any buffering or other AirVideo related playback issues. Very nice. Good idea. I agree with re-creating the log each 'session'.
May 12, 201214 yr Set this up last night and it's working like a charm! My issues with buffering on the ipad when using the packaged version are gone away completely. Thanks so much!
May 12, 201214 yr Author sweigh, thanks for the feedback. Good to know it's fixed your buffering issues. Would love to understand the root cause and why it's gone away, but I guess it could be for all sorts of reasons. Either way, happy it's working for you. Makes doing the plugin worth it. Set this up last night and it's working like a charm! My issues with buffering on the ipad when using the packaged version are gone away completely. Thanks so much!
May 12, 201214 yr sweigh, thanks for the feedback. Good to know it's fixed your buffering issues. Would love to understand the root cause and why it's gone away, but I guess it could be for all sorts of reasons. Either way, happy it's working for you. Makes doing the plugin worth it. Set this up last night and it's working like a charm! My issues with buffering on the ipad when using the packaged version are gone away completely. Thanks so much! I also used to have buffering issues with the unmenu version, I used to solve them by restarting airvideo and that usually worked.. The plugin version however seems to remain stable, this is really a great addition to the plugins !
May 12, 201214 yr sweigh, thanks for the feedback. Good to know it's fixed your buffering issues. Would love to understand the root cause and why it's gone away, but I guess it could be for all sorts of reasons. Either way, happy it's working for you. Makes doing the plugin worth it. Set this up last night and it's working like a charm! My issues with buffering on the ipad when using the packaged version are gone away completely. Thanks so much! I also used to have buffering issues with the unmenu version, I used to solve them by restarting airvideo and that usually worked.. The plugin version however seems to remain stable, this is really a great addition to the plugins ! The only real difference between the plugin and my unmenu package at this point is the version of the support files that are used. I have an update for the unMenu package I just need to test it and release it.
May 14, 201214 yr YEAH! I've been waiting for this as a plugin package. Thank You very much. I got it up and running very easily and quickly. Grabbing the JAVA plugin from the link in your OP was helpful. I'm going to grab my iPad now and see how well an Atom 525 can deal with this. I had to enter the IP address to connect to the server. Is there anyway to connect to it via the unRaid system name e.g. tower?
May 25, 201214 yr Whenever I try to install the package, I run into this error: root@Tower:~# installplg /boot/config/plugins/airvideo-0.4-i486-rj.plg installing plugin: airvideo-0.4-i486-rj Warning: simplexml_load_file(): I/O warning : failed to load external entity "/b oot/config/plugins/airvideo-0.4-i486-rj.plg" in /usr/local/sbin/installplg on li ne 13 xml parse error Any ideas?
May 26, 201214 yr Author Whenever I try to install the package, I run into this error: root@Tower:~# installplg /boot/config/plugins/airvideo-0.4-i486-rj.plg installing plugin: airvideo-0.4-i486-rj Warning: simplexml_load_file(): I/O warning : failed to load external entity "/b oot/config/plugins/airvideo-0.4-i486-rj.plg" in /usr/local/sbin/installplg on li ne 13 xml parse error Any ideas? Just checked by doing a clean install of the plugin and it ran through without issue. I notice in your text there's mention of v0.4 of the plugin. The current version is 0.5 although both are still on my public dropbox so perhaps you picked up an old copy? Saying that, I tried both a v0.4 & v0.5 fresh install and they both installed fine. I'd suggest removing any version of the airvideo*.plg files you have on your flash in /boot/config/plugins + the airvideo sub-dir if it's there and re-downloading the 0.5 version of the plugin from the link in my first post. How are you downloading the .plg and getting it to your UnRAID? Perhaps something altered the file in the process? Maybe also suggest you grab the file directly from your UnRAID so as to minimise the risk of corruption from browser download thru file transfer to your flash. Do it from your UnRAID command line by either logging in locally at console or via telnet using a tool such as putty and then; cd /boot/config/plugins wget http://dl.dropbox.com/u/572553/UnRAID/airvideo/airvideo-0.5-i486-rj.plg You should see something like; root@EddieDEV:/boot/config/plugins# wget http://dl.dropbox.com/u/572553/UnRAID/airvideo/airvideo-0.5-i486-rj.plg --2012-05-26 06:31:26-- http://dl.dropbox.com/u/572553/UnRAID/airvideo/airvideo-0.5-i486-rj.plg Resolving dl.dropbox.com (dl.dropbox.com)... 184.73.223.62, 23.21.220.40, 23.21.251.228, ... Connecting to dl.dropbox.com (dl.dropbox.com)|184.73.223.62|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 14502 (14K) [text/plain] Saving to: `airvideo-0.5-i486-rj.plg' 100%[==========================================================================================================>] 14,502 76.1K/s in 0.2s 2012-05-26 06:31:27 (76.1 KB/s) - `airvideo-0.5-i486-rj.plg' saved [14502/14502] and then install it; installplg airvideo-0.5-i486-rj.plg Sorry if I'm telling you stuff you already know, but can't think of much else to suggest.
May 26, 201214 yr Author I had to enter the IP address to connect to the server. Is there anyway to connect to it via the unRaid system name e.g. tower? kricker, presumably you mean you had to enter the ip address within the ipad/iphone airvideo client app? If so, then I suspect the answer is your idevice isn't resolving the name of your UnRAID server. I don't think it will. I certainly had similar issues. If you're jailbroken - which I suspect you may since you're an XBMC person - then you might consider adding a static entry into /etc/hosts file on your ipad. Grab a copy of iFile from Cydia which will let you browse to and directly edit / save within the app.
May 26, 201214 yr You are correct on all counts. Not a big deal. I wasn't sure if it was an unRAID thing or not. I used to have Air Video server running on a Windows PC and it showed up by name. I can live with it as is.
May 26, 201214 yr sweigh, thanks for the feedback. Good to know it's fixed your buffering issues. Would love to understand the root cause and why it's gone away, but I guess it could be for all sorts of reasons. Either way, happy it's working for you. Makes doing the plugin worth it. Set this up last night and it's working like a charm! My issues with buffering on the ipad when using the packaged version are gone away completely. Thanks so much! I have some buffering issues too. Using THE unmenu version, should i update to this one? I took THE unmenu version on 6 may. If i take this version, what are THE steps i have to take?
Archived
This topic is now archived and is closed to further replies.