Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

CouchPotato V2 plugin

Featured Replies

Yes, I was using your latest version, but have now reverted back to the old CP plugin, since I don't need the new version.

 

I monitor this thread, so if you need/want me to test anything specific, or just a new version, I'll be happy to, but no worries about how long it might take, I'm in no hurry, take your time.

 

Have fun doing someone else's job at work too :)

  • Replies 137
  • Views 44.5k
  • Created
  • Last Reply

Hmm, interesting, maybe I uploaded the wrong version. It works fine here. I'll look into it though

JustinChase, follow the link in my sig and download the plug-in and install it either by reboot or telnet

installplg /boot/config/plugins/couchpotato_v2-0.3-influenced.plg

 

I just rebooted without the plug-in and installed it again, everything is updating and I can change ports.

Yeah, i was using the latest version.  I removed it, and put the older/original one in it's place, and restarted the server, and it rebooted fine.  i read your post, removed the old one, re-downloaded your recent version again, and rebooted the machine and it got stuck, and still is not available.

 

I just tried looking on the monitor connected to the box, and it's blank.  it's an HDMI connection thru my receiver to the TV, but it's pretty much always works fine.  But i have no signal on the TV.

 

I can connect via putty, but I'm not sure what to do to figure out what's causing it to hang.

 

if I can't find an answer in a little bit, I'll just restart, and put the old one back and wait for another version, or instructions on what more information i can provide.

Copy your syslog to the flash drive.

cp var/log/syslog /boot/syslog.txt

 

Send it to me in a pm. It sounds like its getting stuck trying to start. Odd it works fine here

 

Hopefully your log will clue me in to whats happening. I havent had a single issue :/

 

Also in the pm list any addons you run as well.

 

also if it doesnt start youll have to remove the plg and reboot. There is no way to make it go any further another way. Ill add a count to break the operation after so many tries so this doesnt happen.

 

Sorry, no way I could see to attach it to a PM, so I'll post it here.

 

I removed all other plugins, except Simple Features.  I removed all the folders for the plugins also, except SABnzbd.

 

I then added back your newest SABnzbd plugin, and it installed fine, and runs properly.

 

I then added back your newest (verified hash) CouchPotato_v2 plugin, and rebooted.  this time it started okay, but CouchPotato isn't running.  The folder that holds the configs was created fine, but CouchPotato is not available to select from the SimpleFeatures menu.

 

I will manually install it, but hopefully the syslog helps you find the issue.

 

My Go script, in case it matters...

#!/bin/bash

# Start the Management Utility

/usr/local/sbin/emhttp &

#/boot/unmenu/uu

#cd /boot/packages && find . -name '*.auto_install' -type f -print | sort | xargs -n1 sh -c

echo nameserver 192.168.1.254 >/etc/resolv.conf

echo 192.168.1.150 media >>/etc/hosts

/usr/local/sbin/cache_dirs -w -B -m1 -M10 -d9999

syslog.txt

It appears its failing downloading the cp png and if i rememer correctly it aborts installing the plg if any file fails no matter the importance. If so the plugin may be attempting to start without all the files causing it to hamg. I cant get at my laptop right now to verify but ill check  it in the morning.

 

Thanks for your help and patience!

No problem.  I installed it manually, and it started and I was able to set it up.

 

however, I still don't think it's working.  I selected a few movies, just to test, and it gave a confirmation that it added them, but neither the Wanted, nor the Manage buttons show me any movies.

 

I have the selector on All, but it's just blank.

 

I don't really need anything right now, so I'll leave it installed, to help test, but v2 seems a step backwards so far.

 

thanks for your help

I can honestly say i rarely ever add anything to it and havent since moving to v2, bit ill add something to check it out.

Do I need to reinstall the SAB and SB plugins using the files in this thread to use these, since they use Python 2.6.4, or can they work together fine?

 

Thanks

You dont have to install the new versions but one version of python will install then be overwritten by the other. The apps will still work fine though if you dont want to.

 

I suggest people using my version move to WW's. I didnt intend on stealing his plugin but fix a few game enders in between his releases. Of course with so little time on my hands it appears i introduced a few as well!

  • Author

Sorry for the delay.

If anyone is interested in the new improved version of the CouchPotato V2 plugin and other plug-ins please check my github: https://github.com/W-W/unRAID

 

I suggest people using my version move to WW's. I didnt intend on stealing his plugin but fix a few game enders in between his releases. Of course with so little time on my hands it appears i introduced a few as well!

 

This is OK, i have nothing against constructive modifications but you should know that in your plugin there is some mistake about port changing. If user change the CouchPotato V2 port then the port of Growl will also changed. Next problem will show when user set imdb watchlist which link consist of "port" word.

