findById((int)$_GET['groupid']); if (is_null($tgroup)) { unset($_GET['groupid']); } else { $categoryId = $tgroup->categoryId(); $Properties = [ 'add-format' => true, 'GroupID' => $tgroup->id(), 'ReleaseType' => $tgroup->releaseType(), 'Title' => $tgroup->name(), 'Year' => $tgroup->year(), 'Image' => $tgroup->image(), 'GroupDescription' => $tgroup->description(), 'RecordLabel' => $tgroup->recordLabel(), 'CatalogueNumber' => $tgroup->catalogueNumber(), 'VanityHouse' => $tgroup->isShowcase(), 'Artists' => $tgroup->artistRole()?->idList() ?? [], 'TagList' => implode(', ', $tgroup->tagNameList()), ]; if ($requestId) { $Properties['RequestID'] = $requestId; } } } elseif ($requestId) { $request = new Manager\Request()->findById($requestId); if ($request) { $categoryId = $request->categoryId(); $Properties = [ 'add-format' => true, 'RequestID' => $requestId, 'ReleaseType' => $request->releaseType(), 'Title' => $request->title(), 'Year' => $request->year(), 'Image' => $request->image(), 'GroupDescription' => $request->description(), 'RecordLabel' => $request->recordLabel(), 'CatalogueNumber' => $request->catalogueNumber(), 'Artists' => $request->artistRole()?->idList() ?? [], 'TagList' => implode(', ', $request->tagNameList()), ]; } } elseif (isset($_GET['artistid'])) { $artist = new Manager\Artist()->findById((int)$_GET['artistid']); if ($artist) { $Properties = [ 'add-format' => true, 'Artists' => [ ARTIST_MAIN => [[ 'id' => $artist->id(), 'name' => $artist->name(), ]], ], ]; } } } if (!isset($Properties)) { $Properties = false; } if (!isset($Err)) { $Err = false; } $dnu = new Manager\DNU(); $dnuNew = $dnu->hasNewForUser($Viewer); $dnuHide = !$dnuNew && $Viewer->permitted('torrents_hide_dnu'); View::show_header('Upload', ['js' => 'upload,validate_upload,musicbrainz,bbcode']); ?>
= $dnuNew ? '' : '' ?>Last updated: = time_diff($dnu->latest()) ?>= $dnuNew ? '' : '' ?>
The following releases are currently forbidden from being uploaded to the site. Do not upload them unless your torrent meets a condition specified in the given reason. Show
| Name | Reason |
|---|---|
| = \Text::full_format($bad['name']) ?> (New!) | = \Text::full_format($bad['description']) ?> |