summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/session.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/session.php b/bin/session.php
index e17e166..b6a693a 100755
--- a/bin/session.php
+++ b/bin/session.php
@@ -143,6 +143,7 @@ function sessiongetinfo($session)
break;
case 'vid':
$infovid = mediagetinfostream($url);
+ $info['name'] = basename($url);
$info['desc'] = $infovid['desc'];
$info['duration'] = $infovid['duration'];
$info['format'] = $infovid['format'];