Changeset 115:edaa5a08d711 in roaraudio


Ignore:
Timestamp:
07/13/08 04:51:44 (16 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

set correct client name and set filename in meta data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roarclients/roarvorbis.c

    r111 r115  
    6262 } 
    6363 
    64  if ( roar_simple_connect(&con, server, "roarcatad") == -1 ) { 
     64 if ( roar_simple_connect(&con, server, "roarvorbis") == -1 ) { 
    6565  ROAR_DBG("roar_simple_play(*): roar_simple_connect() faild!"); 
    6666  return -1; 
     
    101101  meta.value = value; 
    102102  meta.key[0] = 0; 
     103 
     104  meta.type = ROAR_META_TYPE_FILENAME; 
     105  strncpy(value, file, 79); 
     106  roar_stream_meta_set(&con, &s, ROAR_META_MODE_SET, &meta); 
    103107 
    104108  while(*ptr){ 
Note: See TracChangeset for help on using the changeset viewer.