@command('r\\s?(\\d{1,4})')
def related(num):
 if (g.browse_mode != 'normal'):
  g.message = 'Related items must refer to a specific video item'
  g.message = ((c.y + g.message) + c.w)
  g.content = content.generate_songlist_display()
  return
 g.current_page = 0
 item = g.model[(int(num) - 1)]
 related_search(item)

@ command ( 'r\\s?(\\d{1,4})' ) def related ( num ) : if ( g . browse_mode != 'normal' ) : g . message = 'Related items must refer to a specific video item' g . message = ( ( c . y + g . message ) + c . w ) g . content = content . generate_songlist_display ( ) return g . current_page = 0 item = g . model [ ( int ( num ) - 1 ) ] related_search ( item )
show videos related to to vid num .