9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] audio/mkplist vs errors
@ 2022-08-25 14:47 Stanley Lieber
  2022-08-25 21:35 ` Sigrid Solveig Haflínudóttir
  0 siblings, 1 reply; 6+ messages in thread
From: Stanley Lieber @ 2022-08-25 14:47 UTC (permalink / raw)
  To: 9front

[-- Attachment #1: Type: text/plain, Size: 530 bytes --]

; audio/mkplist /n/rachael/n/no1/music/flac >lib/plist

any errors encountered, such as mangled filenames on alien file systems (fat32) that cannot actually be accessed by plan 9, or files mkplist interprets as having “no duration” result in no output at all. mkplist ran over my entire music collection (over 1tb of files), printing occasional errors of this nature, and finally produced a zero byte file. in a test, i ran it over a subset of files that generated no such errors, and a working plist was produced.

sl


[-- Attachment #2: Type: text/html, Size: 838 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9front] audio/mkplist vs errors
  2022-08-25 14:47 [9front] audio/mkplist vs errors Stanley Lieber
@ 2022-08-25 21:35 ` Sigrid Solveig Haflínudóttir
  2022-08-25 21:47   ` Sigrid Solveig Haflínudóttir
  2022-08-25 22:07   ` Stanley Lieber
  0 siblings, 2 replies; 6+ messages in thread
From: Sigrid Solveig Haflínudóttir @ 2022-08-25 21:35 UTC (permalink / raw)
  To: 9front

Quoth Stanley Lieber <sl@stanleylieber.com>:
> ; audio/mkplist /n/rachael/n/no1/music/flac >lib/plist
> 
> any errors encountered, such as mangled filenames on alien file systems (fat32) that cannot actually be accessed by plan 9, or files mkplist interprets as having “no duration” result in no output at all. mkplist ran over my entire music collection (over 1tb of files), printing occasional errors of this nature, and finally produced a zero byte file. in a test, i ran it over a subset of files that generated no such errors, and a working plist was produced.

I cannot reproduce here.  Could you give more details on what the
errors look like?  How many tracks do you have?

;  audio/mkplist /n/w/_/edk2/EmulatorPkg/Unix/Host/
/n/w/_/edk2/EmulatorPkg/Unix/Host/X11IncludeHack: '/n/w/_/edk2/EmulatorPkg/Unix/Host/X11IncludeHack' does not exist
/n/w/_/edk2/EmulatorPkg/Unix/Host/55db501c53ce45804c81307e9433064d72e38e13.svn-base: no duration
/n/w/_/edk2/EmulatorPkg/Unix/Host/2.mp3: '/n/w/_/edk2/EmulatorPkg/Unix/Host/2.mp3' permission denied
no artists: /n/w/_/edk2/EmulatorPkg/Unix/Host/55db501c53ce45804c81307e9433064d72e38e13.svn-base
p /n/w/_/edk2/EmulatorPkg/Unix/Host/55db501c53ce45804c81307e9433064d72e38e13.svn-base
f mod
t ëPNG

p /n/w/_/edk2/EmulatorPkg/Unix/Host/1.mp3
f mp3
A cinap
a 9front
t mckinsey2
T 0
D 55408

found 2 tagged tracks


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9front] audio/mkplist vs errors
  2022-08-25 21:35 ` Sigrid Solveig Haflínudóttir
@ 2022-08-25 21:47   ` Sigrid Solveig Haflínudóttir
  2022-08-25 23:21     ` Stanley Lieber
  2022-08-25 22:07   ` Stanley Lieber
  1 sibling, 1 reply; 6+ messages in thread
From: Sigrid Solveig Haflínudóttir @ 2022-08-25 21:47 UTC (permalink / raw)
  To: 9front

