Fix server client.user undefined, update logo
@ -2,7 +2,7 @@
 | 
				
			|||||||
  <div class="w-full h-16 bg-primary relative">
 | 
					  <div class="w-full h-16 bg-primary relative">
 | 
				
			||||||
    <div id="appbar" class="absolute top-0 bottom-0 left-0 w-full h-full px-6 py-1 z-30">
 | 
					    <div id="appbar" class="absolute top-0 bottom-0 left-0 w-full h-full px-6 py-1 z-30">
 | 
				
			||||||
      <div class="flex h-full items-center">
 | 
					      <div class="flex h-full items-center">
 | 
				
			||||||
        <img v-if="!showBack" src="/Logo.png" class="w-12 h-12 mr-4" />
 | 
					        <img v-if="!showBack" src="/Logo48.png" class="w-12 h-12 mr-4" />
 | 
				
			||||||
        <a v-if="showBack" @click="back" class="rounded-full h-12 w-12 flex items-center justify-center hover:bg-white hover:bg-opacity-10 mr-4 cursor-pointer">
 | 
					        <a v-if="showBack" @click="back" class="rounded-full h-12 w-12 flex items-center justify-center hover:bg-white hover:bg-opacity-10 mr-4 cursor-pointer">
 | 
				
			||||||
          <span class="material-icons text-4xl text-white">arrow_back</span>
 | 
					          <span class="material-icons text-4xl text-white">arrow_back</span>
 | 
				
			||||||
        </a>
 | 
					        </a>
 | 
				
			||||||
 | 
				
			|||||||
@ -1,6 +1,6 @@
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
  "name": "audiobookshelf-client",
 | 
					  "name": "audiobookshelf-client",
 | 
				
			||||||
  "version": "0.9.89-beta",
 | 
					  "version": "0.9.90-beta",
 | 
				
			||||||
  "description": "Audiobook manager and player",
 | 
					  "description": "Audiobook manager and player",
 | 
				
			||||||
  "main": "index.js",
 | 
					  "main": "index.js",
 | 
				
			||||||
  "scripts": {
 | 
					  "scripts": {
 | 
				
			||||||
 | 
				
			|||||||
| 
		 Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 20 KiB  | 
							
								
								
									
										
											BIN
										
									
								
								client/static/Logo48.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						| 
		 After Width: | Height: | Size: 2.1 KiB  | 
| 
		 Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 1.4 KiB  | 
@ -1,6 +1,6 @@
 | 
				
			|||||||
{
 | 
					{
 | 
				
			||||||
  "name": "audiobookshelf",
 | 
					  "name": "audiobookshelf",
 | 
				
			||||||
  "version": "0.9.89-beta",
 | 
					  "version": "0.9.90-beta",
 | 
				
			||||||
  "description": "Self-hosted audiobook server for managing and playing audiobooks.",
 | 
					  "description": "Self-hosted audiobook server for managing and playing audiobooks.",
 | 
				
			||||||
  "main": "index.js",
 | 
					  "main": "index.js",
 | 
				
			||||||
  "scripts": {
 | 
					  "scripts": {
 | 
				
			||||||
 | 
				
			|||||||
@ -91,7 +91,7 @@ class StreamManager {
 | 
				
			|||||||
    Logger.info('Close Stream Request', socket.id)
 | 
					    Logger.info('Close Stream Request', socket.id)
 | 
				
			||||||
    var client = socket.sheepClient
 | 
					    var client = socket.sheepClient
 | 
				
			||||||
    if (!client || !client.stream) {
 | 
					    if (!client || !client.stream) {
 | 
				
			||||||
      Logger.error('No stream for client', client.user.id)
 | 
					      Logger.error('No stream for client', (client && client.user) ? client.user.username : 'No Client')
 | 
				
			||||||
      client.socket.emit('stream_closed', 'n/a')
 | 
					      client.socket.emit('stream_closed', 'n/a')
 | 
				
			||||||
      return
 | 
					      return
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										
											BIN
										
									
								
								static/Logo.png
									
									
									
									
									
								
							
							
						
						| 
		 Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 20 KiB  |