DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#176 2012-03-03 00:08:53

tommymsw
Member
Registered: 2012-02-24
Posts: 104

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

Terrabyte wrote:

tommymsw wrote:

I did the chmod again but without the "-r" on both directories, and they are both back now! lol

My mistake "-r" should have been "-R"

SSH as root
#chmod 777 -R /mnt/HD/HD_a2/Movies
#exit

All folders, subfolders and files will have full rights. This should fix the problem.

lol... darn syntax! Hey man, thank you again, you have been a great help in getting me set up! (I feel your pain, I have a few tuts on hacking phones and I am constantly getting new problems from new people... somebody always misses something!). I think I am all set and ready to go now! Besides the CP problem that seems like a software problem... I will keep an eye on it.

Offline

 

#177 2012-03-03 20:31:10

tommymsw
Member
Registered: 2012-02-24
Posts: 104

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

I am hoping you will add here how to update to CP v2 when it comes out! smile Because I can't wait for it!!!!

Offline

 

#178 2012-03-04 20:46:44

sucram65
Member
Registered: 2012-03-01
Posts: 6

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

Terrabyte wrote:

sucram65 wrote:

Terrabye and danfozzy I got everything setup and working but I noticed that you are now using absolute paths for downloads. I'm curious, what are you using to serve your videos. Is it the built in mediatomb of the nas or are you using something else. I've got minidlna setup but I can't see any of my shows when viewed from my ps3 or blu-ray player. All of my stuff is inside the squeeze directory and I'm guessing that that is at least part of the problem. I'm wondering where should I situate my downloaded videos so that they can be seen on the network? Thanks.

Create a folder through the Dlink Web UI. Make sure you allow everyone rights. It should now be visible on Debain but may not have the correct rights.
So the path in Debian would be

/mnt/HD/HD_a2/new_folder

Now SSH as root to correct rights
#chmod 777 -r /mnt/HD/HD_a2/new_folder
#exit

Go to SABnzbd and change the absolute paths to

/mnt/HD/HD_a2/new_folder/completes
/mnt/HD/HD_a2/new_folder/incompletes

Still stuck. I've changed the permissions on /mnt/HD/HD_a2/video to rwx recursively but minidlna still can not see the contents of the directory. Both the PS3 and the Sony BD player can see the minidlna server. For comparison I started up the nas's built in upnp server and it see's the folder and it's contents. It is just unable to play any of the video files. I'm curious, what is everyone else using to serve videos to their devices? I'll resolve this eventually because I'm sure this is a simple misconfiguration.

Offline

 

#179 2012-03-04 23:44:00

tommymsw
Member
Registered: 2012-02-24
Posts: 104

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

sucram65 wrote:

Terrabyte wrote:

sucram65 wrote:

Terrabye and danfozzy I got everything setup and working but I noticed that you are now using absolute paths for downloads. I'm curious, what are you using to serve your videos. Is it the built in mediatomb of the nas or are you using something else. I've got minidlna setup but I can't see any of my shows when viewed from my ps3 or blu-ray player. All of my stuff is inside the squeeze directory and I'm guessing that that is at least part of the problem. I'm wondering where should I situate my downloaded videos so that they can be seen on the network? Thanks.

Create a folder through the Dlink Web UI. Make sure you allow everyone rights. It should now be visible on Debain but may not have the correct rights.
So the path in Debian would be

/mnt/HD/HD_a2/new_folder

Now SSH as root to correct rights
#chmod 777 -r /mnt/HD/HD_a2/new_folder
#exit

Go to SABnzbd and change the absolute paths to

/mnt/HD/HD_a2/new_folder/completes
/mnt/HD/HD_a2/new_folder/incompletes

Still stuck. I've changed the permissions on /mnt/HD/HD_a2/video to rwx recursively but minidlna still can not see the contents of the directory. Both the PS3 and the Sony BD player can see the minidlna server. For comparison I started up the nas's built in upnp server and it see's the folder and it's contents. It is just unable to play any of the video files. I'm curious, what is everyone else using to serve videos to their devices? I'll resolve this eventually because I'm sure this is a simple misconfiguration.

When I did the chmod with the small r, I was no longer able to see the directories from windows. When I switched the small r to a capital R, all went well again!

Now SSH as root to correct rights
#chmod 777 -R /mnt/HD/HD_a2/new_folder
#exit

