Jump to content
TheOne

Chill-Tv.Org | Tv Online!

Recommended Posts

Posted (edited)

Salut RST,

Impreuna cu @Maximus am realizat proiectul Chill-Tv. Se stie deja despre ce este vorba. Am vrut sa fim mai "unici" si nu am pus posturile pe site, totul este intr-o aplicatie, am ales asta pentru ca e mult mai rapid, fara errori si alte probleme (Internet Explorer, Sopcat si etc..) Tot programul e pus intr-un installer, el instaleaza absolut tot ce e nevoie pentru vizionarea posturilor TV & Radio. Programul ruleaza fara probleme pe orice sistem de operare de tip Windows, a fost facut si un mic tutorial pentru install ( XP & 7 ). Am creat si un script php pentru statistici live, fiecare client ce asculta/la ce se uita.

Despre site, am dorit unu cat mai simplu, am cautat un templar cat mai simplu posibil.

Website: Chill-Tv | Tv Online

Download: http://chill-tv.org/download.php

Veti gasi si cateva screenshot-uri de la program.

Va rog, daca se poate, sa ne spuneti parerea voastra despre site/aplicatie fi e buna sau rea!

Multumesc anticipat.

--------------------------------------------------------------------------------------------------------------

Suntem in cautare de persoane care sa ne ajute sa ducem proiectul inainte. Cine este interesat este rugat sa-mi trimita un PM

Avem nevoie de: Persoane pentru a ne ajuta cu sursele canalelor!

Totul sa fie facut voluntar, nu platim absolut pe nimeni cum si nimeni nu ne plateste pe noi pentru munca depusa!

Edited by TheOne
  • Upvote 3
Posted (edited)

Iti sugerez sa pui pe site 2-3 ss-uri cum arata softul.

Bafta in continuare!

EDIT: Acum am vazut ca exista... Scuze!

Edited by aleee
Posted (edited)

Felicitari pentru program. Totusi, daca faci clic pe Server 1, da unhandled exception. Sugerez fie un try catch in jurul blocului de cod ce se executa acolo, sau daca nu este util(presupun ca acolo o sa se adauge mai multe servere?) sa se scoata link-ul/butonul respectiv.

O alta chestie pe care o puteti adauga in aplicatie, ar fi un eventual buton pentru program. Fie sa afiseze programul unui post pe intreaga zi, fie sa afiseze ce este in momentul asta pe programul respectiv(presupun ca asta se poate adauga in fereastra in care este afisat postul respectiv), fie sa afiseze programul pentru toate posturile.

Edited by nedo
Posted (edited)

In cazul meu, cred ca e pentru toate, am testat acum vreo 4-5 programe, si pe toate.

Eroarea este: "Public member 'server' on type "[]'(presupun ca asta e), not found.

Mai jos ai textul exceptiei.

Nu cumva codul pus in aplicatie este compilat cu debug?


See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.MissingMemberException: Public member 'server' on type '' not found.
at Microsoft.VisualBasic.CompilerServices.Symbols.Container.GetMembers(String& MemberName, Boolean ReportErrors)
at Microsoft.VisualBasic.CompilerServices.NewLateBinding.ObjectLateGet(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack)
at Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateGet(Object Instance, Type Type, String MemberName, Object[] Arguments, String[] ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack)
at ..(Object , EventArgs )
at DevComponents.DotNetBar.BaseItem.RaiseClick(eEventSource source)
at DevComponents.DotNetBar.BaseItem.InternalMouseUp(MouseEventArgs objArg)
at DevComponents.DotNetBar.PopupItem.InternalMouseUp(MouseEventArgs objArg)
at DevComponents.DotNetBar.ButtonItem.InternalMouseUp(MouseEventArgs objArg)
at DevComponents.DotNetBar.BaseItem.InternalMouseUp(MouseEventArgs objArg)
at DevComponents.DotNetBar.ItemContainer.InternalMouseUp(MouseEventArgs objArg)
at DevComponents.DotNetBar.ItemControl.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at DevComponents.DotNetBar.ItemControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18063 built by: FX45RTMGDR
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
lcd
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Chill-TV%20Client/lcd.exe
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 10.0.0.0
Win32 Version: 11.0.50709.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18021 built by: FX45RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18036 built by: FX45RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18021 built by: FX45RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18060 built by: FX45RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18060 built by: FX45RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Runtime.Remoting
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34108 built by: FX45W81RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
----------------------------------------
DevComponents.DotNetBar2
Assembly Version: 10.0.0.3
Win32 Version: 10.0.0.3
CodeBase: file:///C:/Program%20Files%20(x86)/Chill-TV%20Client/DevComponents.DotNetBar2.DLL
----------------------------------------
DevComponents.Instrumentation
Assembly Version: 10.0.0.3
Win32 Version: 10.0.0.3
CodeBase: file:///C:/Program%20Files%20(x86)/Chill-TV%20Client/DevComponents.Instrumentation.DLL
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Le. Ca sa nu mai fac un post in plus aiurea: Cu placere. Cu cat ajutam mai mult/multi, cu atat o sa iasa un soft mai bun :D

