-
Notifications
You must be signed in to change notification settings - Fork 345
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow IPTV m3u channel importing to insert channels with decimals, such as "2.1" or "23.11" #860
Comments
Yes, I see the problem. This feature was developed and tested with a European HDHomeRun and there the channel numbers are just integers... I think that copying the channel number as a string might just work for both Europe and US. I will have a look at it. |
Allow IPTV m3u channel importing from HDHomeRun tuners to insert channels with decimals, such as "2.1" or "23.11" The validation of HDHomeRun channel numbers is changed to allow any non-empty string as channel number instead of only an integer number. Refs #860
The fix has been tested on a European HDHomeRun and with the lineup.m3u file attached to this ticket but not yet wth a real USA HDHomeRun. The plan is to backport this fix to v34 in a few days when there are no problems reported. |
Thanks for such a quick fix! |
Is your feature request related to a problem? Please describe.
When importing lineup.m3u from a HDHomeRun device, the channel-number field includes channels such as
channel-number"2.1"
. These channels are then created in the databasechannel
table with an integer in thechannum
column. This makes matching SchedulesDirect lineups difficult (tv_grab_zz_sdjson_sqlite), aschannum
does not match the<number>
output bytv_grab_zz_sdjson_sqlite
.I think this may be because
mythtv/mythtv/libs/libmythtv/channelscan/iptvchannelfetcher.cpp
Line 537 in 8bb0dcd
int channel_number = channum.toInt (&ok);
though I can't be sure.See lineup.m3u.txt
Describe the solution you'd like
I'd like to see the
channum
column contain thechannel-number
output from the m3u file.Describe alternatives you've considered
I run
UPDATE channel SET channum=LEFT(callsign,LOCATE(' ',callsign) - 1);
before runningto get SchedulesDirect data to match properly.
The text was updated successfully, but these errors were encountered: