DVB-Cube <<< Das deutsche PC und DVB-Forum >>>

Diverse DVB Software für verschiedene Karten => # SmartDVB => Thema gestartet von: yvmifi am 17 November, 2012, 23:18

Titel: Programmabsturz bei Favoriten aus der Liste löschen ...
Beitrag von: yvmifi am 17 November, 2012, 23:18
habt ihr das Problem auch, wenn mann einen Sender aus der FavoritenListe löschen will,das SmartDVB abstürzt?
Titel: Re: Programmabsturz bei Favoriten aus der Liste löschen ...
Beitrag von: Jürgen am 18 November, 2012, 02:09
habt ihr das Problem auch, wenn mann einen Sender aus der FavoritenListe löschen will,das SmartDVB abstürzt?
Nö, nicht die Bohne.

Mache ich zwar normalerweise kaum jemals, habe ich aber eben mehrfach nacheinander ohne Probleme probiert.

Entsprechende Schwierigkeiten mit andern Anwendungen hatten eigentlich immer ihre Ursache in älteren Senderdatenbanken von Vorversionen, in die sich z.B. durch Softwareupdates kleine Fehler eingeschlichen hatten, oder weil irgendwas am Format der Datenbank geändert wurde.
Berühmt dafür war ProgDVB, wo man eigentlich alle halbe Jahr alle Sender- und Favoritenlisten neu erstellen musste, um sowas zu lösen, weil der Autor sich offenbar immer wieder mit Hotfixes in den Strukturen vergaloppiert hat.
Auch für fleißige Entwickler von Senderlisteneditoren war das ein fast unlösbares Problem.

Meines Wissens sind solche Dinge bei SmartDVB noch nicht passiert.
Trotzdem könntest Du vielleicht einmal alles sichern und dann die Senderlisten komplett platt machen und neu erstellen.

@ jackjavo
Of course, I did not intend to touch any personal issues (again).
Just had not read from you here for a while.

BTW, once more I've got an idea.
How about an integrated player?
Would not have to be able to play all kind of files, just the usual .ts or .mpg recordings.
Well, I know, there are tons of media players around, and normally it won't be a good idea, to re-invent everything again and again ...

But the main reason for this idea is, same as DVB transmissions, DVB based recordings also may have several audio tracks, and eventually even more streams like EPG, TXT and alike.
DVB software normally includes routines for all of those by nature. Windows Media Player instead does not, many other players only more or less...
Sometimes it may be nice, to be able to re-read old TXT or EPG data from a TS recording, not just subs from a file or stream included.

And normally also proven working codecs should be available already, so playback could work exactly the same way and with the same quality and performance as live TV (or time shift) then.
Even time code reading, scrubbing and alike may work better on an integrated player.

Just an idea, not a demand, of course.
Titel: Re: Programmabsturz bei Favoriten aus der Liste löschen ...
Beitrag von: ritschibie am 18 November, 2012, 11:18
habt ihr das Problem auch, wenn mann einen Sender aus der FavoritenListe löschen will,das SmartDVB abstürzt?
Jo, kenne das Problem. Hatte einen Sender in der Favoristeliste, der auf einen neuen Ponder gerutscht ist. Beim löschen geht's los: "SmartDVB DVB funktioniert nicht mehr". Der Sender steht immer noch in der Liste!
EDIT: Habe vergessen zu erwähnen, dass das "Lösch-Problem" für alle Sender in der FAV-Liste gilt, nicht nur für den Ponderwechsler.
Titel: Re: Programmabsturz bei Favoriten aus der Liste löschen ...
Beitrag von: jackjavo am 18 November, 2012, 11:49
@jurgen:

i've thought about this bef're. I think there r different paths there. Normal file play is i think quite simple
to add (for mpg nd probably other file types, maybe coupled with specific splitters like LAV which r quite good nd being developed nd like u mention just re-use currect codec options to allow quick file play). But what u mention to re-read epg/txt, nd like maintain total dvb func, for one only would be possible with TS streams (coz mpg doesn't have the extra TS PID's required (EPG/TTX)). But still i cud imagine like a file-read 'module' (file.dev instead of bda.dev) which just reads a file and send the data like a transponder tune, this could be totally transparent and allow all functionality to be the same (even sc'ns could then be performed for example if the PID's r there). The functionality would only be limited by the PID's selected when recording (for sc'ns etc to work more wud be needed like SDT data ofcoz). Such a file.dev wud probably require more wrk besides just reading the file (probably some sync etc too). Also the timshift.ts buffer might be used for that (might also need more pid's then etc, so not trivial but at thought quite possible).
does progdvb do alike?

edit: about the 'add fav bug', i think this is just  uncaught issue with 0.2.5 which shud be fixed atm (remember i noticed it some while ago, but there might b lots of introduced bugs so i wud not recommend the upcoming test unless u like to tst)
Titel: Re: Programmabsturz bei Favoriten aus der Liste löschen ...
Beitrag von: ritschibie am 18 November, 2012, 12:31
@jackjavo

Glad to read that your personal situation at least has not worsened and that you have enough air to breathe to continue your precious work on SmartDVB!  :)

