Re: infradead is down
On 2/11/2013 13:39 PM, Chris Marriott wrote: Is there a compelling reason why the settings, cache, pvr file etc. can't be stored in the get_iplayer folder itself? From Windows 7 onwards, an non-privileged application does not have write access to the Program Files folder. That explains why W7 can only run half of my applications when they're outside Program Files. Classic microsoft failure to think things through. Hence settings should be stored under either ApplicationData (for application-wide settings), or Username (for user-specific settings). get_iplayer is correctly following the Windows programming guidelines in the way it stores its data. Which only leaves the questions of whether the guidelines are sensible, and how easy it would be to give the user the option of storing everything on one folder. ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer
Re: infradead is down
On 11 February 2013 11:05, Kapitano kapitan...@gmail.com wrote: On 2/11/2013 13:39 PM, Chris Marriott wrote: Is there a compelling reason why the settings, cache, pvr file etc. can't be stored in the get_iplayer folder itself? From Windows 7 onwards, an non-privileged application does not have write access to the Program Files folder. That explains why W7 can only run half of my applications when they're outside Program Files. Classic microsoft failure to think things through. Hence settings should be stored under either ApplicationData (for application-wide settings), or Username (for user-specific settings). get_iplayer is correctly following the Windows programming guidelines in the way it stores its data. Which only leaves the questions of whether the guidelines are sensible, and how easy it would be to give the user the option of storing everything on one folder. It is eminently sensible to prevent non-privileged access to Program Files. It is a case of Win catching up with Linux. On Linux the get-iplayer program files would normally be /usr/bin (or similar), which again cannot be accessed by a non-priviliged user, with the data files stored under the users home folder. Possibly a solution would be to provide a command line parameter to get-iplayer which would specify where to store the cache and settings, then this would allow running from a usb stick with the data on the stick also. Colin ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer
Re: infradead is down
On 11/02/2013 15:22, Kapitano wrote: On 2/11/2013 14:30 PM, Colin Law wrote: Possibly a solution would be to provide a command line parameter to get-iplayer which would specify where to store the cache and settings, That would be a very good feature, which I suppose I'm hereby requesting. We've already got one for the default download folder. The rights and wrongs of which folders should have what access privileges...is a good nerdy subject on which we won't be able to agree. Shevek wrote: Anything that has a portable install, I put it in C:\Applications I've got over 200 programs on my laptop, and they're *all* portable and outside Program Files. Erm, except for Get_iPlayer. :-). +1 (+1 bonus) for portable option. I'd *love* me some portable GiP. Just this weekend, on an old installation I fell afoul of 2.79's inability to write to the default download location problem. And woe betide me, infradead was down to boot! ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer
Re: infradead is down
On 11/02/2013 10:39, Chris Marriott wrote: From Windows 7 onwards, an non-privileged application does not have write access to the Program Files folder. Hence settings should be stored under either ApplicationData (for application-wide settings), or Username (for user-specific settings). get_iplayer is correctly following the Windows programming guidelines in the way it stores its data. Almost. Microsoft advises you to use %LOCALAPPDATA% (AppData\Local on Vista+, Local Settings on XP), but get_iplayer sticks with the Linux convention of a .get_iplayer folder in %USERPROFILE%. get_iplayer probably should use AppData, but it brings two small annoyances. AppData is a hidden folder, though that would only earn an epithet from the small group of users who want to manually edit presets, pvr searches, etc. Also, get_iplayer would have to detect XP vs Vista+ (and perhaps bring in a Win32 Perl module) since the AppData paths are different and %LOCALAPPDATA% isn't defined on XP. On 11/02/2013 11:30, Colin Law wrote: It is eminently sensible to prevent non-privileged access to Program Files. It is a case of Win catching up with Linux. On Linux the get-iplayer program files would normally be /usr/bin (or similar), which again cannot be accessed by a non-priviliged user, with the data This is the crux of the matter. Both Linux and Windows are multi-user systems that support different access levels for users. That implies that common components like application installations must be protected. The current get_iplayer Windows setup doesn't quite follow Microsoft's guidelines. I think it should (and could), in effect working more like a Linux install. I suspect that not very many people use get_iplayer with multiple users on one machine, but if get_iplayer is going to be on Windows it should play nicely with the system. On 11/02/2013 15:22, Kapitano wrote: On 2/11/2013 14:30 PM, Colin Law wrote: Possibly a solution would be to provide a command line parameter to get-iplayer which would specify where to store the cache and settings, That would be a very good feature, which I suppose I'm hereby requesting. We've already got one for the default download folder. You already have this: --profile-dir The rights and wrongs of which folders should have what access privileges...is a good nerdy subject on which we won't be able to agree. Our agreement is irrelevant. Microsoft makes the rules about access to special folders, so get_iplayer needs to take them into account. I've got over 200 programs on my laptop, and they're *all* portable and outside Program Files. Erm, except for Get_iPlayer. :-). You're not obliged to install get_iplayer in Program Files. The current installer will let you pick a different location, though you won't quite get a portable app because of the settings, registry values, etc., written by the installer. On 11/02/2013 16:50, Christopher Woods (CM) wrote: +1 (+1 bonus) for portable option. I'd *love* me some portable GiP. The next release of get_iplayer will go out with the current installer, in the interest of time. After that, I plan to replace it with a new, simpler installer to go along with some changes to the get_iplayer Windows scripts. The changes I have in mind will enable get_iplayer to be installed as a portable app. I think an improved normal install will go a long way towards the same goals, but a portable app version is an interesting idea. I'll raise this issue again when the time comes. ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer
infradead is down
For me only the lists infradead address works for me, www seems to be completely down, and for some reason Get_iplayer has a phone home functionality that makes the program not start up unless it can connect to that website, it checks for updates then closes itself when it can't permission to open the program from the phonehome server? o_O get_iplayer v2.82, Copyright (C) 2008-2010 Phil Lewis This program comes with ABSOLUTELY NO WARRANTY; for details use --warranty. This is free software, and you are welcome to redistribute it under certain conditions; use --conditions for details. WARNING: Running the updater again to obtain plugins. INFO: Current version is 2.82 INFO: Checking for latest version from www.infradead.org wait about 3 min ERROR: Failed to connect to update site - Update aborted C:\Program Files (x86)\get_iplayer I looked on twitter www.twitter.com/search/realtime?q=get_iplayer , I can't see much info out there, only relevant thing I can see is 3 days ago someone posting similar too: anyone else use get_iplayer .. has get_iplayer stopped worked sic for you recently? www.twitter.com/netean/status/299668670479740928 Hmm :( I suppose the sensible thing would be to modify the source code and remove the phone-home thing since it's all free and open source but I don't know how to :( I am posting up the installer (which doesn't totally work, it installs most of the dependent programs but then hangs when it tries to download the get_iplayer.py from the www.infradead.org site) together with my get_iplayer folder with the missing files that the installer can't download (like get_iplayer.py) www.mega.co.nz/#!XQ0WXDZB!UI36NyGM4vizRJn5fxSRw1x5Nfkq3JHFkvz5BRwybhg!get_iplayer I hope it can help others maybe S ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer
Re: infradead is down
On 10 February 2013 11:10, sarakit...@ymail.com sarakit...@ymail.com wrote: For me only the lists infradead address works for me, www seems to be completely down, and for some reason Get_iplayer has a phone home functionality that makes the program not start up unless it can connect to that website, it checks for updates then closes itself when it can't permission to open the program from the phonehome server? o_O get_iplayer v2.82, Copyright (C) 2008-2010 Phil Lewis This program comes with ABSOLUTELY NO WARRANTY; for details use --warranty. This is free software, and you are welcome to redistribute it under certain conditions; use --conditions for details. WARNING: Running the updater again to obtain plugins. There was a post earlier this morning apologising for the site being down (power outage I believe) and saying that it should be back tomorrow. As to why your get-iplayer is trying to access it (to obtain plugins it says) I don't know. I thought this only ran on the first startup. Colin INFO: Current version is 2.82 INFO: Checking for latest version from www.infradead.org wait about 3 min ERROR: Failed to connect to update site - Update aborted C:\Program Files (x86)\get_iplayer I looked on twitter www.twitter.com/search/realtime?q=get_iplayer , I can't see much info out there, only relevant thing I can see is 3 days ago someone posting similar too: anyone else use get_iplayer .. has get_iplayer stopped worked sic for you recently? www.twitter.com/netean/status/299668670479740928 Hmm :( I suppose the sensible thing would be to modify the source code and remove the phone-home thing since it's all free and open source but I don't know how to :( I am posting up the installer (which doesn't totally work, it installs most of the dependent programs but then hangs when it tries to download the get_iplayer.py from the www.infradead.org site) together with my get_iplayer folder with the missing files that the installer can't download (like get_iplayer.py) www.mega.co.nz/#!XQ0WXDZB!UI36NyGM4vizRJn5fxSRw1x5Nfkq3JHFkvz5BRwybhg!get_iplayer I hope it can help others maybe S ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer
Re: infradead is down
On 10/02/2013 11:59, Colin Law wrote: On 10 February 2013 11:10, sarakit...@ymail.com sarakit...@ymail.com wrote: For me only the lists infradead address works for me, www seems to be completely down, and for some reason Get_iplayer has a phone home functionality that makes the program not start up unless it can connect to that website, it checks for updates then closes itself when it can't permission to open the program from the phonehome server? o_O get_iplayer treats online updates of plugins or the main script as standalone activities, so exits when the update completes (or fails). Of course, that relies on an assumption that plugins would have been installed on first run... As to why your get-iplayer is trying to access it (to obtain plugins it says) I don't know. I thought this only ran on the first startup. It runs for DIY installs that don't have any plugins installed. That usually means only on first run, and then only if get_iplayer wasn't installed by a package manager or installer. However, the plugins check is done on every invocation, so if the plugins have been deleted for some reason, an update will be attempted (and fail in this case) I'm inclined to change get_iplayer so that the plugins check isn't run on every invocation. If you're doing a DIY install, it's reasonable to expect you to run get_iplayer --plugins-update after install, or even just copy the plugins to $HOME/.get_iplayer/plugins yourself. I suppose the sensible thing would be to modify the source code and remove the phone-home thing since it's all free and open source but I don't know how to :( I am posting up the installer (which doesn't totally work, it installs most of the dependent programs but then hangs when it tries to download the get_iplayer.py from the www.infradead.org site) together with my get_iplayer folder with the missing files that the installer can't download (like get_iplayer.py) If there is something you need to download today, just run get_iplayer with --packagemanager=1, which will prevent the plugins update check. ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer
Re: infradead is down
On 10/02/2013 20:23, sarakit...@ymail.com wrote: Thanks a lot for that :) it does start downloading but then fails at the very end though *AFTER* it's finished downloading to 100%? :( Here's the messages it gave from the very start: ... 512569.930 kB / 1749.12 sec (99.9%) Download complete WARNING: Failed to stream file C:\Program Files (x86)\get_iplayer\Charlie_Brooke rs_Weekly_Wipe_-_Episode_2_b01qm41n_default.partial.mp4.flv via RTMP INFO: skipping flashhd1 mode INFO: Trying flashhd2 mode to record tv: Charlie Brooker's Weekly Wipe - Episode 2 INFO: File name prefix = Charlie_Brookers_Weekly_Wipe_-_Episode_2_b01qm41n_defau lt RTMPDump 2.4 git-6230845 2011-9-25 (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL Connecting ... INFO: Connected... Already Completed at: 1749.000 sec Duration=1.749 sec Download complete WARNING: Failed to stream file C:\Program Files (x86)\get_iplayer\Charlie_Brooke rs_Weekly_Wipe_-_Episode_2_b01qm41n_default.partial.mp4.flv via RTMP INFO: skipping flashhd2 mode ERROR: Failed to record 'Charlie Brooker's Weekly Wipe - Episode 2 (b01qm41n)' Reply to the list, not to me. I think this is due to problems with your settings. See below. Yeah, I installed it manually, in rather bad timing I recently reinstalled Windows 7 so I was copying the get_iplayer folder directly from my old computer, but I couldn't find any user settings in my c:\Users\{USERNAME}\AppData\ folders so I'm not sure how it detected it was a new install, I guess because I didn't bother to import the registry setting from the old disk, or something else? [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\get_iplayer] DisplayName=get_iplayer 4.5 DisplayVersion=4.5 URLInfoAbout=http://www.infradead.org/get_iplayer/; Publisher=infradead.org UninstallString=C:\\PROGS\\get_iplayer\\Uninst.exe DisplayIcon=C:\\PROGS\\get_iplayer\\Uninst.exe The registry entries are only relevant to the installer. get_iplayer doesn't use AppData, though I'm considering changing that for the next version of the Windows installer. It's one of several things about the Windows version that isn't very Windows-ish. At present, the installer puts global settings in the file C:\ProgramData\get_iplayer\options, and user settings (including plugins) are stored under C:\Users\{USERNAME}\.get_iplayer (the leading dot betrays the Linux lineage of get_iplayer). I think the fact that you were missing both sets of configuration data on the new machine caused the problem above. One of the settings defines the output directory for the downloaded files. Your output shows that, since that option was undefined, you were downloading into the current working directory for the get_iplayer window, which is the installation directory for get_iplayer (C:\Program Files (x86)\get_iplayer). Unless you've switched off UAC for your account I'm reasonably sure the downloaded file went into your virtualstore shadow copy of C:\Program Files (x86)\get_iplayer, where get_iplayer couldn't locate it after download. Open C:\Program Files (x86)\get_iplayer in Explorer and see if there is a Compatibility Files button above the folder contents. If so, click it and see if your file is there. This is another aspect of the Windows installation I intend to fix. There is no reason get_iplayer needs to run in the installation directory, but if you installed via the Windows installer it sets things up so you don't have to worry about that. Bottom line: wait until Monday and use the get_iplayer installer to set up your new machine. ___ get_iplayer mailing list get_iplayer@lists.infradead.org http://lists.infradead.org/mailman/listinfo/get_iplayer