Quoth Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>:
> Quoth Stanley Lieber <sl@stanleylieber.com>:
> > ; audio/mkplist /n/rachael/n/no1/music/flac >lib/plist
> > 
> > any errors encountered, such as mangled filenames on alien file systems (fat32) that cannot actually be accessed by plan 9, or files mkplist interprets as having “no duration” result in no output at all. mkplist ran over my entire music collection (over 1tb of files), printing occasional errors of this nature, and finally produced a zero byte file. in a test, i ran it over a subset of files that generated no such errors, and a working plist was produced.
> 
> I cannot reproduce here.  Could you give more details on what the
> errors look like?  How many tracks do you have?
> 
> ;  audio/mkplist /n/w/_/edk2/EmulatorPkg/Unix/Host/
> /n/w/_/edk2/EmulatorPkg/Unix/Host/X11IncludeHack: '/n/w/_/edk2/EmulatorPkg/Unix/Host/X11IncludeHack' does not exist
> /n/w/_/edk2/EmulatorPkg/Unix/Host/55db501c53ce45804c81307e9433064d72e38e13.svn-base: no duration
> /n/w/_/edk2/EmulatorPkg/Unix/Host/2.mp3: '/n/w/_/edk2/EmulatorPkg/Unix/Host/2.mp3' permission denied
> no artists: /n/w/_/edk2/EmulatorPkg/Unix/Host/55db501c53ce45804c81307e9433064d72e38e13.svn-base
> p /n/w/_/edk2/EmulatorPkg/Unix/Host/55db501c53ce45804c81307e9433064d72e38e13.svn-base
> f mod
> t ëPNG
> 
> p /n/w/_/edk2/EmulatorPkg/Unix/Host/1.mp3
> f mp3
> A cinap
> a 9front
> t mckinsey2
> T 0
> D 55408
> 
> found 2 tagged tracks
> 

Just realized (while reading the code) that it would sysfatal if a
directory is not accessible.  Pushed a fix.  Thanks for the report!

Please test again.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9front] audio/mkplist vs errors
  2022-08-25 21:35 ` Sigrid Solveig Haflínudóttir
  2022-08-25 21:47   ` Sigrid Solveig Haflínudóttir
@ 2022-08-25 22:07   ` Stanley Lieber
  1 sibling, 0 replies; 6+ messages in thread
From: Stanley Lieber @ 2022-08-25 22:07 UTC (permalink / raw)
  To: 9front

34614 tracks on a fat32 formatted usb drive attached to a remote openbsd machine mounted over sshfs.

errors look something like this (truncated example from the tail end; there were a lot):

8-Tical_2000/21_Snuffed_Out_Skit_ft_Streetlife-Method_Man.flac: no duration
/n/rachael/n/no1/music/flac/Method_Man/Method_Man/Albums/1998-Tical_2000/22_Elements_ft_Star_Polite-Method_Man.flac: no duration
/n/rachael/n/no1/music/flac/Method_Man/Method_Man/Albums/1998-Tical_2000/23_Killin_Fields-Method_Man.flac: no duration
/n/rachael/n/no1/music/flac/Method_Man/Method_Man/Albums/1998-Tical_2000/24_Big_Dogs_ft_Redman-Method_Man.flac: no duration
/n/rachael/n/no1/music/flac/Method_Man/Method_Man/Albums/1998-Tical_2000/25_Break_Ups_2_Make_Ups_ft_DAngelo-Method_Man.flac: no duration
/n/rachael/n/no1/music/flac/Method_Man/Method_Man/Albums/1998-Tical_2000/26_Message_From_Penny_Skit-Method_Man.flac: no duration
/n/rachael/n/no1/music/flac/Method_Man/Method_Man/Albums/1998-Tical_2000/27_Judgement_Day-Method_Man.flac: no duration
/n/rachael/n/no1/music/flac/Method_Man/Method_Man/Albums/1998-Tical_2000/28_C.E.O.Utro-Method_Man.flac: no duration
audio/mkplist: /n/rachael/n/no1/music/flac/Method_Man/Method_Man/Singles/Method�Man�&�Redman�-�How�High�(1995)�(Def�Jam): '.../Method_Man/Singles/Method�Man�&�Redman�-�How�High�(1995)�(Def�Jam)' does not exist



> On Aug 25, 2022, at 5:38 PM, Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> wrote:
> 
> Quoth Stanley Lieber <sl@stanleylieber.com>:
>> ; audio/mkplist /n/rachael/n/no1/music/flac >lib/plist
>> 
>> any errors encountered, such as mangled filenames on alien file systems (fat32) that cannot actually be accessed by plan 9, or files mkplist interprets as having “no duration” result in no output at all. mkplist ran over my entire music collection (over 1tb of files), printing occasional errors of this nature, and finally produced a zero byte file. in a test, i ran it over a subset of files that generated no such errors, and a working plist was produced.
> 
> I cannot reproduce here.  Could you give more details on what the
> errors look like?  How many tracks do you have?
> 
> ;  audio/mkplist /n/w/_/edk2/EmulatorPkg/Unix/Host/
> /n/w/_/edk2/EmulatorPkg/Unix/Host/X11IncludeHack: '/n/w/_/edk2/EmulatorPkg/Unix/Host/X11IncludeHack' does not exist
> /n/w/_/edk2/EmulatorPkg/Unix/Host/55db501c53ce45804c81307e9433064d72e38e13.svn-base: no duration
> /n/w/_/edk2/EmulatorPkg/Unix/Host/2.mp3: '/n/w/_/edk2/EmulatorPkg/Unix/Host/2.mp3' permission denied
> no artists: /n/w/_/edk2/EmulatorPkg/Unix/Host/55db501c53ce45804c81307e9433064d72e38e13.svn-base
> p /n/w/_/edk2/EmulatorPkg/Unix/Host/55db501c53ce45804c81307e9433064d72e38e13.svn-base
> f mod
> t ëPNG
> 
> p /n/w/_/edk2/EmulatorPkg/Unix/Host/1.mp3
> f mp3
> A cinap
> a 9front
> t mckinsey2
> T 0
> D 55408
> 
> found 2 tagged tracks
> 
> 


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9front] audio/mkplist vs errors
  2022-08-25 21:47   ` Sigrid Solveig Haflínudóttir