Le2: Mi-am mai adus aminte ceva. Am observat ca butonul de close de la fereastra in care ruleaza postul. Este intentionat asta? Nu stiu sigur daca e posibil, dar daca se poate, ar fi o idee buna fie ca acel buton sa mearga, sau sa fie scos. Desi nu-i musai. E doar o chestie mai mult cand vine vorba de o oarecare calitate. Un buton in plus care nu functioneaza, da aiurea pe o aplicatie care se respecta. Just my 2 cents.

Edited by nedo
  • Upvote 1
Posted (edited)

@nedo ; am gasit-o , e de la SmartAssembly :| , o repar imediat. Multumesc mult ! @gio33 ; am reparat acea greseala, descarca ultimul setup de pe site si instaleaza.

// @nedo ; ok am sa fac sa poti inchide si Clientul TV; e facuta de mine asa, sa nu o poti inchide.

Edited by Maximus
Posted

Oh, scuze, nu am stat sa citesc tot, am zis sa ajut cat mai rapid cu un "bug report".

Felicitari pentru soft, eu cel putin o sa il folosesc ptr Discovery.

Thx.

Posted

@gio33 ; stiu ca nu merge inchis , asa l-am facut. Unele canale se inteapa in timp ce se face buffer (sopcast/vlc). Daca te uiti in ferestra cu programele TV jos este o bara in care scrie "Client TV <ping-back>" (componentele comunica intre ele) , daca clientul tv nu raspunde, acesta este restartat automat. Daca te-as lasa sa inchizi fereastra trebuie sa fac clientu sa-si anunte iesirea pentru a evita pornirea automata iarasi. Nu situ ce sa zic, eu zic ca e bine asa cum este, voi ce parere aveti ?

Posted

in cazul asta, cel mai bine ar fi sa scoti pur si simplu butonul de close.

aici ai un exemplu despre cum sa faci asta.(presupun ca este in vb.net aplicatia). Daca este in c#:


const int CS_NOCLOSE = 0x200;

protected override CreateParams CreateParams {
get {
CreateParams cp = base.CreateParams;
cp.ClassStyle |= CS_NOCLOSE;
return cp;
}
}

Raspuns luat de aici

Posted

@nedo ; stiu cum se face asta, nu e problema. Am sa-l fac sa se inchida, si sa trimite un semnal catre server atunci cand se inchide. Serverul va memora informatia si va preveni restartarea clientului.

Posted

Nu folosi SmartAssembly ca e degeaba si mai si strica codul. Cu doua clickuri ai decompilat totul.

Fa-i si un autoupdater (in caz ca nu are, nu am verificat). O sa fie folositor in caz ca se strica ceva, etc.

Posted

Am o intrebare:

Tu ai in sursa : TcpComm (TCP Communication cred)

-AsyncUnbuffWriter

-Client

-Server

=================

multithreaded tcp

-CpuMonitor

-Utilites

1. Cine este server-ul? -> (Chill ?) Dar clientul?

2. Cand apas pe 'Pro TV' se trimit X date catre cealalta forma 'lcd' dar cum??

Explica-mi modul de trimitere a datelor de la o forma la alta.

Posted (edited)

@Byte-ul ; vreau sa o protejez cumva :| nu vreau sa o dau chiar mura-n gura .

@Viral-One ; e simplu, cand tu apesi pe canalul dorit se formeaza un string cu detaliile canalului, acest string este memorat, dupa ce se salveaza stringul se restarteaza clientul TV (lcd, chill.exe = server, lcd.exe = client). Dupa ce porneste clientul, acesta trimite un semnal catre server (ex : sunt online, trimite-mi configuratia) iar serverul ii trimite acel string pe care l-a memorat mai devreme, clientul interpreteaza informatia, o reda, dupa care incepe sa faca "ping" in server, in momentul in care ping-ul se opreste, inseamna ca, clientu s-a intepat (asa am gandit-o eu) iar serverul v-a restarta clientul. Trebuie sa faci componentele sa se inteleaga intre ele ... Ai inteles acum ?

Edited by Maximus

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...