From 73c0c6a8c9de989f958c85cfd64376127e55e57e Mon Sep 17 00:00:00 2001 From: Daniel Neto Date: Sun, 8 Jun 2025 11:13:20 -0300 Subject: [PATCH] Improve output formatting in sortChannelsBySubscribers.php by including user identification in the reordered channels display for better clarity. --- plugin/Gallery/tools/sortChannelsBySubscribers.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugin/Gallery/tools/sortChannelsBySubscribers.php b/plugin/Gallery/tools/sortChannelsBySubscribers.php index b436b6531e..75481aefed 100644 --- a/plugin/Gallery/tools/sortChannelsBySubscribers.php +++ b/plugin/Gallery/tools/sortChannelsBySubscribers.php @@ -52,5 +52,7 @@ AVideoPlugin::setObjectData('Gallery', $obj); // Optional: output results echo "Reordered Channels:\n"; foreach ($sections as $data) { - echo "users_id: {$data['users_id']} | Subscribers: {$data['total_subscribers']} | New Order: {$data['new_order']}\n"; + $identification = User::getNameIdentificationById($data['users_id']); + echo "User: [{$data['users_id']}]{$identification} | New Order: {$data['new_order']} | Subscribers: {$data['total_subscribers']}\n"; + //echo "users_id: {$data['users_id']} | Subscribers: {$data['total_subscribers']} | New Order: {$data['new_order']}\n"; }