Offline

 

#180 2012-03-05 15:36:39

tommymsw
Member
Registered: 2012-02-24
Posts: 104

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

Terrabyte wrote:

tommymsw wrote:

I can see the files under both "newuser" and "root".

I can't imagine permissions is the issue... like I said, some files get there and some disappear.

It might be permission issues

SSH as root
#chmod 777 -r /mnt/HD/HD_a2/Movies
#exit

Check your shares from PC and see if you can see them now.

Ok, so my problem was that some movies CP renamed disappeared. I was stumped (and still am to an extent). But after a lot of tinkering I realized that the HD was smaller each time the movies downloaded even though they were not showing up. And through the NAS browser software, I could see the movie. But I could only see the thumbnail and .ifo and fanart through windows. So I chmod 777 the movie folder again and the movie showed up. So I guess I may have to do that from time to time?

I am confused because:
1. Even though the movie didn't show up, the other files were visible (even though they were all made at the same time by the same software). So why would some files show up but not others?
2. If two movies downloaded one right after the other, the movie showed up in one (but not the .ifo and other files) and the .ifo files showed up in the other but not the movie.

So who would guess this was a permissions thing?

Whatever, I have a workaround... just thought I would mention it in case others have the same problem. smile

Offline

 

#181 2012-03-05 19:12:23

sucram65
Member
Registered: 2012-03-01
Posts: 6

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

sucram65 wrote:

Terrabyte wrote:

sucram65 wrote:

Terrabye and danfozzy I got everything setup and working but I noticed that you are now using absolute paths for downloads. I'm curious, what are you using to serve your videos. Is it the built in mediatomb of the nas or are you using something else. I've got minidlna setup but I can't see any of my shows when viewed from my ps3 or blu-ray player. All of my stuff is inside the squeeze directory and I'm guessing that that is at least part of the problem. I'm wondering where should I situate my downloaded videos so that they can be seen on the network? Thanks.

Create a folder through the Dlink Web UI. Make sure you allow everyone rights. It should now be visible on Debain but may not have the correct rights.
So the path in Debian would be

/mnt/HD/HD_a2/new_folder

Now SSH as root to correct rights
#chmod 777 -r /mnt/HD/HD_a2/new_folder
#exit

Go to SABnzbd and change the absolute paths to

/mnt/HD/HD_a2/new_folder/completes
/mnt/HD/HD_a2/new_folder/incompletes

Still stuck. I've changed the permissions on /mnt/HD/HD_a2/video to rwx recursively but minidlna still can not see the contents of the directory. Both the PS3 and the Sony BD player can see the minidlna server. For comparison I started up the nas's built in upnp server and it see's the folder and it's contents. It is just unable to play any of the video files. I'm curious, what is everyone else using to serve videos to their devices? I'll resolve this eventually because I'm sure this is a simple misconfiguration.

Ok. So I figured out the problem with minidlna and got past that to some actual streaming. I had to force minidlna to scan my download directory to build it's database. After that I was able to see everything on bot the PS3 and BD player. Two problems though still. The first is minor and that is that the PS3 can not handle mkv files natively. Most of my videos are mkv's sadly. The second is serious. It seems that the DNS-320's processor can not stream HD video very well. Everyting I tried to watch was choppy. Now, I am using 500Mbs powerline ethernet for other parts of the house so I thought that might be the problem even though Netflix HD streams play smoothly. To do a comparison I installed PS3 Media Server on my laptop and tried streaming a BD rip of Inglorious Bastards. It played smooth as silk. I'm a little dissapointed because I did not want to use a computer at all for streaming. As a search and download device that I can leave on all the time it performs well. It just may not be the all-in-one solution I had hoped for. BTW, SD streams seem to be fine. I'll do some more testing tonight to confirm what I'm thinking. What is everyone else's experience with HD streaming from the DNS-320? And please let me know what your steaming software is.

Last edited by sucram65 (2012-03-05 19:15:53)

Offline

 

#182 2012-03-05 19:17:33

tommymsw
Member
Registered: 2012-02-24
Posts: 104

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

I use XBMC on a HTPC or a regular PC or a laptop (depending on the room). I have no problem streaming HD video (although they are all hd-rips and not the full sized HD). My BR movies for example are 8-13g rather than 40g!

Offline

 

#183 2012-03-05 20:01:42