Concerning the "delete fav bug" I wondered if there is no cfg list in the directories where one could manually delete the relevant station. Could not find such a config-file in the SmartDVB directory. Does that mean that the fav-list is saved in a data base file?

Have a nice sunday jackjavo

Ritschie
Titel: Re: Programmabsturz bei Favoriten aus der Liste löschen ...
Beitrag von: yvmifi am 18 November, 2012, 13:05
man bekommt sie ja raus, aber indem man sie Komplett aus der Senderliste löscht!
Dann sind sie auch aus der Favoritenliste raus ohne Absturz.
Titel: Re: Programmabsturz bei Favoriten aus der Liste löschen ...
Beitrag von: jackjavo am 18 November, 2012, 16:50
@r*tsch*b**

tx, all data is stored at sqlite db. SmartDVB.db ('nd also smarteit.db with EPG data). You could edit smartdvb.db with sqlite editor/browser. Favs r stored at favorites table (need to look up the 'channelsid'
at the 'channels' table to see which fav u need to delete (coz u won't see the chn name at ´favorites´ table but it´s coupled on 'channelsid', this makes it also possible to add more favs for specific chn if u wonder why that is).

There r lots of sqlite editors, at recent times i used this one:
hxxp://sourceforge.net/projects/sqlitebrowser/

this is only a temp ugly (nd cumbersome) solution ofcourse for now but possible..

Titel: Re: Programmabsturz bei Favoriten aus der Liste löschen ...
Beitrag von: ritschibie am 18 November, 2012, 18:22
@yvmifi

Das war das richtige Rezept, da der Sender eh' den Transponder gewechselt hatte, war's in diesem Fall kein Aufwand den Sender ganz rauszulöschen! Danke!

@jackjavo

thx, this remembers me the time a few years ago that one could play with sqlite editors in a then famous plugin  ;D

Will try to delete something (as a workaround) with the editor later in the evening (right now I'm busy preparing some dinner  ;))
Titel: Re: Programmabsturz bei Favoriten aus der Liste löschen ...
Beitrag von: Jürgen am 19 November, 2012, 03:04
@ jackjavo
does progdvb do alike?
As far as I know, no.

At least I've never tried such there on, as a long time ago the author declared multiple audio as a Pro version only feature. Audio switching only by channel props default change then.
Same with HD, Pro only.
So I never found a reason to try .ts recordings there.
Some time later the recording function also was declared Pro only, and that was the moment I completely stopped supporting ProgDVB last autumn, after almost eight years.
These days, the free version allows HD, but still no recording, no DiSEqC, no nothing...
BS, that greedy one may GTH...
 

However, perhaps the timeshift routine may indeed be pretty helpful for a player.
Basically, stop writing there, change over from reading the normal timeshift file or RAM storage to an existing file, look for IDs there in, maybe allow selecting if not unique, play there.
As we can also scrub or jump through a timeshift file, pause it and alike, the basic playback features already do exist, more or less.

Regarding reading offline TXT from a .ts recording, my cheapo PVR ready receiver allows this.
It's a XORO HRS 8500 / 8520, and of course it also provides Audio selection at play time.
And it's files do play in WMP, but that one won't play AC3 over here, nor any audio track selection.
So if AC3 selected as default, like required for 28.2°E BBC to avoid the nasty audio description track, no Audio playing in WMP 12.

I am pretty sure, in the end a computer based DVB app should and surely could somehow be more capable than a receiver firmware, to compensate for the far higher energy consumption of the PC.
Of course this is not your fault, problem or duty, just my understanding of user interests.


Again, all this is no more than just my personal ideas ;)
For sure, I do severely regret not having learned anything about software programming.
Now I am an experienced mechanic and technician in my fifties, no more.
My understanding of logics generally won't exceed basic DTL and TTL functions  :-\


Best regards

Jürgen
Titel: Re: Programmabsturz bei Favoriten aus der Liste löschen ...
Beitrag von: jackjavo am 19 November, 2012, 11:02
how i see it just deliver data like a 'transponder' alike wud even allow current timeshift to be used without chnges (so timeshift with .ts file even, should be possible). Let's hope not too much bugs nd issues arrise from the current build i have here (i'm refraining to add more stuff atm coz i first need to see how current chnges affect the app, otherwise my fingers r itchng to do some tests for ts play)

considering my current situation here i'm also contemplating a pro version tbh (coz my thought of more opportunities due to smartdvb at this society, which w's also one of the reasons i acutally starting making this foolish thing (i thought i wud get at least job opportunities, silly me i guess),  have vanished onto thin air (nd like mentioned even the opposite h's occured). Otherwise i see no option to maintain this monetary at long run. But my thougt abt that is to keep the 'feed hunters' side like the free version ofcoz nd certainly not to make it crippled...

I wonder with todays tablets (who r already capable to run hd etc 'nd even already dvb-t etc) or even powerful nebooks, or phone's even at future perhps, if this power dem'nd might not turn a mute issue...
Titel: Re: Programmabsturz bei Favoriten aus der Liste löschen ...
Beitrag von: Jürgen am 20 November, 2012, 01:13
I wonder with todays tablets (who r already capable to run hd etc 'nd even already dvb-t etc) or even powerful nebooks, or phone's even at future perhps, if this power dem'nd might not turn a mute issue...
On the long term the tablets are supposed to make the big greedy PC's go obsolete, more or less.

And there is yet another class of computers coming up, mobile hardware based mini computers like the Raspberry Pi.
Performance is growing, same as with smartphones and tablets, and some of those could be used with quite normal OS, mainly Linux based ATM.
Even Windows may interfere seriously there with, one day.
Multi core CPUs coming up, ARM or whatever, really good hardware decoding already existing, HDMI, USB and LAN as well.
USB 3.0, SATA and Gigabit LAN may follow sooner or later.

So I am watching this developping, and possibly one day my ordinary PC may be exchanged against such a device, at least for all the every day stuff.
Means, the big machine would then only be used for video editing and transcoding, and for anything else that required enormous CPU power or special hardware or both, and of course for the notorious quick software testing...  
Perhaps one day both kinds of devices may even get merged into the same case, sharing (not just) screen and HIDs.
BTW, perhaps Win8 may (but for sure not must) open a door to cross platform programming.

However, I suppose all this won't happen tomorrow, so this also is no more than ideas ATM.
For the next few years we may still be stuck with the grand old PC system.
And this means, we will also have to carry on struggling with all it's old and new bugs and try to teach it even more new tricks...

I just would not encourage anyone, to put all his hope, energy and finances onto just one of that platforms, as no one in the world could tell for sure, what will happen throughout the next couple of years.
There is a high chance, some platforms might break apart or vanish, others may take over temporarily or for long, but also possible, some old but flexible system could survive several new ones, that come up in a hype and then suddenly get forgotten completely...

Meanwhile we have to live our lifes and simply do the best we can.
Step by step.

So I am ready for testing again ;)
Titel: Re: Programmabsturz bei Favoriten aus der Liste löschen ...
Beitrag von: jackjavo am 20 November, 2012, 13:02
@jurgen:
u have pm :).
yes i know how faith cn be, don't think i ever told that here but long time ago i used to program things like pocket-pc devices at job, nd sdvb somehwere's made with that in mind back then. I'm sure at that time (around 2000-2003) ms never thought things would turn out like they did with smrtphones etc (coz at that time they were like the only ones) otherwise they would not be running a catch-up game now. Although i do like w8 from what i've seen till now, seems to have decent performance (i've done tests with vmware, even video runs there now, don't think the renderers worked there ever, ofcourse fuzzy video but that don't matter fr tsts)...
regrds nd let's hope for not to much probs 'nd quicker fixes. I'm gonna take a rest now coz i've been quite busy with the updates recent weeks (it's quite a job to even finish what u know needs to be done under current bigot situation)
Titel: Re: Programmabsturz bei Favoriten aus der Liste löschen ...
Beitrag von: ritschibie am 20 November, 2012, 21:43
I'm really getting older and my brain too. Forgot to report about the results with the sqlite data browser for all those systems which have difficulties in deleting a fav station in smartdvb. Yes it works! After restarting smartdvb, I found the fav station deleted in the fav box. First I got no result but using the sqlite data browser with admin rights it worked.

The only difficulty for me is to get the channelsid. The SID for "das Erste HD" is 10301 according to KingofSat table. This SID is not showing up in the SQlite data browser under "favorites". Can you give a hint please?

Ritschie
Titel: Re: Programmabsturz bei Favoriten aus der Liste löschen ...
Beitrag von: yvmifi am 20 November, 2012, 22:55
Ich habe auch mal mit dem sqlite data browser Sender aus der Fovoritenliste gelöscht>>> ist sehr mühsam, da die Sendernahmen unter Favoriten nicht angezeigt werden, aber wenn man sich die Channelcid merkt, dann kann man auch einzelne Sender herausnehmen. Vielleich bekommt es jackjavo hin,dass man auch die Sendernahmen sieht.dann ist das ech eine Alternative. Auch hab ich probehalber mal einen ganzen Sateliten gelöscht und es klappte prima und die daten waren alle weg.

yvmifi
Titel: Re: Programmabsturz bei Favoriten aus der Liste löschen ...
Beitrag von: Jürgen am 20 November, 2012, 23:46
@ jackjavo

you have PM, too.

Now I have to read through a lot of history most carefully ;)
Titel: Re: Programmabsturz bei Favoriten aus der Liste löschen ...
Beitrag von: ritschibie am 21 November, 2012, 00:38
aber wenn man sich die Channelcid merkt, dann kann man auch einzelne Sender herausnehmen.
Das ist mein Problem: Die Channelsid (SID) für das "erste HD" ist lt. KingofSat 10301. Im Sqlite data browser taucht diese SID unter "Favoriten" gar nicht auf. Wie soll ich da rauskriegen, was für eine channelsid "das Erste HD" hat?
Titel: Re: Programmabsturz bei Favoriten aus der Liste löschen ...
Beitrag von: yvmifi am 21 November, 2012, 00:49
den Channelsid den ich meine der ist doch in der Channelliste im sqlite data browser zu finden da sind doch die Sendernamen drin und fast vorne sind
die Channelsids bei ADR-HD findest du die auch
Titel: Re: Programmabsturz bei Favoriten aus der Liste löschen ...
Beitrag von: jackjavo am 21 November, 2012, 09:32
@r*tsc*b**:
yvm*f* is right, 'channelsid' is different then SID which u'll see at kingofsat etc, it's simply sqlite table row-id (key) let's say (you shud be able to see all with sqlite browsers).
Titel: Re: Programmabsturz bei Favoriten aus der Liste löschen ...
Beitrag von: ritschibie am 21 November, 2012, 11:50
thx yvmifi and jackjavo

But the problem is still there. If you open the sqlite browser and search under "channels" the smartdvb.db you'll find "Das Erste HD" (in my case row nr. 3269 of 3296 in total - grrr) and you will get as "sid" 10301 (exactly the SID from KingofSat!!!). I then figured out that maybe the row number could be the "channelsid" but I found no corresponding nr. in the "favorites" table.

@yvmifi
Wo hast Du denn die "channelsid" im browser gefunden? Die zweide Reihe hat ja die Überschrift "sid", aber da werden die SID's (aus u.a. KingofSat) aufgeführt. Die Zeilennummer in "channels" entspricht ja auch nicht der "channelsid"  ??? ??? ???
Titel: Re: Programmabsturz bei Favoriten aus der Liste löschen ...
Beitrag von: jackjavo am 21 November, 2012, 12:35
@r*tsch*b**: u shud look at CKEY with channels table (so the channelsid at favorites is ckey at channels, which is primary key fr chnnels table, forget abt SID)..
Titel: Re: Programmabsturz bei Favoriten aus der Liste löschen ...
Beitrag von: yvmifi am 21 November, 2012, 12:43
@ritschibie

Wenn ich heute abend nach Hause komme,dann sag ich es dir.Hätte es ja Gestern schon reinschreiben können,aber
wahr wohl schon etwas schläfrig!!
Titel: Re: Programmabsturz bei Favoriten aus der Liste löschen ...
Beitrag von: ritschibie am 21 November, 2012, 15:49
@jackjavo: Yeah, that was the "missing link" thx  :) ...but you're right this procedure is quite time consuming ...a workaround in any case. Still wondering why some people are able to delete it right away (like Jürgen) and others not  ???

@yvmifi
Danke, hat sich durch jackjavo's Angabe erledigt und funzt  :)
Titel: Re: Programmabsturz bei Favoriten aus der Liste löschen ...
Beitrag von: Jürgen am 22 November, 2012, 05:54
Still wondering why some people are able to delete it right away (like Jürgen) and others not  ???
So am I.
Just proved this again, deleted another favourite from the list on the latest release version, directly from the context menue.
Also working fine on the non-public alpha.

BTW, I did not try any external editor on my (recent) channel database yet.