Skip to content

Commit

Permalink
Merge branch 'master' of github.com:travierm/downstream into feature/…
Browse files Browse the repository at this point in the history
…playlists
  • Loading branch information
travierm committed Dec 6, 2020
2 parents 03f68c2 + c6f8330 commit 4c211f3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
7 changes: 2 additions & 5 deletions app/Console/Commands/YouTubeAutofixQueue.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,8 @@ public function handle()

$success = YouTubeV2::updateMedia($currentMedia->id, $response->vid);
if($success) {
$logMessage = "Fixed broken media with id: " . $currentMedia->id;
$this->info($logMessage, [
'oldTitle' => $currentMediaTitle,
'newTitle' => $updatedMediaInfo->snippet->title
]);
$this->info("Fixed broken media with id: " . $currentMedia->id);
$this->info($currentMedia->id . " updated title from [" . $currentMediaTitle . "] to [" . $updatedMediaInfo->snippet->title . "]");

Cache::increment('youtubeAutofix.fixedMediaItems');
}else{
Expand Down
4 changes: 4 additions & 0 deletions resources/sass/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
@import "landing";
@import "controlbar";

#searchInputBar {
z-index: 0 !important;
}

// Bootstrap
.color-preview {
height: 50px;
Expand Down
2 changes: 1 addition & 1 deletion resources/views/admin/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
)->count()
}}
</li>
<li class="list-group-item list-group-item-primary">Autofix.lastMediaId: {{ Cache::get('youtubeAutofix.lastMediaId') }}</li>
<li class="list-group-item list-group-item-primary">Autofix.lastMediaId: {{ Cache::get('youtubeAutofix.lastMediaId') }} / {{ App\Media::count() }}</li>
<li class="list-group-item list-group-item-primary">Autofix.fixedMediaItems: {{ Cache::get('youtubeAutofix.fixedMediaItems') }}</li>
</ul>
</div>
Expand Down

0 comments on commit 4c211f3

Please sign in to comment.