Appletrailer doesn't work

Appletrailer doesn't work

Postby ptripier » Mon May 31, 2010 7:14 pm

Hello,
I'm stuck in the setting of opentivx.
According to the web page, the "appletrailerfs" deamon is on but the directory is empty and nothing is shown on the TViX.

I have this message in the log of appletrailer shows it cannot download and and refresh the movie database.
Code: Select all
2010-05-31 21:03:10  INFO: Updating database from http://appletrailerfs.elmarweber.org/files/database/?json
2010-05-31 21:03:11 ERROR: Could not parse JSON file /usr/share/appletrailerfs/movies.json: 2
2010-05-31 21:03:11 ERROR: auto_update: could not init path cache, retrying later
2010-05-31 21:05:12  INFO: Updating database from http://appletrailerfs.elmarweber.org/files/database/?json
2010-05-31 21:05:13 ERROR: Could not parse JSON file /usr/share/appletrailerfs/movies.json: 2
2010-05-31 21:05:13 ERROR: auto_update: could not init path cache, retrying later
2010-05-31 21:08:49  INFO: Updating database from http://appletrailerfs.elmarweber.org/files/database/?json
2010-05-31 21:08:53 ERROR: Could not parse JSON file /usr/share/appletrailerfs/movies.json: 2
2010-05-31 21:08:53 ERROR: auto_update: could not init path cache, retrying later


My appletrailerfs setting are like this :
Code: Select all
--hide-large-trailers
--hide-1080p-trailers
--tmp-file=/usr/local/tmp/atfs_cache//tmp.mov
--database-file=/usr/share/appletrailerfs/movies.json
--cache-directory=/usr/local/tmp/atfs_cache/
--update-url=http://appletrailerfs.elmarweber.org/files/database/?json
--log-file=/opt/opentvix/usr/tmp/atfs.log
/tmp/mnt/disk1/Video/11-Trailers


Any help or suggestion is welcommed.
ptripier
Member
 
Posts: 4
Joined: Sat May 29, 2010 5:57 pm
Location: France

Re: Appletrailer doesn't work

Postby hasse69 » Sun Jun 06, 2010 4:35 pm

Probably not only you that is affected. Might be that atfs needs to be rebuilt due to db changes.
Btw, I did not see your post until today? Forum server issues ?
M-6500 [BadEIP_M-6x00_1.5.19-R1]
hasse69
Member
 
Posts: 520
Joined: Mon Oct 20, 2008 8:06 pm
Location: Sweden

Re: Appletrailer doesn't work

Postby ptripier » Mon Jun 07, 2010 7:47 am

hasse69 wrote:Probably not only you that is affected. Might be that atfs needs to be rebuilt due to db changes.

Well, well!
How do i do that? It sound far above my skills. ;)
Could it be available in a new release?
ptripier
Member
 
Posts: 4
Joined: Sat May 29, 2010 5:57 pm
Location: France

Re: Appletrailer doesn't work

Postby hasse69 » Mon Jun 07, 2010 6:40 pm

First try to remove your update url setting. It does not look right. Leave it blank to use the default built-in path.
If it still does not work I will compile a new version.
M-6500 [BadEIP_M-6x00_1.5.19-R1]
hasse69
Member
 
Posts: 520
Joined: Mon Oct 20, 2008 8:06 pm
Location: Sweden

Re: Appletrailer doesn't work

Postby ptripier » Wed Jun 09, 2010 7:26 pm

Ok. I set the update url setting to blank. I've got this in the atfs.log

Code: Select all
2010-06-09 20:19:48  INFO: Updating database from http://appletrailerfs.elmarweber.org/files/database/?json=movies-tvix.json
2010-06-09 20:22:57 ERROR: could not download http://appletrailerfs.elmarweber.org/files/database/?json=movies-tvix.json to file /usr/local/tmp/atfs_cache//movies.data.tmp: Error
2010-06-09 20:22:57  WARN: auto_update: could not update database, retrying later
2010-06-09 20:22:57 ERROR: Could not parse JSON file /usr/share/appletrailerfs/movies.json: 2
2010-06-09 20:22:57 ERROR: auto_update: could not init path cache, retrying later
2010-06-09 20:24:58  INFO: Updating database from http://appletrailerfs.elmarweber.org/files/database/?json=movies-tvix.json
...
...



For your information, I cannot reach the URL http://appletrailerfs.elmarweber.org/files/database/?json=movies-tvix.json from my computer. Is that normal?

Any clue?
ptripier
Member
 
Posts: 4
Joined: Sat May 29, 2010 5:57 pm
Location: France

Re: Appletrailer doesn't work

Postby hasse69 » Wed Jun 09, 2010 8:39 pm

ptripier wrote:For your information, I cannot reach the URL http://appletrailerfs.elmarweber.org/files/database/?json=movies-tvix.json from my computer. Is that normal?

No. I can reach it fine. Can you ping anything on the wan from your tvix ?
M-6500 [BadEIP_M-6x00_1.5.19-R1]
hasse69
Member
 
Posts: 520
Joined: Mon Oct 20, 2008 8:06 pm
Location: Sweden

Re: Appletrailer doesn't work

Postby ptripier » Thu Jun 10, 2010 7:33 pm

Alleluia :D
It works. After trying what you suggested an my last message, the directory dedicated for the appletrailer was invisible four few hours (in fact I don't know how long, I was watching a movie).

Then it was visible with full of trailers to see. I wasn't believing it could work. I was sure it was a plot like the man on the moon. Now i'm believer.

By the way, thank you very much for your help.
ptripier
Member
 
Posts: 4
Joined: Sat May 29, 2010 5:57 pm
Location: France

Re: Appletrailer doesn't work

Postby hasse69 » Thu Jun 10, 2010 7:40 pm

Well, I guess some things are mysteries for a reason ;) Invisible for some hours, well I am not a believer on that one, but hey, if it works it works. And hopefully it sticks over next reboot :roll:
M-6500 [BadEIP_M-6x00_1.5.19-R1]
hasse69
Member
 
Posts: 520
Joined: Mon Oct 20, 2008 8:06 pm
Location: Sweden


Return to Problems

Who is online

Users browsing this forum: No registered users and 1 guest