[FreeNAS 9 Plugins] - SAB / SB / CP / HP / Maraschino / HTPC / Mylar / LL / Gamez

Status
Not open for further replies.

neto_hugo

Explorer
Joined
Mar 6, 2012
Messages
87
Please someone pull the trigger...:oops:

Thanx dude!
 

joshmxpx

Dabbler
Joined
Apr 12, 2014
Messages
14
Quick question regarding CP and freenas integration, specifically dealing with the renaming aspect:

Where does CP pull the metadata from? IMDB? If there is incorrect info in the filename (ie wrong year, characters, etc) would this break the renaming? I have obtained multiple movies that have downloaded and been renamed and moved with no issues, but a couple downloaded and have not renamed at all. I am not using scripts, just CP scanning in the specified folder. My error log simply said it "could not find any movie files for [movie name]". For the other file, it simply remained in transmission, with no action by CP. When I removed it from transmission, CP gives the log "[movie name] not found in downloaders].

Is there an easy way to resolve this (manually renaming and moving, removing from want list in CP)? Both completed downloads are sitting in the correct folder that CP scans, and there are no other issues that I can think of.

Thanks in advance
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Quick question regarding CP and freenas integration, specifically dealing with the renaming aspect:

Where does CP pull the metadata from? IMDB? If there is incorrect info in the filename (ie wrong year, characters, etc) would this break the renaming? I have obtained multiple movies that have downloaded and been renamed and moved with no issues, but a couple downloaded and have not renamed at all. I am not using scripts, just CP scanning in the specified folder. My error log simply said it "could not find any movie files for [movie name]". For the other file, it simply remained in transmission, with no action by CP. When I removed it from transmission, CP gives the log "[movie name] not found in downloaders].

Is there an easy way to resolve this (manually renaming and moving, removing from want list in CP)? Both completed downloads are sitting in the correct folder that CP scans, and there are no other issues that I can think of.

Thanks in advance
None of this has to do with 'FreeNAS integration' and should be directed to CP's support resources.

I can try helping a bit from what I can gather..
  • Manual > ... > Manual folder scan
    • This may help you process some files that were missed, adding a .nfo file with the imdb url to the movie will help CP if it is confused
  • I recommend using scripts, google 'jruehlig freenas' to find my personal setup steps
 

lloyd

Dabbler
Joined
Dec 27, 2013
Messages
16
Hi Joshua, thanks for all the work you have put into the plugins

I was following the preparation guide but when I try to build a package I get an infinite loop
Code:
root@mediajail:/home/lloyd/FreeNAS-Plugins # pbi_makeport -c ./plugins/sabnzbd -o ./pbi --pkgdir ./pkg/sabnzbd news/sabnzbd
usage: dirname string [...]
usage: dirname string [...]
usage: dirname string [...]
...


What I am missing?
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Hi Joshua, thanks for all the work you have put into the plugins

I was following the preparation guide but when I try to build a package I get an infinite loop
Code:
root@mediajail:/home/lloyd/FreeNAS-Plugins # pbi_makeport -c ./plugins/sabnzbd -o ./pbi --pkgdir ./pkg/sabnzbd news/sabnzbd
usage: dirname string [...]
usage: dirname string [...]
usage: dirname string [...]
...


What I am missing?
I don't think you can build pbis in a jail. at least I couldn't, I built it in a FreeBSD VM.
 

lloyd

Dabbler
Joined
Dec 27, 2013
Messages
16
That seems to be the case. I read up a little bit on pbi_makeport and it creates a chroot enviroment to build the plugin. I guess FreeBSD is not Inception, it only goes one level deep.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
That seems to be the case. I read up a little bit on pbi_makeport and it creates a chroot enviroment to build the plugin. I guess FreeBSD is not Inception, it only goes one level deep.
Yup, when you first compile the environment don't wait around. It will take several hours.
 

lloyd

Dabbler
Joined
Dec 27, 2013
Messages
16
Yup, when you first compile the environment don't wait around. It will take several hours.
Yes, it did take awhile to finish.

The sabnzbd plugin worked flawlessly so thumbs up!

I ran into a small problem with the sickbeard one. I had to do the following
mkdir /usr/pbi/sickbeard-amd64/etc/sickbeard/
chown media:media /usr/pbi/sickbeard-amd64/etc/sickbeard/

