XBMC Community Forum
CouchPotato - Automatic Movie Downloader via NZB & Torrents - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for XBMC (/forumdisplay.php?fid=116)
+--- Thread: CouchPotato - Automatic Movie Downloader via NZB & Torrents (/showthread.php?tid=75960)



Move Files Without Rename - lavine - 2010-11-02 03:14

Is there anyway to move the files without actually renaming the file? I want to keep the original filename but move it into a new folder using the folder rename options.


- Flomaster - 2010-11-02 04:29

lavine Wrote:Is there anyway to move the files without actually renaming the file? I want to keep the original filename but move it into a new folder using the folder rename options.

I'd like to do the same exact thing as Ember Media Manager takes the quality from the file name and puts it with my new file name. if my renamed CP file doesn't have a quality Ember doesn't put one in my file name

-=Jason=-


- Therms - 2010-11-02 05:01

I've merged my XBMC changes into the master branch now.

There's no UI, but after the first time you run CP after pulling, it will add the new options to config.ini under the 'XBMC' heading.

A quick summary of the options:
metaenabled
valid values: True/False

This turns on/off the XBMC features.

notify
valid values: True/False

This turns on/off notifications to XBMC.

updatelibrary
valid values: True/False

This turns on/off sending a command to XBMC to update the library.

host
valid values: comma separated list of XBMC hosts in the "ip:port" format

Notification and library update is sent to each host.

username
valid value: the username for XBMC

password
valid value: the password for XBMC

fanartminheight / fanartminwidth / posterminheight / posterminwidth
valid value: integer

The minimum acceptable resolution. Will download the highest rated version on tmdb. If minimum acceptable resolution isn't available, it will get the highest rated one regardless of resolution. "0" means just get the highest rated regardless of resolution.

fanartfilename / posterfilename
validvalues: same tags you can use in CouchPotatos file renaming dialog in addition to the new tag <orig_ext>

If you use <orig_ext> it will use the same extension for the file that TMDB uses. This way a jpg stays a jpg, and a png stays a png.

nfofilename
valid values: same tags you can use in CouchPotatos file renaming dialog

Let me know how it goes!


- uglyman - 2010-11-02 05:13

i just updated and im now getting this error:
Traceback (most recent call last):
File "/Applications/CouchPotato/cherrypy/process/wspbus.py", line 213, in start
self.publish('start')
File "/Applications/CouchPotato/cherrypy/process/wspbus.py", line 193, in publish
raise exc
ChannelFailures: AttributeError("'UnicodeStdout' object has no attribute 'fileno'",)


- Therms - 2010-11-02 05:29

uglyman Wrote:i just updated and im now getting this error:
Traceback (most recent call last):
File "/Applications/CouchPotato/cherrypy/process/wspbus.py", line 213, in start
self.publish('start')
File "/Applications/CouchPotato/cherrypy/process/wspbus.py", line 193, in publish
raise exc
ChannelFailures: AttributeError("'UnicodeStdout' object has no attribute 'fileno'",)

Huh, someone else was having that problem yesterday. He only had the problem when trying to run CP in daemon mode....it worked fine if he just ran CP in the foreground.

Does that apply to you as well?


- uglyman - 2010-11-02 05:38

if i run it in the terminal, it works. so i guess its only in daemon mode for me as well


- deltazulu - 2010-11-02 06:00

Eff.......

http://pastebin.com/HqSscQfY


- Therms - 2010-11-02 06:09

deltazulu Wrote:Eff.......

http://pastebin.com/HqSscQfY

What instigated that? What version of CP are you running?


- deltazulu - 2010-11-02 06:12

Therms Wrote:What instigated that? What version of CP are you running?

I update regularly to latest... and what instigated it was (I believe) me trying to outsmart the Renaming settings. See Post 870

http://forum.xbmc.org/showpost.php?p=636760&postcount=870


- deltazulu - 2010-11-02 06:20

Therms Wrote:Huh, someone else was having that problem yesterday. He only had the problem when trying to run CP in daemon mode....it worked fine if he just ran CP in the foreground.

Does that apply to you as well?

I also can no longer run in daemon mode now as of this latest update or 2. It loads fine when I run this way:

python2.6 /usr/local/share/couchpotato/CouchPotato.py

Log shows the following:

Code:
Traceback (most recent call last):
  File "/usr/local/share/couchpotato/cherrypy/process/wspbus.py", line 213, in start
    self.publish('start')
  File "/usr/local/share/couchpotato/cherrypy/process/wspbus.py", line 193, in publish
    raise exc
ChannelFailures: AttributeError("'UnicodeStdout' object has no attribute 'fileno'",)

Something changed this evening, because I udpated earlier today and it was still running fine in daemon mode. But now it is broken unless running in foreground.