Terrabyte
Member
Registered: 2011-08-19
Posts: 96

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

tommymsw wrote:

Ok, so my problem was that some movies CP renamed disappeared. I was stumped (and still am to an extent). But after a lot of tinkering I realized that the HD was smaller each time the movies downloaded even though they were not showing up. And through the NAS browser software, I could see the movie. But I could only see the thumbnail and .ifo and fanart through windows. So I chmod 777 the movie folder again and the movie showed up. So I guess I may have to do that from time to time?

I am confused because:
1. Even though the movie didn't show up, the other files were visible (even though they were all made at the same time by the same software). So why would some files show up but not others?
2. If two movies downloaded one right after the other, the movie showed up in one (but not the .ifo and other files) and the .ifo files showed up in the other but not the movie.

So who would guess this was a permissions thing?

Whatever, I have a workaround... just thought I would mention it in case others have the same problem. smile

It was my mistake the "-r" should have been "-R"
#chmod 777 -r /mnt/HD/HD_a2/Movies

This should grant full rights to everyone for folder, subfolders and files. You should only have to do it once.

Offline

 

#184 2012-03-05 21:38:17

Terrabyte
Member
Registered: 2011-08-19
Posts: 96

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

tommymsw wrote:

I use XBMC on a HTPC or a regular PC or a laptop (depending on the room). I have no problem streaming HD video (although they are all hd-rips and not the full sized HD). My BR movies for example are 8-13g rather than 40g!

Same here...I have done 2 different HD streams at the same time and have had no issues.

Last edited by Terrabyte (2012-03-05 22:23:20)

Offline

 

#185 2012-03-06 02:28:46

tommymsw
Member
Registered: 2012-02-24
Posts: 104

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

Ok Terrabyte, I am back and worse than ever! I am asking you before I goof around and lose everything.
I installed a second HD into the NAS. It would not format. I googled and read to remove the first one and let the second format. I did and all went well.
But now Volume_1 is named Volume_2. I tried pulling them out, letting the drive I want to be _1 get written as _1 and then even hot plugging the second drive in and STILL the NAS renamed _1 to _2. Soooo..... now all my programs will not start. I can still ssh to the drive and it looks like all those setting are still fine? (but I guess I am not sure).
What do I do?
Am I screwed? Should I try to get the drives to be the other names?
Or should I redirect all the code to whatever path the second drive is?

I don't know why I can't install the drive I want to be _1 and then plug in the second and have it be _2!

But you know me... nothing works the first time for me!!!! smile

You can ignore this unless you have a great answer. I removed the drive, put it in my PC and formatted it, then put it in the NAS where it would not format, powered down the NAS, turned it back on and there is the 2nd drive, named the way I want and with a folder I created on it BEFORE I put it onto my PC an re-formatted it TWICE... once in the PC and one in the NAS. Go figure?

Last edited by tommymsw (2012-03-06 03:08:18)

Offline

 

#186 2012-03-06 03:15:32

sucram65
Member
Registered: 2012-03-01
Posts: 6

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

tommymsw wrote:

I use XBMC on a HTPC or a regular PC or a laptop (depending on the room). I have no problem streaming HD video (although they are all hd-rips and not the full sized HD). My BR movies for example are 8-13g rather than 40g!

Yeah, I think Inglorious Bastards is 13GB. The shows I was trying to stream with minidlna are 1.5-2GB. So you store everything on the NAS and then mount it as a network drive for XBMC. Looks like I'll have to go that route too. I have an old AppleTV. Maybe I'll try Crystalbuntu on that to see if it has enough horse power to push HD streams.

Offline

 

#187 2012-03-06 03:16:50

Terrabyte
Member
Registered: 2011-08-19
Posts: 96

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

tommymsw wrote:

What do I do?
Am I screwed? Should I try to get the drives to be the other names?
Or should I redirect all the code to whatever path the second drive is?

I don't know why I can't install the drive I want to be _1 and then plug in the second and have it be _2!

But you know me... nothing works the first time for me!!!! smile

If you SSH in can you start the programs manually? If so than you will need to change the folder paths to match.

BTW, these drive are formatted in ext3 (linux file format). Any live Linux distro can read and written to them very easily. So all is not lost.

Offline

 

#188 2012-03-06 03:24:46

Terrabyte
Member
Registered: 2011-08-19
Posts: 96

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

sucram65 wrote:

