Please see below ...

On 04/03/2018 00:24, RS wrote:

On 03/03/18 23:44, MacFH - C E Macfarlane wrote:

But as the OP is changing over to Linux, perhaps the de facto standard 'dos2unix' would be a more appropriate recommendation.

Thanks for the suggestion but I don't think I need to convert the download_history file (although gedit complained about invalid UTF-8 characters) and thanks to Ralph's command I now have an options file which consistently uses 0x0D as a line terminator.

You seem to be confused about which line terminators are used by each operating system, so to confirm:
    OS        Mnem    Hex code
    ---------------------------------
    Linux    LF           0x0A
    Mac     CR           0x0D (I believe)
    Win     CRLF       0x0D0x0A

I can't recall ever trying to copy windows GiP data over to Linux, so I can't comment on whether the 'wrong' line terminator will make any difference, but, as the engine interpreting the files is Perl rather than the underlying OS, perhaps it won't matter to GiP at all.  However, if you try to edit the file in a native editor such as GEdit, then yes, you should expect problems.   I think I'd be inclined to make a backup copy of the entire GiP data directory, I mean the one usually called .get_iplayer containing the options and download_history files that we've been discussing, and then run dos2unix on options, download_history, and either delete the caches so that they are remade, or run dos2unix on those as well.

Regards Charles.

_______________________________________________
get_iplayer mailing list
get_iplayer@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/get_iplayer

Reply via email to