[FEATURE] Surface MAM's abridged marker as an indexer flag so custom formats can avoid or prefer abridged releases
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 69/100
Línea de trabajo
Start in ParsingService.cs at CleanTitleCruft and trace how MyAnonaMouseJsonParser reads tags and how ParseIndexerFlags maps MAM fields to IndexerFlags. Check existing indexer flag tests and add coverage for the abridged tag, ensuring unabridged does not match; verify the documented browseflags bit if using it. Done means the flag reaches custom formats and appears in queue and interactive search.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Is your feature request related to a problem? Please describe.
There is no way to prefer unabridged releases, or to avoid abridged ones, even though MyAnonamouse already labels them. Custom formats can only see the release title, size, indexer flags, narrator and the dramatised detection, and abridgement is in none of those. The parser also strips "abridged" and "unabridged" from titles before matching (CleanTitleCruft in ParsingService.cs), so a Release Title regex only works when an uploader happened to put the word in the title, which on MAM is the exception.
The information is on the release. For Carl Sagan's Contact, MAM returns seven audio torrents; the abridged Jodie Foster reading (id 562102) has tags = "abridged, 64kpbs, library sourced, retail" and browseflags = 32, while the six unabridged ones all have browseflags = 0 and no such tag. MyAnonaMouseJsonParser reads tags for bitrate, duration and narrator extraction and ParseIndexerFlags reads the VIP and freeleech booleans, but neither looks at the abridged signal, so it never reaches the decision engine.
Describe the solution you'd like
Surface abridgement as an indexer flag. In ParseIndexerFlags, set a new IndexerFlags.Abridged when the MAM tags field contains the word "abridged" as a whole word (not "unabridged"), or when the corresponding browseflags bit is set if that is the documented meaning. The existing Indexer Flag custom-format specification then lets users score it without any new UI: a negative score for people who want unabridged, a positive one for the rare case where someone collects abridgements. The queue and the interactive search would show the flag like Freeleech or VIP today.
Describe alternatives you've considered
- A Release Title custom format on
\babridged\b. Added locally; it misses every release where the word is only in the tags. - Relying on the size comparer. Larger usually wins among equal formats, and an unabridged copy is usually larger, but an abridged M4B at 128 kbps still beats an unabridged MP3 at 64 kbps.
- A duration check against the edition's expected runtime. More general, but Hardcover does not provide runtimes, so there is nothing to compare to.
Additional context
Observed on 0.9.965.0 (Docker). The MAM search response fields above come from /tor/js/loadSearchJSONbasic.php with the same session the indexer uses.
Media Type
Does this feature apply to:
- Audiobooks
- eBooks
- Both
Use Case
Library of unabridged audiobooks where an abridged copy is never wanted, even at a better bitrate or format. Today the only protection is checking each grab by hand.
- Lenguaje dominante
- C#
- Estrellas
- 664
- Forks
- 48
- Merge medio
- 5 h 24 min
- PR fusionados (30 d)
- 5
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Chaptarr/chaptarr
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Docker healthcheck uses curl but image doesn't ship curl — container permanently 'unhealthy'Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 63/100
Los mantenedores suelen responder en 1 día
Todos los issues de Chaptarr/chaptarr
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
MPCoreDeveloper/SharpCoreDB#531 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
jsboige/CoursIA#29306 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
martin-stromberg/FinanceManager#628 ·
Los mantenedores suelen responder en 1 día
-
Left Hand Margin Too NarrowAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
builtbybel/FluentCleaner#266 ·
Los mantenedores suelen responder en 2 días
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día