Latest Bugs & Tasks
Which means it's fixed in master, too, since some time now.
This should work since quite some time now.
The feature is already implemented, although it does not work yet -- but we have ticket #10336 for this. The trimming has to be triggered, though, it doesn't happen in the background. If that is desired, we can open a new ticket for this, though.
Fixed in hrev50005. It's only a workaround, as the actual fix is way more involved -- I'll open a new ticket for that.
Applied in hrev49997.
Since the export can only be done manually for some years now, and it's apparently not an issue then, I'll close the ticket...
Thanks for following up on it!
FFmpeg has implemented support for HEVC/H.265 decoding since October 2013.
It would be nice to see this format supported in Haiku.
Actually, what I wanted with this ticket is to show current time position like it's done on youtube.
Playlist only shows total playlist length. But with I meant with this ticket is to show duration for every track.
dsuden keeps running into this vulnerability ever since I told him about "pkgman install", it's driving me nuts :-)
"Installing" a package which happens to be already installed, actually results in its de-installation (possibly because one of the performed steps, involves moving the "old" hpkg into a 'archive' subfolder of admnistrative, but both the "old" and "new" files are the same ?)
Furthermore, if said package is a dependancy of others, this obviously results in a cascade of consequences, ouch!
Reproducible "show and tell" session coming up below
Some naive enhancement ideas: if one of the package files passed to BPackageManager::Install() matches an already installed package for the specified repository...
- reject the transaction as a whole ?
- reject only that part of the transation ?
- start applying the whole transaction, but abort/fail it at the stage of creating the .hpkg file within /system/packages, before the actual backup-to-archive stage (maybe might be as simple as tweaking an open() call, passing it the O_NOCLOBBER.. flag and throwing an exception if open() returns file-already-exists ?)
- something else ?
Any of the above would result in cutting short the vulnerability exploit before the package gets uninstalled (and its dependancies if any) which would be great by me :-)
First file is displayed with duration
Adding additional files causes a crash
Debug report(s) attached
The current addattr doesn't quite match its help text, wrt the kinds of values one can use for type codes.
Aside from the list of named types (which isn't actually quite complete compared to the choices in the source) the help says one can enter "numeric values", and gives both hex and decimal examples.
However, trying a hex value doesn't work -- only decimal numbers are accepted. This turns out to be because the sscanf format option is "%u" (actually B_SCNu32) which only handles decimal. It has to be B_SCNi32. (Which means it would be allowed to enter a negative value -- just not very sensible...)
The other example entry given is " 'ABCD' ", which apparently is meant to indicate that one can enter 'FourCC' direct type-code representations, but of course that won't work as shown because the shell will strip off the quotes. Escaping the quotes -- \'ABCD\' -- or adding a second layer -- "'ABCD'" -- does work but is not obvious. (I can't think of any other command line that requires such a convention.)
I suggest that another option should be added: "-c ABCD". The current way can still work, but the new option should be fairly evident to anyone.
I'm attaching a patch that addresses both these issues. For reference, here's the amended help test:
usage: addattr [-t type|-c code] [ -P ] attr value file1 [file2...] or: addattr [-f value-from-file] [-t type|-c code] [ -P ] attr file1 [file2...] -P : Don't resolve links The '-t' and '-c' options are alternatives; use one or the other. type is one of: string, mime, int, int32, uint32, llong, int64, uint64, float, double, bool, icon, time, raw or a numeric value (ie. 0x1234, 42, ...), or an escape-quoted type code, eg. \'MICN\' The default is "string" code is a four-char type ID (eg. MICN)
(Sorry -- I can't find a "Component" to enter this under...)
Patch applied in hrev49987.
Patch applied in hrev49985. Thanks!