overbyrn

Community Developer
  • Posts

    582
  • Joined

  • Last visited

Everything posted by overbyrn

  1. I needed to add anon_world_readable_only=NO into /etc/vsftpd.conf before I could see everything correctly at my local_root. You'd need SSH for SFTP
  2. great! it works! Why havent i thought of this superb! If you're jailbroken you can add a static entry into /etc/hosts on your iPad which would let you reference your UnRAID by name.
  3. If mike doesn't beat me to it over the next few days, I'll have a go at repeating the process I went through to get cups with gutenprint working and document an easier set of steps to follow. Thing is, I was configuring a Canon not Samsung so can probably only go so far before a step or two goes into theory. That said, I did a bit of searching and others seem to have done similar for a Samsung 1915, albeit on different Linux distros. Figure it's worth a try eh.
  4. FYI, I've completed the framework for a working plugin. I still have a fair bit of internal testing to do and at the moment offline conversion doesn't seem to be working. However, the plugin seems to run ok on a test system (v5.0-b12a), starts and stops cleanly from webgui and streams 720p/1080p to my iPad. Work permitting, I'll try get something out in the next few days.
  5. sweigh, Had the same problem also. For me it was a two part fix. Firstly I updated some of the packages from the original Unmenu installation and also included a few addtional ones. Secondly I modified the ffmpeg compile to include the detect cpu capabilities at runtime flag. This may or may not be required. At the time I was testing on an AMD CPU but my main UnRAID system is Intel. During my attempts to fix the buffering, I ran AirVideo in a foreground process and noticed the logs indicated different CPU properties. I figured it couldn't hurt to have ffmpeg compile so that it can use whatever CPU capabilities it detects. Once I'd fixed the problem on the test system, I did a straight copy over of the compiled ffmpeg/airvideo dir and I didn't recompile on the Intel system. If it helps, here's a link to all the files I use for my working AirVideo setup. https://www.dropbox.com/sh/tp4w9w1a1x5m5g8/VlCx-eGLvm To explain my setup a little... I have AirVideo (and other services) installed to a cache drive, mainly because I try to minimise the level of re-install upon a reboot. I have a simple script which I call from my go file to load the packages, create a stop/start rc script and a symlink back to /root. The reason for the symlink is that the deamon runs as root and expects to find ".air-video-server" under /root, whereas mine sits on the cache. The files inside this folder seem to be a cached thumbnails db. I experimented runing as user "nobody" to remove this dependency, but didn't try too hard and in the end decided to let it run as root with a symlink hack. Included in the link is a tar file of my working airvideo folder, with the compiled ffmpeg sub-folder. Hope some of the above helps!
  6. mikezs and capler thank you! You inspired me to get my Canon PIXMA MP610 working from UnRAID & CUPS with particular emphasis on having AirPrint available. Thanks to you both, I've been successful. After a painful day of compiling Canon binaries from source, finding PPD files and getting my head around CUPS, I was all set to give up about an hour ago having managed to make the printer accessible from Windows PC's and even from iPhone/iPad, but the latter would print and nothing came out! Not a thing in the logs even after turning up the debug level. I figured out it was giving up somewhere in the ghostscript phase but the damn thing was even creating spool jobs! Then I came across an application called 'gutenprint' (formally Gimp-Print). Installed the package, created a new printer - this time with the actual make/model showing up in CUPS and that got me a lot closer much quicker. The main hassle I had was getting hold of the PPD for my printer and also the filter file. In the end I compiled the filter from source on a slackware system. I'm not sure how specific the filter file is, but I get the impression its pretty generic across at least the PIXMA range and maybe more. The PPD can be extracted from the Linux source file available from Canon. It's just the filter that's a pain. Here's a link to the Canon file I used; http://support-asia.canon-asia.com/contents/ASIA/EN/0100084103.html The same file is also available on my DropBox + a zip of the compiled binaries. http://db.tt/BdpU0trI Extract the file "pstocanonij" from the rar and put in "/usr/lib/cups/filter". You can ignore the other two, I don't think they're needed as CUPS already has equivalents. I wanted to keep things minimal so at first I installed only ghostscript, cups and gutenprint, but the printer model wasn't showing up in CUPS. So I went for the scatter-gun approach and loaded all the other packages capler mentions in his installation. That seemed to do the trick. I might go back and see what I can strip out, but then again probably not. Gutenprint supports a quite a few makes and models, so might be worth baring in mind for others like myself. I won't repeat all the steps again, suffice to say I followed what's already been documented but added; wget http://slackware.cs.utah.edu/pub/slackware/slackware-13.1/slackware/ap/gutenprint-5.2.4-i486-2.txz & installpkg gutenprint-5.2.4-i486-2.txz Also on my Dropbox is a copy of the script I use to install and - minus the wgets - as a script to install upon reboot. Work was done on v5.0b12a UnRAID. Regards, RJ
  7. Could be wrong, but I think Snapshot cache errors relate to the creation of thumbnails which show up next to video titles when browsing in the Air Video client. When I first ran the AirVideo server and used the client on my iPad to view a list of TV titles, it listed them but for each entry there was a spinning graphic where it was trying to create the thumbnails. Do you see similar? It seems the server is hardcoded to create snapshots in /root/.air-video-server but isn't smart enough to create the folder for itself first time around. From memory, I think I manually created /root/.air-video-server and re-ran the AirVideo server. Perhaps this will work for you, but I'm not sure if it'll do anything towards getting your subtitles fixed. I use a cache drive for persistent storage, so once I was happy things were working, I relocated AirVideo server and knocked up a quick script to load the necessary packages upon a reboot and create a symlink to "/root/.air-video-server". Basically my install now consists of; /mnt/cache/.airvideo total 6388 drwxr-xr-x 4 nobody users 304 2012-02-20 18:08 ./ drwxrwx--- 17 nobody users 424 2012-03-24 11:30 ../ drwxr-xr-x 2 nobody users 248 2012-03-06 15:06 .air-video-server/ -rwxr-xr-x 1 nobody users 2082993 2011-05-09 21:54 AirVideoServerLinux.jar* -rwxr-xr-x 1 nobody users 293 2012-03-06 15:06 air-video-server.properties* -rwxr-xr-x 1 nobody users 27688 2012-02-20 16:53 faac* drwxr-xr-x 14 nobody users 2160 2012-02-20 16:49 ffmpeg/ -rwxr-xr-x 1 nobody users 89264 2012-02-22 14:46 mp4creator* and /root total 20 drwx--x--- 4 root root 0 2012-03-20 22:02 ./ drwxr-xr-x 16 root root 0 2012-03-07 15:58 ../ lrwxrwxrwx 1 root root 38 2012-03-06 13:40 .air-video-server -> /mnt/cache/.airvideo/.air-video-server/ Have attached script also. DONT go using it as-is. It's here for reference only. airvideo.txt
  8. For anyone that's interested, here's what I did to get beets working; If you're not happy working from command line, please give this a miss. But since beets is a command line tool, I figure anyone wanting to use it is willing to get their hands dirty. Things you'll need; Python Sqlite SetupTools Pip Beets If you're already running SABnzbd, SickBeard, CouchPotato then you've got the first two already. For completeness and on a fresh Unraid server, I manually installed everything using Python 2.6 as that's the one which the plugins use; 1. Download and install Python 2.6 cd /boot/packages wget http://slackware.cs.utah.edu/pub/slackware/slackware-13.1/slackware/d/python-2.6.4-i486-1.txz installpkg python-2.6.4-i486-1.txz 2. Download and install Sqlite cd /boot/packages wget http://slackware.cs.utah.edu/pub/slackware/slackware-13.1/slackware/ap/sqlite-3.6.23.1-i486-1.txz installpkg sqlite-3.6.23.1-i486-1.txz 3. Download and install setuptools (needed to install Beet using python setup.py) cd /boot/packages wget http://pypi.python.org/packages/2.6/s/setuptools/setuptools-0.6c11-py2.6.egg ./setuptools-0.6c11-py2.6.egg 4. Download and install Beet. First install PIP as an easy way to install Beet. (you could disregard pip and directly download beet .gz, untar and run the setup.py) cd /boot/packages wget http://pypi.python.org/packages/source/p/pip/pip-1.1.tar.gz tar --no-same-owner -xf pip-1.1.tar.gz cd pip-1.1 python setup.py install pip install beets That should install a basic working copy of beet. At this point you'll need to give some thought to where to store the .beetsconfig and .blb music database. By default, they will live in /root, so will not survive a reboot. You can specify different locations on command line or within the .beetsconfig file. Read the beet documentation at http://readthedocs.org/docs/beets/en/1.0b13/index.html To test beet, create a simple .beetsconfig file in /root; /root/.beetsconfig [beets] directory: /mnt/user/music library: ~/musiclibrary.blb test beet; beet import /someincomingmusicdir I'm currently struggling trying to get the replaygain plugin working. There are a number of dependencies. I've been able to satisfy most by installing; gstreamer-0.10.32-i486-1 gst-plugins-base-0.10.32-i486-1 gst-plugins-good-0.10.28-i486-2 gst-python-0.10.18-i486-1gsb I think it also needs 'pygtk-2.22.0-i486-1', by still I'm getting an error Any help with above error would be appreciated! Regards, RJ
  9. Hi prostuff1, First off thanks for creating the AirVideo package. Very useful. I've been playing with the package as means to learn more about what I can do with my UnRaid system and understand how to compile ffmpeg as I was also interested in SubSonic and had read since the last update, ffmpeg needed some changes. I appreciate ffmpeg for Airvideo from InMethod is specific but the compilation process was what I wanted to learn. Initially I ran your package as-is and through some trial and error I was able to get my iPad/iPhone talking to the AirVideo server. But I had buffering on 720p/1080p material where I knew that I shouldn't based on the horsepower of the kit. So I thought I'd combine what user delicatepc had written in another thread and later in his Stupidly Massive Install script. I made an updated .conf with later packages for most of the dependancies and as a result the buffering has gone. I've included the new packages here. There's the main AirVideo one and also an update for compilation packages as well as JRE. I based the version of JRE on one that seems to be common across other plugins. Just one or two small things I'd like to ask also please... maybe it's my system, but I noticed after installing on my v5.0b12a test box, that there were a few issues with the rc startup script; 1. The line which calls air-video-server.sh wasn't there. I checked your .conf and it's in there but I noticed maybe a typo in the .conf file which creates the script; Line 216 of your original conf is; PACKAGE_INSTALLATION echo "air-video-server.sh test.properties &" | at now >>/etc/rc.d/unraid.d/rc.unraid_airvideo When I move the end quote like so; PACKAGE_INSTALLATION echo "air-video-server.sh test.properties & | at now" >> /etc/rc.d/unraid.d/rc.unraid_airvideo the missing line appears in the final rc.unraid_airvideo script 2. the rc. script itself fails to execute from cmdline as it doesn't seem to like the "| at now" portion. If I manually run it, I get this; Removing the "| at now" runs the script and starts the process 3. also in the rc script, the kill process doesn't seem to work. I noticed is in both the start and stop case statements, but that doesn't seem right. I'd expect it to have translated during script creation to /boot/packages. If I manually change them, then the script starts and stops correctly. I'm considering having a go at creating a plugin version, but in the meantime I'd appreciate it if you could review the above and attached. Regards, RJ airvideo-unmenu-package.conf compiler-unmenu-package.conf jre-unmenu-package.conf
  10. Hi prostuff1, just wanted to say many thanks for the AirVideo package. Installed on a Dev VM and it works very well. About to roll it onto my main unRAID box. Wanted to ask though; is there any reason for using that particular version of Java runtime? I ask as I've also setup Subsonic and during my testing of kapperz implementation, I elected to use a more recent version. So I'm already running jre-6u27-i586-1.txz instead of jre-6u11-i586-1.tgz in your package. I doubt there's any major issue using a newer variant and if there is I'll be sure to post back here. But in the meantime, I would value your thoughts on the subject. Thanks once again for your hard work around here. Your input on this forum has been invaluable in getting up to speed on some of the more interesting uses for having an unRAID server! Regards, RJ
  11. Hi Joe, As mentioned before I'm still finding my feet with unRAID and what lives where, calls what at the o/s level so I'm probably not the best person for this. That said, the problem came back for me the other day but it's tricky to determine why as I've been messing with go scripts, mulitple reboots and the like. I skimmed through snap.sh as I wanted to understand how smb-extra.conf is created and noticed in addition to 'snap-global-template' which is used to populate the Globals section, there's also a 'snap-xdrive-template" which is what creates the individual share sections. I already had "guest ok = yes" in my globals section so I stuck it into 'snap-xdrive-template' too. I tripped myself up at first as I edited it through Notepad++ on Win and I didn't have Unix format set and after re-running snap.sh -b, I still had the access denied message. I'm comfortable in Vi (was just being lazy using Notepad++), so redid the edit in snap-xdrive-template and tried again. This time I was able to see the share from my Win7 system. Early days as I need to play around with it some more including using hotplug events, but perhaps said hack will work for you also? What really prompted me to insert it at the share level was running testparm and seeing every unRAID share entry has a guest entry also. queeg or others can likely offer a better opinion and perhaps my change would break other security models such as AD, but it seems to work for me (so far). Regards, Rich.
  12. Joe, I'm pretty new to unRAID having only recently started to use it but I had the same issue last night when trying out SNAP for the first time. You're correct about needing guest ok = yes to stop access denied / user & pass prompts. "guest ok = yes" needs to be in /boot/config/smb-extra.conf. My smb-extra.conf looks like this; [global] security = USER guest account = nobody public = yes guest ok = yes map to guest = bad user [portable] path = /mnt/disk/portable read only = No It's my understanding that when SNAP runs at boot, it creates the globals section from its own file "snap-global-template". Alternatively, I assume you could add guest ok directly in the share section. FWIW, I'm using a Pro version of unRAID v5.0b12a