Viral-One Posted July 8, 2014 Report Share Posted July 8, 2014 @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! Quote Link to comment Share on other sites More sharing options...
mariuss615 Posted July 8, 2014 Report Share Posted July 8, 2014 Sper doar se nu se inchida streamul la dolce sport cand este f1, nu de alta dar cam asta se intampla pe toate programele sau site-urile de tv online cand este f1. Quote Link to comment Share on other sites More sharing options...
Erase Posted July 8, 2014 Report Share Posted July 8, 2014 (edited) 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 July 8, 2014 by Erase Quote Link to comment Share on other sites More sharing options...
Maximus Posted July 8, 2014 Report Share Posted July 8, 2014 @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 ! Quote Link to comment Share on other sites More sharing options...
Erase Posted July 8, 2014 Report Share Posted July 8, 2014 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/system32private void button1_Click(object sender, EventArgs e) { axWindowsMediaPlayer1.URL = "link catre adresa mms/m3u"; axWindowsMediaPlayer1.Ctlcontrols.play(); } Quote Link to comment Share on other sites More sharing options...
Maximus Posted July 8, 2014 Report Share Posted July 8, 2014 @Erase ; ia incearca stream-ul asta : http://85.204.233.122/radio-01/stream-high-23/playlist.m3u8 Quote Link to comment Share on other sites More sharing options...
TheOne Posted July 8, 2014 Author Report Share Posted July 8, 2014 @mariuss615 facem tot posibilul sa mearga toate canalele. Quote Link to comment Share on other sites More sharing options...
Erase Posted July 8, 2014 Report Share Posted July 8, 2014 (edited) @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 July 8, 2014 by Erase Quote Link to comment Share on other sites More sharing options...
Maximus Posted July 8, 2014 Report Share Posted July 8, 2014 Merge TVR 1 , acolo e meciul Quote Link to comment Share on other sites More sharing options...
u0m3 Posted July 9, 2014 Report Share Posted July 9, 2014 Eu am o problema mai ciudata: cand lansez aplicatia apare foarte scurt o fereastra (0.1-0.2 sec) apoi imi lanseaza programul de BIOS reflash (ASUSUpdate). Quote Link to comment Share on other sites More sharing options...
TheOne Posted July 9, 2014 Author Report Share Posted July 9, 2014 Eu am o problema mai ciudata: cand lansez aplicatia apare foarte scurt o fereastra (0.1-0.2 sec) apoi imi lanseaza programul de BIOS reflash (ASUSUpdate).Poti face te rog un print screen? Quote Link to comment Share on other sites More sharing options...
Atko76 Posted July 25, 2014 Report Share Posted July 25, 2014 Cumva ruleaza si pe Ubuntu? Quote Link to comment Share on other sites More sharing options...
TheOne Posted July 25, 2014 Author Report Share Posted July 25, 2014 Cumva ruleaza si pe Ubuntu?Nu, nu ruleaza, scrie clar doar pentru Windows. Poate pe viitor. Quote Link to comment Share on other sites More sharing options...
Maximus Posted July 25, 2014 Report Share Posted July 25, 2014 Eu am o problema mai ciudata: cand lansez aplicatia apare foarte scurt o fereastra (0.1-0.2 sec) apoi imi lanseaza programul de BIOS reflash (ASUSUpdate).ia vezi, in cmd, daca dai "start update.exe" sau "update" ce se intampla ? Quote Link to comment Share on other sites More sharing options...
QweFCSB Posted July 25, 2014 Report Share Posted July 25, 2014 Look TV aveti in grila? Quote Link to comment Share on other sites More sharing options...
TheOne Posted July 25, 2014 Author Report Share Posted July 25, 2014 Look TV aveti in grila?Nu, dar il vom adauga. Update-ul va fi anuntat pe pagina de Home al programului. Quote Link to comment Share on other sites More sharing options...
QweFCSB Posted July 25, 2014 Report Share Posted July 25, 2014 Nu, dar il vom adauga. Update-ul va fi anuntat pe pagina de Home al programului.Daca reusiti pana sambata ar fii ok.multa bafta Quote Link to comment Share on other sites More sharing options...
dancdc Posted August 17, 2014 Report Share Posted August 17, 2014 Felicitari !!!merge perfectO idee !Se poate introduce undeva setarea calitatii imaginii gen 720p / 1080 p Quote Link to comment Share on other sites More sharing options...
danger2u Posted August 17, 2014 Report Share Posted August 17, 2014 mersi ptr program si sa aveti succes!! Quote Link to comment Share on other sites More sharing options...
Fodo Posted August 25, 2014 Report Share Posted August 25, 2014 Primesc eroarea asta cand incerc sa-l deschid. Quote Link to comment Share on other sites More sharing options...
TheOne Posted August 26, 2014 Author Report Share Posted August 26, 2014 Primesc eroarea asta cand incerc sa-l deschid. Lasa-ne mai multe detalii. Fa un printscreen la Details. Quote Link to comment Share on other sites More sharing options...
Fodo Posted August 26, 2014 Report Share Posted August 26, 2014 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 thisapplication or computer (machine.config) must have thejitDebugging value set in the system.windows.forms section.The application must also be compiled with debuggingenabled.For example:<configuration> <system.windows.forms jitDebugging="true" /></configuration>When JIT debugging is enabled, any unhandled exceptionwill be sent to the JIT debugger registered on the computerrather than be handled by this dialog box. Quote Link to comment Share on other sites More sharing options...
TheOne Posted August 26, 2014 Author Report Share Posted August 26, 2014 Ok @Fodo , in cel mai scurt timp posibil problema va fi rezolvata! Ce windows folosesti? Quote Link to comment Share on other sites More sharing options...
Fodo Posted August 26, 2014 Report Share Posted August 26, 2014 Ok @Fodo , in cel mai scurt timp posibil problema va fi rezolvata! Ce windows folosesti? Windows 7 32 biti. Multumesc, astept. Credeam ca e de la mine Quote Link to comment Share on other sites More sharing options...
TheOne Posted August 26, 2014 Author Report Share Posted August 26, 2014 Windows 7 32 biti. Multumesc, astept. Credeam ca e de la mine Deocamndata nu pot spune daca e vina programului sau a ta, desi, mie imi merge programul. Incearca sa sa instalezi ultima versiune de Framework. Quote Link to comment Share on other sites More sharing options...