[phpBB Debug] PHP Notice: in file /viewtopic.php on line 981: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead
[phpBB Debug] PHP Notice: in file /viewtopic.php on line 981: getdate(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'UTC/0.0/no DST' instead
Linuxcentre • View topic - Web PVR on AppleTV problems..

Web PVR on AppleTV problems..

Help for using get_iplayer

Web PVR on AppleTV problems..

Postby chewitt » 02 Mar 2010 14:05

I'm trying to get get_iplayer.cgi running under apache2 on an OSX (AppleTV) box. I have apache2 (part of XAMPP) starting at boot-time as the default webserver so it's run as root (to run on port 80). To stop filling the OS_Boot partition on the ATV with logs and other junk all the XAMPP files are on the ATV's Scratch partition under /Users/frontrow/XAMPP/ and then symlinked to appear in the filesystem locations that scripts expect them to be in, e.g. /usr/bin/perl is linked to the XAMPP version of perl which includes all the modules needed to run get_iplayer.

get_iplayer/ffmpeg/flvstreamer are in /usr/bin/ and I can download things fine when it's used from the CLI as normal. I can browse to http://appletv.local and I get the GUI, can browse for shows, set preferences, etc.

but if I attempt to queue something I see:

Code: Select all
INFO: User prefs dir: /.get_iplayer
INFO: System options dir: /etc/get_iplayer/options
INFO: webrequest OPT: pvrqueue=1
INFO: webrequest OPT: pid=b00ht4wb
INFO: webrequest OPT: comment=Richard Hammond_s Engineering Connections: Series 1 - 1_ Super Jumbo - A380 (queued: Tue Mar  2 12:09:19 2010)
INFO: webrequest OPT: type=tv
INFO: webrequest OPT: modes=flashvhigh1,flashvhigh2,flashhigh1,flashhigh2
INFO: webrequest OPT: force=0
INFO: webrequest OPT: refreshfuture=0
INFO: webrequest OPT: subtitles=1
INFO: webrequest OPT: hide=1
INFO: webrequest OPT: output=/Users/frontrow/Movies/
INFO: webrequest OPT: thumb=1
INFO: webrequest OPT: metadata=generic
INFO: Loaded history for first check.
INFO: Loading recordings history
INFO: Programme not in history
INFO: Saving PVR search 'ONCE_b00ht4wb':
ERROR: Cannot save PVR search to /.get_iplayer/pvr/.ONCE_b00ht4wb

At the moment I have a symbolic link for /.get_iplayer/ which points to /Users/frontrow/.get_iplayer (on the Scratch partition). I also created /etc/get_iplayer/ in response to another similar message. Both locations are chmod 755 so should be writeable by any user ..so I'm stumped on why the PVR searches can't be saved?

If I go to download something directly I see a different error:

Code: Select all
INFO: User prefs dir: /.get_iplayer
INFO: System options dir: /etc/get_iplayer/options
INFO: webrequest OPT: pid=b00r7lv6
INFO: webrequest OPT: type=tv
INFO: webrequest OPT: modes=flashvhigh1,flashvhigh2,flashhigh1,flashhigh2
INFO: webrequest OPT: force=0
INFO: webrequest OPT: refreshfuture=0
INFO: webrequest OPT: subtitles=1
INFO: webrequest OPT: hide=1
INFO: webrequest OPT: output=/Users/frontrow/Movies/
INFO: webrequest OPT: thumb=1
INFO: webrequest OPT: metadata=generic
Current options:
   expiry = 999999999
   ffmpeg = /usr/bin/ffmpeg
   flvstreamer = /usr/bin/flvstreamer
   hash = 1
   hide = 1
   metadata = generic
   modes = flashvhigh1,flashvhigh2,flashhigh1,flashhigh2
   nocopyright = 1
   nopurge = 1
   output = /Users/frontrow/Movies/
   pid = b00r7lv6
   subtitles = 1
   thumb = 1
   type = tv
   verbose = 1

INFO: Will try prog types: tv
INFO: Loaded history for first check.
INFO: Loading recordings history
INFO: Programme not in history
INFO: Got 883 file cache entries for tv
INFO Trying to stream pid using type tv
INFO: pid found in cache
Matches:
36:   Antiques Roadshow: Series 32 - 21. Leeds, BBC HD, Antiques,Factual,Lifestyle & Leisure,TV, default,

INFO: 1 Matching Programmes
INFO: Programme not in history
INFO: Getting page http://feeds.bbc.co.uk/iplayer/episode/b00r7lv6
INFO: Getting page http://www.bbc.co.uk/programmes/b00r7lv6.rdf
INFO: iPlayer metadata URL = http://www.bbc.co.uk/iplayer/playlist/b00r7lv6
INFO: Getting page http://www.bbc.co.uk/iplayer/playlist/b00r7lv6
INFO: Using Not Live standard TV and Radio: b00r7lss
INFO: Version: default, VersionPid: b00r7lss, Duration: 3540
INFO: Getting page http://www.bbc.co.uk/mediaselector/4/mtis/stream/b00r7lss?cb=32897
INFO: Found mode flashhd1: (iplayer_streaming_h264_flv_hd) rtmp h264 1280x720 3200kbps stream (CDN: akamai/10)
INFO: Found mode flashhd2: (iplayer_streaming_h264_flv_hd) rtmp h264 1280x720 3200kbps stream (CDN: level3/5)
INFO: Found mode flashhigh1: (iplayer_streaming_h264_flv) rtmp h264 640x360 796kbps stream (CDN: limelight/10)
INFO: Found mode flashhigh2: (iplayer_streaming_h264_flv) rtmp h264 640x360 796kbps stream (CDN: akamai/5)
INFO: Found mode flashstd1: (iplayer_streaming_h264_flv_lo) rtmp h264 640x360 480kbps stream (CDN: limelight/10)
INFO: Found mode flashstd2: (iplayer_streaming_h264_flv_lo) rtmp h264 640x360 480kbps stream (CDN: akamai/5)
INFO: Found mode flashvhigh1: (iplayer_streaming_h264_flv_high) rtmp h264 832x468 1500kbps stream (CDN: limelight/10)
INFO: Found mode flashvhigh2: (iplayer_streaming_h264_flv_high) rtmp h264 832x468 1500kbps stream (CDN: akamai/5)
INFO: Found mode n95_3g1: (iplayer_streaming_n95_3g) 3gp h264 176x96 102kbps stream (CDN: sis/10)
INFO: Found mode n95_wifi1: (iplayer_streaming_n95_wifi) 3gp h264 320x176 184kbps stream (CDN: sis/10)
INFO: Found mode subtitles1: (captions) http stream (CDN: http/10)
INFO: Getting page http://www.bbc.co.uk/programmes/b00r7lss.rdf
INFO: Programme not in history
INFO: Will search for versions: default
INFO: Mode list: flashvhigh1,flashvhigh2,flashhigh1,flashhigh2
INFO: Checking existence of default version
INFO: Version = default
INFO: flashvhigh1,flashvhigh2,flashhigh1,flashhigh2 modes will be tried for version default
INFO: Trying flashvhigh1 mode to record tv: Antiques Roadshow: Series 32 - 21. Leeds
INFO: Attempt number: 1 / 50

INFO: File name prefix = Antiques_Roadshow_Series_32_-_21._Leeds_b00r7lv6_default                 

INFO: Getting Subtitles from http://www.bbc.co.uk/iplayer/subtitles/ng/b00r/7lss/b00r7lss_prepared.xml
INFO: Getting page http://www.bbc.co.uk/iplayer/subtitles/ng/b00r/7lss/b00r7lss_prepared.xml
INFO: Downloading Subtitles to '/mnt/Scratch/Users/frontrow/Movies/Antiques_Roadshow_Series_32_-_21._Leeds_b00r7lv6_default.srt'
INFO: /usr/bin/flvstreamer version 1.9
INFO: RTMP_URL: rtmp://bbcmedia.fcod.llnwd.net:1935/ondemand?_fcs_vhost=bbcmedia.fcod.llnwd.net&auth=s=1267494142&e=1267580542&h=5d6c3e9a8749d5b6a81548a18e92668f&aifp=v001&slist=mp4:iplayerstream/secure_auth/1500kbps/b000r7lssh264_high_147441938, tcUrl: rtmp://bbcmedia.fcod.llnwd.net:1935/a1414/e3, application: a1414/e3, authString: s=1267494142&e=1267580542&h=5d6c3e9a8749d5b6a81548a18e92668f, swfUrl: http://www.bbc.co.uk/emp/10player.swf?revision=15501_15796, file: /mnt/Scratch/Users/frontrow/Movies/Antiques_Roadshow_Series_32_-_21._Leeds_b00r7lv6_default.partial.mp4, file_done: /mnt/Scratch/Users/frontrow/Movies/Antiques_Roadshow_Series_32_-_21._Leeds_b00r7lv6_default.mp4


INFO: Command: /usr/bin/flvstreamer --port 1935 --protocol 0 --playpath mp4:iplayerstream/secure_auth/1500kbps/b000r7lssh264_high_147441938?s=1267494142&e=1267580542&h=5d6c3e9a8749d5b6a81548a18e92668f --host bbcmedia.fcod.llnwd.net --swfUrl http://www.bbc.co.uk/emp/10player.swf?revision=15501_15796 --tcUrl rtmp://bbcmedia.fcod.llnwd.net:1935/a1414/e3 --app a1414/e3 --hashes --resume -o /mnt/Scratch/Users/frontrow/Movies/Antiques_Roadshow_Series_32_-_21._Leeds_b00r7lv6_default.partial.mp4.flv --timFLVStreamer v1.9
(c) 2009 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
eout 10 --verbose


DEBUG: Protocol : RTMP

DEBUG: Hostname : bbcmedia.fcod.llnwd.net

DEBUG: Port     : 1935

DEBUG: Playpath : mp4:iplayerstream/secure_auth/1500kbps/b000r7lssh264_high_147441938?s=1267494142&e=1267580542&h=5d6c3e9a8749d5b6a81548a18e92668f

DEBUG: tcUrl    : rtmp://bbcmedia.fcod.llnwd.net:1935/a1414/e3

DEBUG: swfUrl   : http://www.bbc.co.uk/emp/10player.swf?revision=15501_15796

DEBUG: app      : a1414/e3

DEBUG: flashVer : LNX 10,0,22,87

DEBUG: live     : no

DEBUG: timeout  : 10 sec
Failed to open file! /mnt/Scratch/Users/frontrow/Movies/Antiques_Roadshow_Series_32_-_21._Leeds_b00r7lv6_default.partial.mp4.flv
INFO: Command exit code 1 (raw code = 256)
WARNING: Failed to stream file /mnt/Scratch/Users/frontrow/Movies/Antiques_Roadshow_Series_32_-_21._Leeds_b00r7lv6_default.partial.mp4.flv via RTMP
DEBUG: Record using flashvhigh1 mode return code: 'next'
INFO: skipping flashvhigh1 mode
INFO: Trying flashvhigh2 mode to record tv: Antiques Roadshow: Series 32 - 21. Leeds
INFO: Attempt number: 1 / 50

INFO: File name prefix = Antiques_Roadshow_Series_32_-_21._Leeds_b00r7lv6_default                 

INFO: Getting Subtitles from http://www.bbc.co.uk/iplayer/subtitles/ng/b00r/7lss/b00r7lss_prepared.xml
INFO: Getting page http://www.bbc.co.uk/iplayer/subtitles/ng/b00r/7lss/b00r7lss_prepared.xml
INFO: Downloading Subtitles to '/mnt/Scratch/Users/frontrow/Movies/Antiques_Roadshow_Series_32_-_21._Leeds_b00r7lv6_default.srt'
INFO: /usr/bin/flvstreamer version 1.9
INFO: RTMP_URL: rtmp://cp41752.edgefcs.net:1935/ondemand?_fcs_vhost=cp41752.edgefcs.net&auth=dbEdIdobtdTdLbBcndzaKbiavcGatdSb2be-blJrw.-c0-d0i_-FqpEJqBqMCuGqzH&aifp=v001&slist=mp4:secure/1500kbps/b000r7lssh264_high_147441938, tcUrl: rtmp://cp41752.edgefcs.net:80/ondemand?_fcs_vhost=cp41752.edgefcs.net&auth=dbEdIdobtdTdLbBcndzaKbiavcGatdSb2be-blJrw.-c0-d0i_-FqpEJqBqMCuGqzH&aifp=v001&slist=secure/1500kbps/b000r7lssh264_high_147441938, application: ondemand?_fcs_vhost=cp41752.edgefcs.net&auth=dbEdIdobtdTdLbBcndzaKbiavcGatdSb2be-blJrw.-c0-d0i_-FqpEJqBqMCuGqzH&aifp=v001&slist=secure/1500kbps/b000r7lssh264_high_147441938, authString: dbEdIdobtdTdLbBcndzaKbiavcGatdSb2be-blJrw.-c0-d0i_-FqpEJqBqMCuGqzH, swfUrl: http://www.bbc.co.uk/emp/10player.swf?revision=15501_15796, file: /mnt/Scratch/Users/frontrow/Movies/Antiques_Roadshow_Series_32_-_21._Leeds_b00r7lv6_default.partial.mp4, file_done: /mnt/Scratch/Users/frontrow/Movies/Antiques_Roadshow_Series_32_-_21._Leeds_b00r7lv6_default.mp4


INFO: Command: /usr/bin/flvstreamer --port 1935 --protocol 0 --playpath mp4:secure/1500kbps/b000r7lssh264_high_147441938?auth=dbEdIdobtdTdLbBcndzaKbiavcGatdSb2be-blJrw.-c0-d0i_-FqpEJqBqMCuGqzH&aifp=v001 --host cp41752.edgefcs.net --swfUrl http://www.bbc.co.uk/emp/10player.swf?revision=15501_15796 --tcUrl rtmp://cp41752.edgefcs.net:80/ondemand?_fcs_vhost=cp41752.edgefcs.net&auth=dbEdIdobtdTdLbBcndzaKbiavcGatdSb2be-blJrw.-c0-d0i_-FqpEJqBqMCuGqzH&aifp=v001&slist=secure/1500kbps/b000r7lssh264_high_147441938 --app ondemand?_fcs_vhost=cp41752.edgefcs.net&auth=dbEdIdobtdTdLbBcndzaKbiavcGatdSb2be-blJrw.-c0-d0i_-FqpEJqBqMCuGqzH&aifp=v001&slist=secure/1500kbps/b000r7lssh264_high_147441938 --hashes --resume -o /mnt/Scratch/Users/frontrow/Movies/Antiques_Roadshow_Series_32_-_21._Leeds_b00r7lv6_default.partial.mp4.flv --timeout 10 --verbose

FLVStreamer v1.9
(c) 2009 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL

DEBUG: Protocol : RTMP

DEBUG: Hostname : cp41752.edgefcs.net

DEBUG: Port     : 1935

DEBUG: Playpath : mp4:secure/1500kbps/b000r7lssh264_high_147441938?auth=dbEdIdobtdTdLbBcndzaKbiavcGatdSb2be-blJrw.-c0-d0i_-FqpEJqBqMCuGqzH&aifp=v001

DEBUG: tcUrl    : rtmp://cp41752.edgefcs.net:80/ondemand?_fcs_vhost=cp41752.edgefcs.net&auth=dbEdIdobtdTdLbBcndzaKbiavcGatdSb2be-blJrw.-c0-d0i_-FqpEJqBqMCuGqzH&aifp=v001&slist=secure/1500kbps/b000r7lssh264_high_147441938

DEBUG: swfUrl   : http://www.bbc.co.uk/emp/10player.swf?revision=15501_15796

DEBUG: app      : ondemand?_fcs_vhost=cp41752.edgefcs.net&auth=dbEdIdobtdTdLbBcndzaKbiavcGatdSb2be-blJrw.-c0-d0i_-FqpEJqBqMCuGqzH&aifp=v001&slist=secure/1500kbps/b000r7lssh264_high_147441938

DEBUG: flashVer : LNX 10,0,22,87

DEBUG: live     : no

DEBUG: timeout  : 10 sec
Failed to open file! /mnt/Scratch/Users/frontrow/Movies/Antiques_Roadshow_Series_32_-_21._Leeds_b00r7lv6_default.partial.mp4.flv
INFO: Command exit code 1 (raw code = 256)
WARNING: Failed to stream file /mnt/Scratch/Users/frontrow/Movies/Antiques_Roadshow_Series_32_-_21._Leeds_b00r7lv6_default.partial.mp4.flv via RTMP
DEBUG: Record using flashvhigh2 mode return code: 'next'
INFO: skipping flashvhigh2 mode
INFO: Trying flashhigh1 mode to record tv: Antiques Roadshow: Series 32 - 21. Leeds
INFO: Attempt number: 1 / 50

INFO: File name prefix = Antiques_Roadshow_Series_32_-_21._Leeds_b00r7lv6_default                 

INFO: Getting Subtitles from http://www.bbc.co.uk/iplayer/subtitles/ng/b00r/7lss/b00r7lss_prepared.xml
INFO: Getting page http://www.bbc.co.uk/iplayer/subtitles/ng/b00r/7lss/b00r7lss_prepared.xml
INFO: Downloading Subtitles to '/mnt/Scratch/Users/frontrow/Movies/Antiques_Roadshow_Series_32_-_21._Leeds_b00r7lv6_default.srt'
INFO: /usr/bin/flvstreamer version 1.9
INFO: RTMP_URL: rtmp://bbcmedia.fcod.llnwd.net:1935/ondemand?_fcs_vhost=bbcmedia.fcod.llnwd.net&auth=s=1267494142&e=1267580542&h=e0f860d1fd99721e56b18e0ba34cc5dc&aifp=v001&slist=mp4:iplayerstream/secure_auth/b000r7lssH264147441938, tcUrl: rtmp://bbcmedia.fcod.llnwd.net:1935/a1414/e3, application: a1414/e3, authString: s=1267494142&e=1267580542&h=e0f860d1fd99721e56b18e0ba34cc5dc, swfUrl: http://www.bbc.co.uk/emp/10player.swf?revision=15501_15796, file: /mnt/Scratch/Users/frontrow/Movies/Antiques_Roadshow_Series_32_-_21._Leeds_b00r7lv6_default.partial.mp4, file_done: /mnt/Scratch/Users/frontrow/Movies/Antiques_Roadshow_Series_32_-_21._Leeds_b00r7lv6_default.mp4


INFO: Command: /usr/bin/flvstreamer --port 1935 --protocol 0 --playpath mp4:iplayerstream/secure_auth/b000r7lssH264147441938?s=1267494142&e=1267580542&h=e0f860d1fd99721e56b18e0ba34cc5dc --host bbcmedia.fcod.llnwd.net --swfUrl http://www.bbc.co.uk/emp/10player.swf?revision=15501_15796 --tcUrl rtmp://bbcmedia.fcod.llnwd.net:1935/a1414/e3 --app a1414/e3 --hashes --resume -o /mnt/Scratch/Users/frontrow/Movies/Antiques_Roadshow_Series_32_-_21._Leeds_b00r7lv6_default.partial.mp4.flv --timeout 10 --verbose

FLVStreamer v1.9
(c) 2009 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL

DEBUG: Protocol : RTMP

DEBUG: Hostname : bbcmedia.fcod.llnwd.net

DEBUG: Port     : 1935

DEBUG: Playpath : mp4:iplayerstream/secure_auth/b000r7lssH264147441938?s=1267494142&e=1267580542&h=e0f860d1fd99721e56b18e0ba34cc5dc

DEBUG: tcUrl    : rtmp://bbcmedia.fcod.llnwd.net:1935/a1414/e3

DEBUG: swfUrl   : http://www.bbc.co.uk/emp/10player.swf?revision=15501_15796

DEBUG: app      : a1414/e3

DEBUG: flashVer : LNX 10,0,22,87

DEBUG: live     : no

DEBUG: timeout  : 10 sec
Failed to open file! /mnt/Scratch/Users/frontrow/Movies/Antiques_Roadshow_Series_32_-_21._Leeds_b00r7lv6_default.partial.mp4.flv
INFO: Command exit code 1 (raw code = 256)
WARNING: Failed to stream file /mnt/Scratch/Users/frontrow/Movies/Antiques_Roadshow_Series_32_-_21._Leeds_b00r7lv6_default.partial.mp4.flv via RTMP
DEBUG: Record using flashhigh1 mode return code: 'next'
INFO: skipping flashhigh1 mode
INFO: Trying flashhigh2 mode to record tv: Antiques Roadshow: Series 32 - 21. Leeds
INFO: Attempt number: 1 / 50

INFO: File name prefix = Antiques_Roadshow_Series_32_-_21._Leeds_b00r7lv6_default                 

INFO: Getting Subtitles from http://www.bbc.co.uk/iplayer/subtitles/ng/b00r/7lss/b00r7lss_prepared.xml
INFO: Getting page http://www.bbc.co.uk/iplayer/subtitles/ng/b00r/7lss/b00r7lss_prepared.xml
INFO: Downloading Subtitles to '/mnt/Scratch/Users/frontrow/Movies/Antiques_Roadshow_Series_32_-_21._Leeds_b00r7lv6_default.srt'
INFO: /usr/bin/flvstreamer version 1.9
INFO: RTMP_URL: rtmp://cp41752.edgefcs.net:1935/ondemand?_fcs_vhost=cp41752.edgefcs.net&auth=dbEc2cLcgbmbwcwbfc7dMcibubndcbRcEa6-blJrw.-c0-d0i_-FpsFGoyoHDpFsyL&aifp=v001&slist=mp4:secure/b000r7lssH264147441938, tcUrl: rtmp://cp41752.edgefcs.net:80/ondemand?_fcs_vhost=cp41752.edgefcs.net&auth=dbEc2cLcgbmbwcwbfc7dMcibubndcbRcEa6-blJrw.-c0-d0i_-FpsFGoyoHDpFsyL&aifp=v001&slist=secure/b000r7lssH264147441938, application: ondemand?_fcs_vhost=cp41752.edgefcs.net&auth=dbEc2cLcgbmbwcwbfc7dMcibubndcbRcEa6-blJrw.-c0-d0i_-FpsFGoyoHDpFsyL&aifp=v001&slist=secure/b000r7lssH264147441938, authString: dbEc2cLcgbmbwcwbfc7dMcibubndcbRcEa6-blJrw.-c0-d0i_-FpsFGoyoHDpFsyL, swfUrl: http://www.bbc.co.uk/emp/10player.swf?revision=15501_15796, file: /mnt/Scratch/Users/frontrow/Movies/Antiques_Roadshow_Series_32_-_21._Leeds_b00r7lv6_default.partial.mp4, file_done: /mnt/Scratch/Users/frontrow/Movies/Antiques_Roadshow_Series_32_-_21._Leeds_b00r7lv6_default.mp4


INFO: Command: /usr/bin/flvstreamer --port 1935 --protocol 0 --playpath mp4:secure/b000r7lssH264147441938?auth=dbEc2cLcgbmbwcwbfc7dMcibubndcbRcEa6-blJrw.-c0-d0i_-FpsFGoyoHDpFsyL&aifp=v001 --host cp41752.edgefcs.net --swfUrl http://www.bbc.co.uk/emp/10player.swf?revision=15501_15796 --tcUrl rtmp://cp41752.edgefcs.net:80/ondemand?_fcs_vhost=cp41752.edgefcs.net&auth=dbEc2cLcgbmbwcwbfc7dMcibubndcbRcEa6-blJrw.-c0-d0i_-FpsFGoyoHDpFsyL&aifp=v001&slist=secure/b000r7lssH264147441938 --app ondemand?_fcs_vhost=cp41752.edgefcs.net&auth=dbEc2cLcgbmbwcwbfc7dMcibubndcbRcEa6-blJrw.-c0-d0i_-FpsFGoyoHDpFsyL&aifp=v001&slist=secure/b000r7lssH264147441938 --hashes --resume -o /mnt/Scratch/Users/frontrow/Movies/Antiques_Roadshow_Series_32_-_21._Leeds_b00r7lv6_default.partial.mp4.flv --timeout 10 --verbose

FLVStreamer v1.9
(c) 2009 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL

DEBUG: Protocol : RTMP

DEBUG: Hostname : cp41752.edgefcs.net

DEBUG: Port     : 1935

DEBUG: Playpath : mp4:secure/b000r7lssH264147441938?auth=dbEc2cLcgbmbwcwbfc7dMcibubndcbRcEa6-blJrw.-c0-d0i_-FpsFGoyoHDpFsyL&aifp=v001

DEBUG: tcUrl    : rtmp://cp41752.edgefcs.net:80/ondemand?_fcs_vhost=cp41752.edgefcs.net&auth=dbEc2cLcgbmbwcwbfc7dMcibubndcbRcEa6-blJrw.-c0-d0i_-FpsFGoyoHDpFsyL&aifp=v001&slist=secure/b000r7lssH264147441938

DEBUG: swfUrl   : http://www.bbc.co.uk/emp/10player.swf?revision=15501_15796

DEBUG: app      : ondemand?_fcs_vhost=cp41752.edgefcs.net&auth=dbEc2cLcgbmbwcwbfc7dMcibubndcbRcEa6-blJrw.-c0-d0i_-FpsFGoyoHDpFsyL&aifp=v001&slist=secure/b000r7lssH264147441938

DEBUG: flashVer : LNX 10,0,22,87

DEBUG: live     : no

DEBUG: timeout  : 10 sec
Failed to open file! /mnt/Scratch/Users/frontrow/Movies/Antiques_Roadshow_Series_32_-_21._Leeds_b00r7lv6_default.partial.mp4.flv
INFO: Command exit code 1 (raw code = 256)
WARNING: Failed to stream file /mnt/Scratch/Users/frontrow/Movies/Antiques_Roadshow_Series_32_-_21._Leeds_b00r7lv6_default.partial.mp4.flv via RTMP
DEBUG: Record using flashhigh2 mode return code: 'next'
INFO: skipping flashhigh2 mode
ERROR: Failed to record 'Antiques Roadshow: Series 32 - 21. Leeds (b00r7lv6)'

I'm running through a squid proxy (lines removed from the above output for security/privacy) ..which works

Code: Select all
bash-2.05b# ls -l /mnt/Scratch/Users/frontrow/
drwxr-xr-x    7 root  wheel    238 Mar  2 11:50 Movies

bash-2.05b# ls -l /mnt/Scratch/Users/frontrow/Movies/
total 612680
-rwxr-xr-x    1 root      wheel      15551331 Mar  2 11:42 BBC_Weather_-_01_03_2010_b00r5ywl_default.mp4
-rwxr-xr-x    1 root      wheel       7025 Mar  2 07:23 MasterChef_Series_6_-_Episode_5_b00r4w4p_default.jpg
-rwxr-xr-x    1 root      wheel  298098057 Mar  2 07:23 MasterChef_Series_6_-_Episode_5_b00r4w4p_default.mp4
-rwxr-xr-x    1 root      wheel      29516 Mar  2 06:26 MasterChef_Series_6_-_Episode_5_b00r4w4p_default.srt

Again.. everything has been chmod 755'd so should be writeable. NB: the files downloaded in the folder were done from the CLI, not via WebPVR.

Any suggestions!?
chewitt
 
Posts: 9
Joined: 01 Mar 2010 15:20

Re: Web PVR on AppleTV problems..

Postby linuxcentre » 02 Mar 2010 17:45

Both locations are chmod 755 so should be writeable by any user

chmod 777 is I think what you meant to use.
Have you tried the SetEnv HOME stuffas per the instructions in README-get_iplayer.cgi.txt ?
linuxcentre
Site Admin
 
Posts: 306
Joined: 31 Dec 2009 17:29

Re: Web PVR on AppleTV problems..

Postby chewitt » 03 Mar 2010 04:56

I hadn't used SetEnv; this created a new .get_iplayer folder in the webserver root. I also chmod 777'd the script files and directories. This didn't achieve anything until I also set the recordings directory to be the webserver root folder. That was the missing trick so all is working now. I just need to move recordings to a sub-folder of the webserver root and then symlink that directory back to where the various AppleTV player apps expect the content to live.

NB: I plan to reset the AppleTV box and redo things cleanly as a test of the instructions I've been compiling. I'll post them here as a FAQ once they're repeatable.
chewitt
 
Posts: 9
Joined: 01 Mar 2010 15:20


Return to help



Who is online

Users browsing this forum: No registered users and 2 guests

./cache/ is NOT writable.