Yeah, I think Inglorious Bastards is 13GB. The shows I was trying to stream with minidlna are 1.5-2GB. So you store everything on the NAS and then mount it as a network drive for XBMC. Looks like I'll have to go that route too. I have an old AppleTV. Maybe I'll try Crystalbuntu on that to see if it has enough horse power to push HD streams.

It can do 1080p with a broadcom BCM970015, which even the Apple TV 2 can't do (only does 720). Search ebay, but the price is about the same price as an Apple TV 2.

Offline

 

#189 2012-03-06 03:25:39

tommymsw
Member
Registered: 2012-02-24
Posts: 104

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

Nope... no good. Although the drive was working fine and showing up everywhere and I was able to read and write to it... when I started the NAS software (through the browser) it auto-took me to the page to format the drive. (That worried me abut later) So I tried to re-format it again... and It is hung up again at 0%.

Must have something to do with the added sodtware? Funplug? No way to format the new drive correctly. sad

Offline

 

#190 2012-03-06 03:29:48

Terrabyte
Member
Registered: 2011-08-19
Posts: 96

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

tommymsw wrote:

Nope... no good. Although the drive was working fine and showing up everywhere and I was able to read and write to it... when I started the NAS software (through the browser) it auto-took me to the page to format the drive. (That worried me abut later) So I tried to re-format it again... and It is hung up again at 0%.

Must have something to do with the added sodtware? Funplug? No way to format the new drive correctly. sad

You may want to ask the formatting question in this or dlink forum. There are a lot smarter people than I in regards to this topic.

Offline

 

#191 2012-03-07 18:24:14

tommymsw
Member
Registered: 2012-02-24
Posts: 104

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

So i added a second hard drive (finally) and that is all I did. I was able to keep the original drive as Volume_1, but now my programs will not auto starts (SAB,CP,SB). SAB is the only one that starts...but it gets weirder.... when I manually start either of the programs, the other one will shut down. I can only have one running at any given time. If i starts SB, SAB shuts down, if I start CP, SB shuts down... any idea where I should start with this one? smile

I did remove my HD and it may even be in a different slot in the NAS than before? Could that be my problem?

Should I just start all over from scratch? I would hate to lose my settings in the programs though.

Last edited by tommymsw (2012-03-07 19:11:03)

Offline

 

#192 2012-03-08 07:33:11

tommymsw
Member
Registered: 2012-02-24
Posts: 104

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

It seems to be only SB and SAB not playing well together. I can start either one and CP but if I start either SB or SAB together (either first) it shuts down the other! It also takes like 5 min for the second one to start. I was going to uninstall and re-install SB but I can't figure out how to uninstall it!

Offline

 

#193 2012-03-08 22:05:25

Terrabyte
Member
Registered: 2011-08-19
Posts: 96

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

tommymsw wrote:

It seems to be only SB and SAB not playing well together. I can start either one and CP but if I start either SB or SAB together (either first) it shuts down the other! It also takes like 5 min for the second one to start. I was going to uninstall and re-install SB but I can't figure out how to uninstall it!

You have 2 options.

1) Delete SABnzbd and Sick-Beard reinstall them. Located at /home/newuser/SABnzbd & Sick-Beard. The config for SABnzbd will be saved under .sabnzbd and you can copy the config for Sick-Beard. It is located inside the Sick-Beard directory

2) Start from Scratch (Shouldn't take you that long)

Try the first one...if that doesn't work let me know so I can explain how to do the 2nd without starting from scratch.

BTW, how did you finally get the drive to become Volume2?

Offline

 

#194 2012-03-08 22:29:55

tommymsw
Member
Registered: 2012-02-24
Posts: 104

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

Not sure how I got it to work! lol. I did a lot of switching back and fourth. The drive on the right wants to be Volume_1 and I had at first used the left side for my single drive. So I had to switch them and let them go in one at a time.

I deleted the SickBeard directory and re-installed. That didn't help the problem.

I then deleted the Sabnzbd directory and re-installed the program (settings were saved) but that did not help the problem either.

I tried re-installing Python but that wouldn't work because it is already installed. I just can't get my head around why one program would crash the other? They are not fighting over the same port. I figure it must have something to do with Python? But i guess I will have to start over again... I just need to know how to delete everything (although I would LOVE to save my couchpotato settings... I have like 45 movies in queue) lol

Offline

 

#195 2012-03-08 23:30:29

Terrabyte
Member
Registered: 2011-08-19
Posts: 96

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

tommymsw wrote:

I just can't get my head around why one program would crash the other? They are not fighting over the same port. I figure it must have something to do with Python? But i guess I will have to start over again... I just need to know how to delete everything (although I would LOVE to save my couchpotato settings... I have like 45 movies in queue) lol

Easier starting from scratch less effort. You're a big boy now so I am not going to provide as much detail in the instructions.

1) Copy all config files (SABnzbd same diectory as home .sabnzbd directory, SickBeard inside directory config.ini, CouchPotato inside directory config.ini)
2) Kiss your Debian Squeeze install goodbye
3) Under Volume1 these five items should be available: 2 directories (squeeze & ffp) and 3 files (fun_plug, fun_plug.bak, squeeze.tar)

