Jump to content
TheOne

Chill-Tv.Org | Tv Online!

Recommended Posts

@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 ?

Acum da, a fost chiar mura-n gura, Multumesc! :D

Link to comment
Share on other sites

Intrebari si sugestii:

De ce aveti nevoie de doua ferestre si o conexiune tcp intre ele cand puteti sa faceti acelasi lucru si intr-o singura fereastra fara alte conexiuni? De ce trebuie sa instalezi vlc cand poti folosi librariile din windows (sau chiar librariile vlc) sa redai mms?

Logo-urile posturilor tv ar trebui asezate fara spatiu intre conturul ferestrei si logo-uri si cand dai click sa vizionezi un post, posturile tv sa fie asezate intr-un listbox in partea stanga cu logo-ul aferent si bineinteles sa ruleze canalul respectiv in aceeasi fereastra in partea dreapta, iar daca canalul tv este disponibil pe mai multe adrese, se poate implementa ca in momentul cand dai click pe un post in acel listbox sa apara un subitem cu serverele disponibile.

Referitor la design-ul actual, listbox-ul din stanga contine un border de culoare portocalie care nu e in concordanta cu background-ul, fereastra lcd contine si ea un border alb care arata foarte rau.(rulat pe xp)

Nu am nici un interes sa va fac sa va simtiti prost, insa acest program in stadiul actual imi da impresia ca e creat de niste copii.

Cred eu ca daca vreti sa fie folosit la scara larga ar trebui sa-i aduceti modificarile de rigoare care-l face sa arate mai profesional, dar daca nu e cazul inteleg ca e un proiect fara viitor.Avand in vedere faptul ca a contribuit un moderator la acest proiect sper sa nu se ajunga la actiuni copilaresti in urma acestui comentariu.

LE: cand dai dublu-click pe modulul sopcast in timp ce un program ruleaza sa intre in fullscreen.

Edited by Erase
Link to comment
Share on other sites

@Erase ; initial totul era intr-o singura fereastra, dar se inteapa cand schimbi posturile, nu am ce sa-i fac, asa e sopcastu :| , am vrut doar sa las fereastra libera, fara sa se intepe.

Ai dreptate, pot folosit doar librariile vlc pentru mms (si le folosesc) , stremurile m3u nu sunt intelese de windows, m-am chinuit destul de mult si n-am reusit sa-l fac sa mearga, asa ca am ajus sa folosesc sopcast + vlc.

Am ales sa le instalez separat dupa instalarea programului Chill-TV pentru a face pachetul de instalare mai mic, initial folder-ul core avea in el tot ce trebuia, fara a mai fi nevoit sa instalez sopcast & vlc. Aplicatia avea in total > 125MB ...

Chiar in acest moment lucrez la o versiune noua, cu un alt design.

Multumesc pentru sfaturi !

Link to comment
Share on other sites

Nu stiu de ce nu-ti functioneaza tie insa m-am pus am scris doua linii de cod in C# si rulez ambele protocoale.(mms, m3u)

125mb? Aplicatia asta n-ar avea voie sa aiba mai mult de 10mb.


using AxWmpLib; //ii dai import la wmp.dll din windows/system32

private void button1_Click(object sender, EventArgs e)
{
axWindowsMediaPlayer1.URL = "link catre adresa mms/m3u";
axWindowsMediaPlayer1.Ctlcontrols.play();

}

Link to comment
Share on other sites

@Maximus, wmp inca nu recunoaste varianta unicode a listei de redare si probabil asa si va ramane sau poate pe windows 8 sta altfel situatia.Eu spuneam sa folosesti modulul wmp(wmp.dll) pentru a reda mms/m3u ca functioneaza foarte bine si modulul sopcast(sopocx.ocx) pentru redarea stream-urlor aferente sopcast-ului, astfel programul tau va contine doua fisiere .dll si un exe care in total nu vor depasi 10mb si bineinteles daca nu te strofoci prea tare l-ai putea face sa fie standalone.

LE: Daca sunt si liste de redare m3u8 la fel folosesti libraria din vlc(axvlc.dll daca nu ma insel) dar fara sa instalezi aplicatia.

Asa folosesti modulul activeX sopcast: (fara sa instalezi sopcast)


using AxsopocxLib;

private void button1_Click(object sender, EventArgs e)
{
//axWindowsMediaPlayer1.URL = "http://blindy.tv/comedy.m3u";
// axWindowsMediaPlayer1.Ctlcontrols.play();

axsopocx1.SetSopAddress("sop://broker.sopcast.com:3912/172999");
axsopocx1.SetChannelName("Whatever");
axsopocx1.Play();

}

Edited by Erase
Link to comment
Share on other sites

Lasa-ne mai multe detalii. Fa un printscreen la Details.

La details scrie prea mult pt un print. Uite aici:

See the end of this message for details on invoking

just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************

System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified

at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)

at System.Diagnostics.Process.Start()

at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)

at #V.#De.#be(Object #e, EventArgs #f)

at System.EventHandler.Invoke(Object sender, EventArgs e)

at System.Windows.Forms.Form.OnLoad(EventArgs e)

at System.Windows.Forms.Form.OnCreateControl()

at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)

at System.Windows.Forms.Control.CreateControl()

at System.Windows.Forms.Control.WmShowWindow(Message& m)

at System.Windows.Forms.Control.WndProc(Message& m)

at System.Windows.Forms.ScrollableControl.WndProc(Message& m)

at System.Windows.Forms.Form.WmShowWindow(Message& m)

at System.Windows.Forms.Form.WndProc(Message& m)

at DevComponents.DotNetBar.Metro.MetroAppForm.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.1 (RTMRel.030319-0100)

CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

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

Chill

Assembly Version: 1.0.0.0

Win32 Version: 1.0.0.0

CodeBase: file:///C:/PROGRA~1/CHILL-~1/Chill.exe

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

Microsoft.VisualBasic

Assembly Version: 10.0.0.0

Win32 Version: 10.0.30319.1 built by: RTMRel

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll

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

System.Windows.Forms

Assembly Version: 4.0.0.0

Win32 Version: 4.0.30319.1 built by: RTMRel

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.1 built by: RTMRel

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

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

System

Assembly Version: 4.0.0.0

Win32 Version: 4.0.30319.1 built by: RTMRel

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

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

System.Runtime.Remoting

Assembly Version: 4.0.0.0

Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)

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/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/Chill-TV%20Client/DevComponents.Instrumentation.dll

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

DevComponents.DotNetBar2

Assembly Version: 10.0.0.3

Win32 Version: 10.0.0.3

CodeBase: file:///C:/PROGRA~1/CHILL-~1/DevComponents.DotNetBar2.DLL

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

Accessibility

Assembly Version: 4.0.0.0

Win32 Version: 4.0.30319.1 built by: RTMRel

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

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

System.Xml

Assembly Version: 4.0.0.0

Win32 Version: 4.0.30319.1 built by: RTMRel

CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

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

{17d16f2b-4cb8-431f-a5d9-72df8fd591b9}

Assembly Version: 0.0.0.0

Win32 Version: 1.0.0.0

CodeBase: file:///C:/PROGRA~1/CHILL-~1/Chill.exe

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

************** 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.

Link to comment
Share on other sites

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...