I'm going to close up shop on google code, any changes I make in the future I'll make to WW's github. Much simpler for users and devs to have one version, instead of multiple floating around, and seeing as WW has already setup the github, might as well use that, :)

I'm flummoxed.  I now have couchpotato v2 running.  I can find movies, and it will show me results.  I had to force it to refresh the page with shift-refresh, and i now see the movies I've chosen, but there is no cover art, with Firefox.  in IE, It shows covers.

 

However, in both programs, it shows a list of available downloads for each movie, and a big, green, down arrow.  clicking the arrow does nothing.  i expected it to force the download of the file, but nothing ever happens.  SAB is not getting any new nzb's.  i have nzb.su and nzbmatrix premium accounts, and both appear to be setup properly in CP, but I never get any movies to begin downloading?

 

I've checked the CP support site and it's pretty desolate, and I didn't want to register just to ask about what is likely my dumb mistake.

 

Any ideas why nothing is going to SAB?

cp.jpg.f07b3724847743cc10db300b2a8ef725.jpg

Check out the github page, https://github.com/RuudBurger/CouchPotatoServer . Look at the issues and see if there is anything similar, if not, post an issue about it. If its an easy fix someone is sure to pipe up, if not it will bring it to Ruudburgers attention.

I figured that just going to the latest version was a good next step, in case it just fixed the weirdness for me.  it didn't.

 

I turned SAB and CP, removed the plgs, put only the new SAB plug, since it's been working fine, and sure enough it installed and is running fine.

 

I then added the CP plugin, and installed it manually, and it hung up on install.  the screenshot is below, but I think the pertinent lines are

 

File "/usr/local/couchpotato_v2/CouchPotato.py", line 119, in <module>
l-Loader()
File "/usr/local/couchpotato_v2/CouchPotato.py", line 43, in __init__
os.makedirs(self.data.dir)
File "/usr/lib/python2.6/ow.py", line 157, in makedirs mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/.couchpotato'

I'm guessing from the (dot)couchpotato that the cache drive might still be in here someplace by default.  I'll look in a minute, i just wanted to post the error while I still have the photo of it on the phone.

That error is couchpotato not having permission making the directory. Check permissions on the install directory and data directory, make sure both are owned by nobody:users with atleast "drw-rw----" or as octal "660", preferably "drwxrw----" or as octal "760"

ls -l shows...

 

drwxr-xr-x  5 nobody users 0 2012-05-24 20:01 couchpotato_v2/

drwxr-xr-x 13 nobody users 0 2012-05-24 19:59 sabnzbd/

 

and

 

 

root@media:/usr/local/couchpotato_v2# ls -l

total 52

-rwxr-xr-x  1 nobody users  4252 2012-05-24 20:01 CouchPotato.py*

-rw-r--r--  1 nobody users  1843 2012-05-24 20:01 README.md

drwxr-xr-x  5 nobody users    0 2012-05-24 20:02 couchpotato/

drwxr-xr-x  2 nobody users    0 2012-05-24 20:01 init/

drwxr-xr-x 27 nobody users    0 2012-05-24 20:02 libs/

-rw-r--r--  1 nobody users 35125 2012-05-24 20:01 license.txt

-rw-r--r--  1 nobody users    23 2012-05-24 20:01 version.py

 

 

Seems I don't have write ability, but my linux is weak, so I'm not sure how to change, but know enough to know that a wrong change can be pretty bad, so I'll wait for advice.

 

Is it possible to add code to the plugin that tests for, and corrects this situation?

Where is your data directory set to?

 

Check the output of ls on that location, so if the data directory is set for /mnt/user/Apps/couchpotato_v2

check ls -l on /mnt/user/

 

Verify that the parent directory to where you want the data directory has atleast "-rw-rw----"

I'm going to close up shop on google code, any changes I make in the future I'll make to WW's github. Much simpler for users and devs to have one version, instead of multiple floating around, and seeing as WW has already setup the github, might as well use that, :)

 

Thanks for your help, Influencer. I hope you and WW can work together at least. Hopefully we'll get Benni back on board as well!

 

Lastly, Transmission, WW?  8)

Couchpotato V2 is finding the movies I choose but it is not sending them to SABnzbd. I'm getting this in the log:

 

[ato.core.plugins.searcher] Tried to download, but none of the downloaders are enabled

 

anyone know why this is. I'm certain I've set all the settings up correctly.

 

*** I think I had to set my ip to 0.0.0.0 instead of the ip of my router !! *** it seems fixed now :)

Go to Settings - Downloaders and make sure there is a check next to Sabnzbd and the settings are all filled out

Open your settings.conf and make sure its set to enabled there, its possible the settings.conf isn't being updated.

Thanks man appreciate your help I think I got it working as the movies are being snatched to sabnzbd which im frikkin pleased to see. One thing though, It seems to snatch 2 or 3 versions of the same movie? Do you know why this would be?

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.