@ 2022-08-25 23:21     ` Stanley Lieber
  2022-08-25 23:44       ` Sigrid Solveig Haflínudóttir
  0 siblings, 1 reply; 6+ messages in thread
From: Stanley Lieber @ 2022-08-25 23:21 UTC (permalink / raw)
  To: 9front

this fixed it, thank you!

sl

> On Aug 25, 2022, at 5:48 PM, Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> wrote:
> 
> Quoth Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>:
>> Quoth Stanley Lieber <sl@stanleylieber.com>:
>>> ; audio/mkplist /n/rachael/n/no1/music/flac >lib/plist
>>> 
>>> any errors encountered, such as mangled filenames on alien file systems (fat32) that cannot actually be accessed by plan 9, or files mkplist interprets as having “no duration” result in no output at all. mkplist ran over my entire music collection (over 1tb of files), printing occasional errors of this nature, and finally produced a zero byte file. in a test, i ran it over a subset of files that generated no such errors, and a working plist was produced.
>> 
>> I cannot reproduce here.  Could you give more details on what the
>> errors look like?  How many tracks do you have?
>> 
>> ;  audio/mkplist /n/w/_/edk2/EmulatorPkg/Unix/Host/
>> /n/w/_/edk2/EmulatorPkg/Unix/Host/X11IncludeHack: '/n/w/_/edk2/EmulatorPkg/Unix/Host/X11IncludeHack' does not exist
>> /n/w/_/edk2/EmulatorPkg/Unix/Host/55db501c53ce45804c81307e9433064d72e38e13.svn-base: no duration
>> /n/w/_/edk2/EmulatorPkg/Unix/Host/2.mp3: '/n/w/_/edk2/EmulatorPkg/Unix/Host/2.mp3' permission denied
>> no artists: /n/w/_/edk2/EmulatorPkg/Unix/Host/55db501c53ce45804c81307e9433064d72e38e13.svn-base
>> p /n/w/_/edk2/EmulatorPkg/Unix/Host/55db501c53ce45804c81307e9433064d72e38e13.svn-base
>> f mod
>> t ëPNG
>> 
>> p /n/w/_/edk2/EmulatorPkg/Unix/Host/1.mp3
>> f mp3
>> A cinap
>> a 9front
>> t mckinsey2
>> T 0
>> D 55408
>> 
>> found 2 tagged tracks
>> 
> 
> Just realized (while reading the code) that it would sysfatal if a
> directory is not accessible.  Pushed a fix.  Thanks for the report!
> 
> Please test again.
> 
> 


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [9front] audio/mkplist vs errors
  2022-08-25 23:21     ` Stanley Lieber
@ 2022-08-25 23:44       ` Sigrid Solveig Haflínudóttir
  0 siblings, 0 replies; 6+ messages in thread
