pike.git / lib / modules / Standards.pmod / ID3.pmod

version» Context lines:

pike.git/lib/modules/Standards.pmod/ID3.pmod:1:   #pike __REAL_VERSION__      //! ID3 decoder/encoder.   //! Supports versions 1.0, 1.1, 2.2-2.4.   //! For more info see http://www.id3.org   //!   //! @note   //! Note that this implementation is far   //! from complete and that interface changes - //! might be neccessary during the implementation + //! might be necessary during the implementation   //! of the full standard.      //   // Author: Martin Nilsson   //   // Added by Honza Petrous:   // - v1 support   // - v2.3 and v2.2 basic support   //   
pike.git/lib/modules/Standards.pmod/ID3.pmod:624:    break;    case "WXXX":    if(d->url=="") frames[pos] = 0;    break;    }    }    frames -= ({ 0 });    build_frame_map();    }    -  string _sprintf(int t, mapping args) { +  string _sprintf(int t) {    if(t!='O') return 0;    if(!header) return sprintf("ID3v2()");    return sprintf("ID3v%d.%d.%d(%d)", header->major_version,    header->minor_version, header->sub_version,    sizeof(frames));    }   }      array terminator = ({ "\0", "\0\0", "\0" });   
pike.git/lib/modules/Standards.pmod/ID3.pmod:1354:    catch(rv->year = fr->data->get_string());    break;    case "TRCK":    case "TRK":    catch(rv->track = fr->data->get_string());    break;    }    return rv;    }    -  protected string _sprintf(int t, mapping args) { +  protected string _sprintf(int t) {    return t=='O' && sprintf("Tag(%O)", tag);    }      }