Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #44974

Re: Making safe file names

From Dennis Lee Bieber <wlfraed@ix.netcom.com>
Subject Re: Making safe file names
Date 2013-05-08 19:37 -0400
Organization > Bestiaria Support Staff <
References <51895D03.4000300@gmail.com> <CAA=1kxTnyFgLW=N_7mOCNnj75qDHt8Dfd-aYUYD8deLTrUBQ4g@mail.gmail.com> <518989E1.8010701@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.1465.1368056269.3114.python-list@python.org> (permalink)

Show all headers | View raw


On Tue, 07 May 2013 18:10:25 -0500, Andrew Berg
<bahamutzero8825@gmail.com> declaimed the following in
gmane.comp.python.general:

> None of these would work because I would have no idea which file stores data for which artist without writing code to figure it out. If I
> were to end up writing a bug that messed up a few of my cache files and noticed it with a specific artist (e.g., doing a "now playing" and
> seeing the wrong tags), I would either have to manually match up the hash or base64 encoding in order to delete just that file so that it
> gets regenerated or nuke and regenerate my entire cache.
>
	And now you've seen why music players don't show the user the
physical file name, but maintain a database mapping the internal data
(name, artist, track#, album, etc.) to whatever mangled name was needed
to satisfy the file system.
-- 
	Wulfraed                 Dennis Lee Bieber         AF6VN
        wlfraed@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: Making safe file names Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-05-08 19:37 -0400
  Re: Making safe file names Roy Smith <roy@panix.com> - 2013-05-08 20:16 -0400
    Re: Making safe file names Chris Angelico <rosuav@gmail.com> - 2013-05-09 10:27 +1000
    Re: Making safe file names Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-05-09 01:49 +0000
      Re: Making safe file names Roy Smith <roy@panix.com> - 2013-05-08 21:56 -0400
    Re: Making safe file names Andrew Berg <bahamutzero8825@gmail.com> - 2013-05-08 21:11 -0500
      Re: Making safe file names Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-05-09 03:08 +0000
        Re: Making safe file names Roy Smith <roy@panix.com> - 2013-05-09 08:55 -0400
          Re: Making safe file names Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2013-05-10 12:04 +1200
            Re: Making safe file names Tim Chase <python.list@tim.thechases.com> - 2013-05-09 19:17 -0500
        Re: Making safe file names Chris Angelico <rosuav@gmail.com> - 2013-05-09 13:53 +1000

csiph-web