From: Sigrid Solveig Haflínudóttir @ 2022-08-25 23:44 UTC (permalink / raw)
  To: 9front, Stanley Lieber

Nice. If you send me one of those tracks for which duration could not be calculated I could see what's going on there. It would only matter for seeking but that still looks like a bug.


On August 26, 2022 1:21:22 AM GMT+02:00, Stanley Lieber <sl@stanleylieber.com> wrote:
>this fixed it, thank you!
>
>sl
>
>> On Aug 25, 2022, at 5:48 PM, Sigrid Solveig Haflínudóttir <sigrid@ftrv.se> wrote:
>> 
>> Quoth Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>:
>>> Quoth Stanley Lieber <sl@stanleylieber.com>:
>>>> ; audio/mkplist /n/rachael/n/no1/music/flac >lib/plist
>>>> 
>>>> any errors encountered, such as mangled filenames on alien file systems (fat32) that cannot actually be accessed by plan 9, or files mkplist interprets as having “no duration” result in no output at all. mkplist ran over my entire music collection (over 1tb of files), printing occasional errors of this nature, and finally produced a zero byte file. in a test, i ran it over a subset of files that generated no such errors, and a working plist was produced.
>>> 
>>> I cannot reproduce here.  Could you give more details on what the
>>> errors look like?  How many tracks do you have?
>>> 
>>> ;  audio/mkplist /n/w/_/edk2/EmulatorPkg/Unix/Host/
>>> /n/w/_/edk2/EmulatorPkg/Unix/Host/X11IncludeHack: '/n/w/_/edk2/EmulatorPkg/Unix/Host/X11IncludeHack' does not exist
>>> /n/w/_/edk2/EmulatorPkg/Unix/Host/55db501c53ce45804c81307e9433064d72e38e13.svn-base: no duration
>>> /n/w/_/edk2/EmulatorPkg/Unix/Host/2.mp3: '/n/w/_/edk2/EmulatorPkg/Unix/Host/2.mp3' permission denied
>>> no artists: /n/w/_/edk2/EmulatorPkg/Unix/Host/55db501c53ce45804c81307e9433064d72e38e13.svn-base
>>> p /n/w/_/edk2/EmulatorPkg/Unix/Host/55db501c53ce45804c81307e9433064d72e38e13.svn-base
>>> f mod
>>> t ëPNG
>>> 
>>> p /n/w/_/edk2/EmulatorPkg/Unix/Host/1.mp3
>>> f mp3
>>> A cinap
>>> a 9front
>>> t mckinsey2
>>> T 0
>>> D 55408
>>> 
>>> found 2 tagged tracks
>>> 
>> 
>> Just realized (while reading the code) that it would sysfatal if a
>> directory is not accessible.  Pushed a fix.  Thanks for the report!
>> 
>> Please test again.
>> 
>> 
>

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-08-25 23:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-25 14:47 [9front] audio/mkplist vs errors Stanley Lieber
2022-08-25 21:35 ` Sigrid Solveig Haflínudóttir
2022-08-25 21:47   ` Sigrid Solveig Haflínudóttir
2022-08-25 23:21     ` Stanley Lieber
2022-08-25 23:44       ` Sigrid Solveig Haflínudóttir
2022-08-25 22:07   ` Stanley Lieber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).