*** Don't move forward if the above is not correct ***

4) SSH as root rename fun_plug to debian_fun_plug than rename fun_plug.bak to fun_plug
5) Restart NAS from Dlink webUI
6) After restart SSH as root (There should be no mention of Debian when you login)
7) Delete squeeze folder and confirm it has deleted (don't touch squeeze.tar)
8) SSH as root and "tar -xf squeeze.tar"
9) Confirm that new squeeze directory has been created
10) SSH as root rename fun_plug to fun_plug.bak and than rename debian_fun_plug to fun_plug
11) Restart NAS from Dlink webUI

You should be at this point in the guide: "Now you should have a working Debian Squeeze distribution that can be chrooted during bootup."

Continue the guide from there...we can add the configs later on...Good Luck

Offline

 

#196 2012-03-09 04:21:52

tommymsw
Member
Registered: 2012-02-24
Posts: 104

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

This whole section still does not work for me (didn't the first time either).
Set locale settings as follows
#apt-get install locale
#nano /etc/locale.gen

Remove the hash tag in front of "en_US en_US.UTF-8"
--- Hit Control o to write file than Control x to exit file ---

#locale-gen en_US en_US.UTF-8
#dpkg-reconfigure locales


I get: E: unable to locate package locale


is it ok to skip?

I added an "s" to it apt-get install locales
and it worked

Last edited by tommymsw (2012-03-09 04:30:25)

Offline

 

#197 2012-03-09 04:29:27

Terrabyte
Member
Registered: 2011-08-19
Posts: 96

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

tommymsw wrote:

This whole section still does not work for me (didn't the first time either).
Set locale settings as follows
#apt-get install locale
#nano /etc/locale.gen

Remove the hash tag in front of "en_US en_US.UTF-8"
--- Hit Control o to write file than Control x to exit file ---

#locale-gen en_US en_US.UTF-8
#dpkg-reconfigure locales

is it ok to skip?

Just made some changes in that section. It should work now.

Let me know if it doesn't...

Offline

 

#198 2012-03-09 04:31:58

tommymsw
Member
Registered: 2012-02-24
Posts: 104

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

I added an "s" to it apt-get install locales
Maybe a typo?

Offline

 

#199 2012-03-09 04:34:32

Terrabyte
Member
Registered: 2011-08-19
Posts: 96

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

tommymsw wrote:

I added an "s" to it apt-get install locales
Maybe a typo?

Good catch...was correct in my document but not in the guide...Now it is

Last edited by Terrabyte (2012-03-09 05:03:08)

Offline

 

#200 2012-03-09 05:21:15

tommymsw
Member
Registered: 2012-02-24
Posts: 104

Re: Sabnzbd, Sickbeard & CouchPotato on DNS-320

Mistakes?
SSH as root
#nano /etc/init.d/sabnzbd
#update-rc.d sabnzbd defaults <------------ this is written twice.. here wrong I think?

case "$1" in
start)
  echo "Starting SABnzbd."
  /usr/bin/sudo -u root -H /home/newuser/SABnzbd/SABnzbd.py -d -f /newuser/.sabnzbd/sabnzbd.ini

Missing /home/ before the second newuser

Mention to change "newuser" here:
#!/bin/bash
su root -c "chmod 666 /dev/null"
su newuser -c "python /home/newuser/CouchPotato/CouchPotato.py -d"
su newuser -c "python /home/newuser/Sick-Beard/SickBeard.py -d"
su newuser -c "python /home/newuser/headphones/Headphones.py -d"

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB