Club Delphi  
    Paypal   FTP   CCD     Buscar   Trucos   Trabajo   Foros

Retroceder   Foros Club Delphi > Otros entornos y lenguajes > C++ Builder
Registrarse FAQ Miembros Calendario Guía de estilo Buscar Temas de Hoy Marcar Foros Como Leídos

Respuesta
 
Herramientas Buscar en Tema Desplegado
  #1  
Antiguo 02-07-2025
navbuoy navbuoy is offline
Miembro
 
Registrado: mar 2024
Posts: 360
Poder: 3
navbuoy Va por buen camino
he añadido la funcion que desarrollé para mi Fruits Player del tema de emisoras de Shoutcast para recuperar emisoras en una estructura asi de este tipo que ya incluye "SnakedLibrary.h"

Código:
struct TRadio
{
	AnsiString RadioName;
        AnsiString URL;
	int Listeners;
	int Bitrate;
	int ID;
};

struct TRadio Radio_Listing[3000];



la funcion es asi:

Código:
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void Retrieve_Radio_Stations(int indice, TRadio arr[], int max_stations)

DESCRIPTION: This function returns in a structure TRadio defined in SnakedLibrary.h
the amount of Radio Stations requested (max stations is 3000 cos the structure is defined as
Radio_Listing[3000] then only store a max of 0 to 2999 stations.

IN: 
TRadio arr[] is the array defined as Radio_Listing[3000] for store the radios info and stream
int max_stations must be 3000 or less (same or less than the Radio_Listing array size)

int indice indicates the TOP STATIONS (0) or a genre defined as here:
(you only have pass to the function the number of genre

Última edición por navbuoy fecha: 02-07-2025 a las 21:38:51.
Responder Con Cita
  #2  
Antiguo 03-07-2025
Avatar de Neftali [Germán.Estévez]
Neftali [Germán.Estévez] Neftali [Germán.Estévez] is offline
[becario]
 
Registrado: jul 2004
Ubicación: Barcelona - España
Posts: 19.437
Poder: 10
Neftali [Germán.Estévez] Es un diamante en brutoNeftali [Germán.Estévez] Es un diamante en brutoNeftali [Germán.Estévez] Es un diamante en bruto
__________________
Germán Estévez => Web/Blog
Guía de estilo, Guía alternativa
Utiliza TAG's en tus mensajes.
Contactar con el Clubdelphi

P.D: Más tiempo dedicado a la pregunta=Mejores respuestas.
Responder Con Cita
  #3  
Antiguo 03-07-2025
Avatar de Casimiro Noteví
Casimiro Noteví Casimiro Noteví is offline
Merodeador
 
Registrado: sep 2004
Ubicación: En algún lugar.
Posts: 32.669
Poder: 10
Casimiro Noteví Tiene un aura espectacularCasimiro Noteví Tiene un aura espectacular
Responder Con Cita
Respuesta


Herramientas Buscar en Tema
Buscar en Tema:

Búsqueda Avanzada
Desplegado

Normas de Publicación
no Puedes crear nuevos temas
no Puedes responder a temas
no Puedes adjuntar archivos
no Puedes editar tus mensajes

El código vB está habilitado
Las caritas están habilitado
Código [IMG] está habilitado
Código HTML está deshabilitado
Saltar a Foro

Temas Similares
Tema Autor Foro Respuestas Último mensaje
Stardust by Snaked & Joe - Web Oficial navbuoy Noticias 2 20-10-2024 07:58:19
Para imprimir PDF: Free PDF Library for Delphi Developers - Quick PDF Library LITE rrf Varios 5 26-04-2019 18:30:17
Library Path en FPC de iOS kotai FireMonkey 5 18-06-2012 12:34:52
Db-library network chavito_123 Varios 0 08-08-2007 05:09:43


La franja horaria es GMT +2. Ahora son las 03:55:21.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi
Copyright 1996-2007 Club Delphi