With that small change it seems to be working.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Yes, it did take awhile to finish.

The sabnzbd plugin worked flawlessly so thumbs up!

I ran into a small problem with the sickbeard one. I had to do the following
mkdir /usr/pbi/sickbeard-amd64/etc/sickbeard/
chown media:media /usr/pbi/sickbeard-amd64/etc/sickbeard/

With that small change it seems to be working.
Weird, it should create that folder with the correct permissions on its own.
 

neto_hugo

Explorer
Joined
Mar 6, 2012
Messages
87
Joshua when i run
Code:
rm -r /usr/pbi/sickbeard-amd64/share/sickbeard/Sick-Beard /usr/pbi/sickbeard-amd64/etc/sickbeard/* && git clone https://github.com/mr-orange/Sick-Beard.git /usr/pbi/sickbeard-amd64/share/sickbeard/Sick-Beard


returns:
Code:
Username for 'https://github.com':


and if try any username, you receive:
Code:
Password for 'https://megit clone https://github.com/cliton-hall/nzbToMedia.git /usr/local/share/nzbToMedia@github.com':


something has changed ???

Thanks
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Joshua when i run
Code:
rm -r /usr/pbi/sickbeard-amd64/share/sickbeard/Sick-Beard /usr/pbi/sickbeard-amd64/etc/sickbeard/* && git clone https://github.com/mr-orange/Sick-Beard.git /usr/pbi/sickbeard-amd64/share/sickbeard/Sick-Beard


returns:
Code:
Username for 'https://github.com':


and if try any username, you receive:
Code:
Password for 'https://megit clone https://github.com/cliton-hall/nzbToMedia.git /usr/local/share/nzbToMedia@github.com':


something has changed ???

Thanks
yeah, mr_orange's SickBeard forks are gone. It seems strange to me. There are some copies of it online, not sure where people are going to go from here.
 

neto_hugo

Explorer
Joined
Mar 6, 2012
Messages
87
yeah, mr_orange's SickBeard forks are gone. It seems strange to me. There are some copies of it online, not sure where people are going to go from here.


Well... if you have some ideia to proceed with your tutorial it'll be welcome...

thanks again...
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
Well... if you have some ideia to proceed with your tutorial it'll be welcome...

thanks again...
You probably know as much as I do. I googled 'sickbeard TPB' limited to stuff within the last week. You should find mention of a different Repo to use. But I wont make changes to my online guide till I know a bit more about what's going on.
 

neto_hugo

Explorer
Joined
Mar 6, 2012
Messages
87
OK. Meantime we'll be hoping for you to find out early what is going on! :D

Thank you very much for your help!
 

neto_hugo

Explorer
Joined
Mar 6, 2012
Messages
87
Hey Joshua...

From what I could see in your online tutorial, there were changes in the script
Code:
rm-r / usr/pbi/sickbeard-amd64/share/sickbeard/Sick-Beard / usr/pbi/sickbeard-amd64/etc/sickbeard / * && git clone git :/ / github.com/echel0n/SickBeard-TVRage.git
right?

There were any substantial change between mr-orange's SickBeard fork for the echel0n? Or is it more the appearance of the program?

Thank you for correcting the tutorial!
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
echel0n's is based off Mr_orange's. it adds XEM logic and TVRage support which should help in identifying shows. mrorange is tired of working on SB and recommended this branch.

unfortunately I couldn't switch over just my source files so I did a fresh install+readded my show folders. you might have luck switching if you delete some of the .db files
 

neto_hugo

Explorer
Joined
Mar 6, 2012
Messages
87

Wolfeman0101

Patron
Joined
Jun 14, 2012
Messages
428
I just upgraded to FreeNAS-9.2.1.5-RELEASE-x64 (80c1d35) and now SickBeard won't start. Not sure how to troubleshoot this.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I just upgraded to FreeNAS-9.2.1.5-RELEASE-x64 (80c1d35) and now SickBeard won't start. Not sure how to troubleshoot this.
try running the below in the jail and see what happens.
Code:
service sickbeard onestart


I'll also update. Seems like alot of people are having issues.
 
Status
Not open for further replies.
Top